Volume Creation and Administration
1.Create Volume "v_ryu"
#vol create <vol-name> { [-l <language-code>] [-s {none | file | volume}] <hosting-aggr-name><size>[k|m|g|t]
Above you can see the help for the command and the different options
#vol create v_ryu -l C aggr0 100g
2.Deactivate snapshot in the volume "v_ryu"
#vol options v_ryu nosnap on3.Deactivate snapdirectory for the snapshot
#vol options v_ryu nosnapdir on4.Delete snapshot reservation to zero (No snap will be taken)
#snap reserve -V v_ryu 05.Verify that snapshot reservation is not activated
#snap reserve v_ryuVolume v_ryu: current snapshot reserve is 0% or 0 k-bytes.
6.Resize the volume dinamically
vol size <vol-name> [[+|-]<size>[k|m|g|t]]#vol size v_ryu +20g
Destroy Volume
1.Put offline the volume" v_ryu"
#vol offline v_ryu
2. Destroy the volume
#vol destroy /vol/v_ryu
Create a LUN with Volume v_ryu for Windows across ISCSI
Create Lun with the volume generate in the first step
#lun create -s 20g -t windows /vol/v_ryu/ryu
2. Verify the new LUN device generated
#lun show /vol/v_ryu
3. In this case the Windows administrator will generate the initiator from server side and with that information add the server to it
#igroup -i -t windows banco iqn.1992-05.com.microsoft:maquina
4. Verify that "banco" is generated correctly in the filer (Netapp)
#igroup show banco
5.Perform a Lun Map in this case due to is the first server the igroup "banco" is associated to the zero "0"
# lun map /vol/v_cantv_banavih/banavih banco 0
LUN MAP across Fiber Channel for Solaris
1.Create LUN
#lun create -s 20g -t ntfs /vol/v_solaris_XXX/XXX
2. Create initiator group for FC
#igroup -f -t nfs triplexxx 0
3.Perform the LUN Map
#lun map /vol/v_solaris_XXX/XXX triplexxx 0
Comments