User Guide
DDOC0108-000-A2
CNS4 CSfC
11 - 14
Command Line Interface
Revision 0.0
11.2.10
fsmdiskstatus
Syntax
fsmdiskstatus [-h |
--
help |
--
version]
fsmdiskstatus
Description
The fsmdiskstatus command displays FSM-C NAS partition status and usage.
Options
-h,
--
help............................ Print help message.
--
version ............................ Print program version.
Responses
FSM_X ................................ <status>
<status> .............................. Status <enum> (NA, NRDY)
FSM_NAS ........................... [psize] [mounted] [size] [used] [avail] [used%] <status>
FSM_NAS .......................... NAS partition on FSM-C Software RAID
[psize].................................. FSM-C NAS partition size <str> (ex. 500G)
[mounted] ............................ FSM-C NAS mounted <bool> (0,1)
[size].................................... NAS Filesystem size <str> (ex. 50G)
[used] .................................. Used Filesystem space <str> (ex. 500M)
[avail]................................... Available Filesystem space <str> (ex. 22G)
[used%] ............................... Filesystem used percentage <int> (0 to 100)
<status> .............................. Status <enum> (OK, ERR "<str>")
iSCSIy_Ln ........................... [psize] [is_tgt_en] <status>
iSCSIy_Ln ........................... iSCSI target on FSM-C using ethernet port y
(y = CNS Gibabit ethernet port used )
(n = lun number. 0 to number of targets on this port)
[psize].................................. iSCSI target partition size <str> (ex. 500G)
[is_tgt_en]............................ iSCSI target enabled 1=enable 0=disables
<status> ............................. Status <enum> (OK, ERR "<str>")
INVALID .............................. <status>
INVALID .............................. Command parameter(s) or Unit state invalid
<status> .............................. Status <str> (ERR "<str>")
ERROR ............................... <status>
ERROR ............................... Critical error has occurred
<status> .............................. Status <str> (ERR "<str>")
Example 1
Example 2
Example 3
cns>
fsmdiskstatus
[fsmdiskstatus]
FSM_NAS0: psize=1000G mounted=1 size=932G used=2.4G avail=929G used%=1% status=OK
FSM_NAS1: psize= 100G mounted=1 size=93G used=251M avail=93G used%=1% status=OK
FSM_NAS2: psize= 200G mounted=1 size=187G used=251M avail=186G used%=1% status=OK
FSM_NAS3: psize=1024G mounted=1 size=954G used=77M avail=954G used%=1% status=OK
iSCSI0_L0: psize=1000G is_tgt_en=0 status=OK
iSCSI0_L1: psize= 300G is_tgt_en=0 status=OK
iSCSI0_L2: psize=1024G is_tgt_en=0 status=OK
iSCSI1_L0: psize= 400G is_tgt_en=0 status=OK
[!fsmdiskstatus] OK
cns>
fsmdiskstatus
[fsmdiskstatus]
FSM_1: status=NRDY
[!fsmdiskstatus] OK
cns>
fsmdiskstatus --sw --fsep "#"
[fsmdiskstatus]
# FSM_NAS0: # psize=2048G # mounted=0 # status=OK #
[!fsmdiskstatus] OK