You are on page 1of 4

Naviseccli commands Create a Raid group Naviseccli h <sp> createrg 16 0_0_5 0_0_6 0_0_7 rm yes pri high raidtype

16 -rm: remove raid group when last LUN is destroyed -pri: expansion/defrag priority Raidtype: 1, 1/0, 6,3,5 and hotspare N.B If no Raid group specified the group will show as unbound Create Pool Naviseccli h <sp> storagepool type thin create disks Rtype: raid type Destroy pool command Naviseccli h <sp> storagepool destroy id 0 Create LUN Naviseccli h <sp> bind r5 3 rg 0 rc 1 wc 1 -sq mb -cap 250 R5: raid type 5 Wc 1: enable write cache Rc 1: Enable read cache -sq : size qualifier Cap: Capacity View LUN information Naviseccli h <sp> getlun 0 element Optional flags: 1) Element: Display element size of the LUN 2) Capacity: shows the LUN capacity 3) crus: shows the physical disks that make up this LUN and their status 1_0_10 1_0_11 1_0_12 rtype r5

N.B if lun is meta LUN use -metalun list command Turn on compression for traditional LUNS Naviseccli h <sp> compression on l [LUN number] rate [high, medium, low] Turn on compression for pool LUN Naviseccli h <sp> compression on l [LUN number] destPoolid [id] destPoolName[ storage poolname] rate [high, low,medium] Turn off compression Naviseccli h <sp> compression off l [LUN number] o Unbind LUN Naviseccli h <sp> unbind 16 Create a thin LUN Naviseccli h <sp> ThinLun create capacity [10] thin lun 1] View Thin LUN status Naviseccli h <sp> thinlun list l [ LUN Number] -status Values returned 1) 2) 3) 4) 5) Logical unit number: LUN number Name: Status Is faulted Is transitioning sq gb -poolid 0 -sp SPB -l [LUN number] name[

Destroying thin LUN Naviseccli h <sp> thinlun destroy -l [LUN Number] Disabling Access logics: Naviseccli h <sp> -sc_off View SP port info (Display info about each HBA s connected to SP ports) Naviseccli h <sp> port -list

1) 2) 3) 4)

WWN of HBAs SP ports ( WWN) Initiator type (iSCSI or FC HBA) SG name

Register host command (Register the host and its HBA to the storage system) Naviseccli h <sp> server register host <hostname> -list Create storage group Naviseccli h <sp> storagegroup create gname (SG name) Show info about that Storage group Naviseccli h <sp> storagegroup -list gname<storagegroupname> a) b) c) d) e) Storage group name Storage group UID WWPN of storage system ports assigned to host (s) SP HLU and ALU

Add LUN to a storage group Naviseccli h <sp> storagegroup -addhlu -gname <SGname> -hlu 51 alu 9 Connect host to SG Naviseccli h <sp> storagegroup -connecthost -host <hostname> -gname <SGname> Disable access logics Naviseccli -h <sp> sc_off Start migration Naviseccli h <sp> migrate -list Cancel migration naviseccli h <sp> migrate cancel -source [LUNid / WWN] Create expand meta Naviseccli -h <sp> metaLUN -expand -base <baselunid> -lus< EXPANSION LUNS> - type <c,s>

C: concatenation

S: Stripping View meta LUN info Naviseccli -h <sp> metaLUn -info Modify metaLUN Naviseccli - h <sp> metaLUN -modify - metalun <number> (options) 1) 2) 3) 4) Expand size of meta lun Change name Change default owner Change expansion rate

Destroy meta LUN Naviseccli -h < sp> metalun -destroy -metalun [number] Shrink LUN Naviseccli -h <sp> chgLUN -l [LUN NUMBER] [-sq TB/MB/GB/BC] -shrink to <capacity>

You might also like