Commonly used command line options are listed below. Executing a command without any parameters lists the full usage of for the command.

Storage pool configuration

List configured pools

/quadstorvtl/bin/spconfig -l
Or
/quadstorvtl/bin/spconfig --list

Add a pool

/quadstorvtl/bin/spconfig -a -g <pool name> -d (enable deduplication) -u (enable dedupe metadata)

For example

/quadstorvtl/bin/spconfig -a -g Pool1 -d 
Or
/quadstorvtl/bin/spconfig --add --pool=<pool name> --enable-dedupe

The above command will create a pool named 'Pool1' with deduplication enabled for data in the pool. The deduplication tables for this pool are maintained in the Default pool

Other options are 
--enable-dedupe-metadata : Pool maintains its own deduplication tables. Its recommended that the Default pool maintain the deduplication tables 
--enable-verify : Enable byte-per-byte verification of possible duplicate data. 
--worm=1 : Enable WORM for vcartridges created in the pool 
--worm=0 : Diable WORM for vcartridges created in the pool (Default) 
--auto-replicate=1 : Enable automatic replication of unmounted or ejected vcartridges 
--auto-replicate=0 : Disable automatic replication of unmcounted or ejected vcartridges (Default) 
--auto-export=1 : Enable automatic export to physical tape for ejected vcartridges 
--auto-export=0 : Disable automatic export to physical tape for ejected vcartridges (Default)

Delete a pool

/quadstorvtl/bin/spconfig -x -g <pool name>
/quadstorvtl/bin/spconfing --delete --pool=<pool name>

Physical storage configuration

List all disks

/quadstorvtl/bin/bdconfig -l

Listing all configured disks

/quadstorvtl/bin/bdconfig -l -c

Listing all disks excluding configured disks

/quadstorvtl/bin/bdconfig -l -e

Add a disk

/quadstorvtl/bin/bdconfig -a -d <devicepath> -g <pool name>
Where <devicepath> is the value listed under the "Name" column in the output of a bdconfig -l 

For example

/quadstorvtl/bin/bdconfig -a -d /dev/sda adds /dev/sda to the Default pool

Remove a configured disk

/quadstorvtl/bin/bdconfig -x -d <devicepath>

VTL Configuration

Display VTL emulation type codes

Every medium changer device and tape drive emulated has a type code assigned by the system. /quadstorvtl/bin/vtconfig –h displays the type code assigned and is as shown below

Library Types
Type Description
01 ADIC Scalar 24
02 ADIC Scalar 100
03 ADIC Scalar i2000
04 HP StorageWorks ESL9000
05 HP StorageWorks ESL E-Series
06 HP StorageWorks EML E-Series
07 IBM 3583 Ultrium Scalable Library
08 IBM 3584 Ultra Scalable Library
09 IBM System Storage TS3100
10 HP StorageWorks MSL 2024/4048/8096
11 HP StorageWorks MSL 6000
12 Overland NEO 2000/4000/8000 Series
13 StorageTek L20 Library
14 StorageTek L40 Library
15 StorageTek L80 Library
16 StorageTek L120 Library
17 StorageTek L180 Library
18 StorageTek L700 Library
19 StorageTek L1400/700e Library
20 StorageTek SL150 Modular Library
21 StorageTek SL500 Modular Library
22 StorageTek SL3000 Modular Library
23 StorageTek SL8500 Modular Library
24 SpectraLogic 2K/TreeFrog Library
25 SpectraLogic 12/20/64K Library
26 SpectraLogic T24 Library
27 SpectraLogic T-Series Library
28 Quantum/ADIC Scalar 50
29 Quantum/ADIC Scalar i40/80 Series
30 Quantum/ADIC Scalar i500
31 Quantum/ADIC Scalar i6000
32 ATL M1500
33 ATL M2500
34 ATL P1000
35 ATL P2000
36 ATL P3000
37 ATL P4000
38 ATL P7000
39 Quantum PX500 Series
40 Quantum PX720
Drive Types
Type Description
01 HP StorageWorks DLT VS80
02 HP StorageWorks DLT VS160
03 HP StorageWorks SDLT 220
04 HP StorageWorks SDLT 320
05 HP StorageWorks SDLT 600
06 Quantum SDLT 220
07 Quantum SDLT 320
08 Quantum SDLT 600
09 HP StorageWorks Ultrium 232
10 HP StorageWorks Ultrium 448
11 HP StorageWorks Ultrium 460
12 HP StorageWorks Ultrium 960
13 HP StorageWorks Ultrium 1840
14 HP StoreEver Ultrium 3280
15 HP StoreEver Ultrium 6250
16 IBM 3580 Ultrium1
17 IBM 3580 Ultrium2
18 IBM 3580 Ultrium3
19 IBM 3580 Ultrium4
20 IBM 3580 Ultrium5
21 IBM 3580 Ultrium6
22 StorageTek T9840A
23 StorageTek T9840B
24 StorageTek T9840C
25 StorageTek T9840D
26 StorageTek T9940A
27 StorageTek T9940B
28 StorageTek T10000A
29 StorageTek T10000B
30 StorageTek T10000C
31 Quantum DLT VS80
32 Quantum DLT VS160

Adding a VTL

/quadstorvtl/bin/vtconfig -a -v <vtl name> -t <type> -s <number of slots> -i <number of ie ports> -d <drive type> -c <drive count> -d <drive type> -e <drive start address> -f <slot start address>

In the above command type and drive type will be the library and drive type codes. Slot count is optional and if slot count is zero or not specified, the system will calculate the number of slots based on the drive type and the available space in the storage pool. The default drive start address of 1 and slot start address of 2 will be used if these values are not specified.

Deleting a VTL

/quadstorvtl/bin/vtconfig –x –v <vtl name>

Enabling deduplication

/quadstorvtl/bin/vtconfig -m -v <vtl name> -e 1

Disabling deduplication

/quadstorvtl/bin/vtconfig -m -v <vtl name> -e 0

Vcartridge Configuration

Vcartridge emulation type codes

/quadstorvtl/bin/vcconfig –h
Type Description
03      DLT IV 40GB                         
04      VSTape 80GB                         
05      SuperDLT I 110GB                    
06      SuperDLT I 160GB                    
07      SuperDLT II 320GB                   
08      LTO 1 100GB                         
09      LTO 2 200GB                         
10      LTO 3 400GB                         
11      LTO 4 800GB                         
12      LTO 5 1500GB                        
13      LTO 6 2500GB                        
14      LTO 7 6000GB                        
15      T9840A 20GB                         
16      T9840B 20GB                         
17      T9840C 40GB                         
18      T9840D 75GB                         
19      T9940A 60GB                         
20      T9940B 200GB                        
21      T10000A 500GB                       
22      T10000A 1000GB                      
23      T10000C 5000GB                      
24      T10000D 8500GB                                          
26      LTO 8 12000GB   

Adding a vcartridge

/quadstorvtl/bin/vcconfig -a -v <vtl name> -g <pool name> -p <label/prefix> -t <vcartridge type> -c <count>

Deleting a vcartridge

/quadstorvtl/bin/vcconfig -x -v <vtl name> -p <label>

Enable WORM

/quadstorvtl/bin/vcconfig -v <vtl name> -p <label> -w 1

Disable WORM

/quadstorvtl/bin/vcconfig -v <vtl name> -p <label> -w 0

Unvault a vcartridge

/quadstorvtl/bin/vcconfig -v <vtl name> -p <label> -p  -u
Or
/quadstorvtl/bin/vcconfig --vtl=<vtl name> --label=<label> --unvault

Load (mount) a vcartridge

/quadstorvtl/bin/vcconfig --vtl=<vtl name> --label=<label>  --driveid<vtl drive id> --loaddrive=1
Each VTL drive is assigned an ID starting from 1

Unload (unmount) a vcartridge

/quadstorvtl/bin/vcconfig --vtl=<vtl name> --label=<label>  --driveid<vtl drive id> --loaddrive=0