User Guide
DDOC0108-000-A2
CNS4 CSfC
7 - 3
System Configuration
Revision 0.0
7.3
file
Purpose
Allocate a target image file on a mounted NAS volume
Command
sysconfig --file <nas volume #> <image file name> <image size>
Flag Modifiers Explanation
<NAS volume #> - NAS volume number. 0 to n
<image file name> - Name of target image file on NAS volume.
<image size> - Image size specified in MiB, MB, GiB, GB, TiB or TB.
Example
7.4
format
Purpose
Format NAS partition(s)
Command
sysconfig --format <# | ## | all>
Flag Modifiers Explanation
# - single NAS disk volume number
# # - <# #> two or more NAS disk volumes
all - all NAS disk volumes
Example
cns>
sysconfig --file 0 file1.img 10GiB
[sysconfig]
DiskConfig:
Raid_disks: numDisk=4
Disk0: name=fsm0-d0 size=512GB
Disk1: name=fsm0-d1 size=512GB
Disk2: name=fsm0-d2 size=480GB
Disk3: name=fsm0-d3 size=512GB
Raid_volumes: numDisk=1
Raid0: name=fsm_raida level=0 size=2016GB numDisk=4 disk=fsm0-d0 \disk=fsm0-d1
disk=fsm0-d2 disk=fsm0-d3
Partitions: numPartitions=6
Part0: name=fsm_raida size=322629MB pSize=16.00% dp=1 numServ=1 \sName=fsm_nas0
fmt=ext4 mnt=1 enb=0
Part1: name=fsm_raida size=322630MB pSize=16.00% dp=2 numServ=1 \sName=fsm_nas1
fmt=ext4 mnt=1 enb=0
Part2: name=fsm_raida size=342794MB pSize=17.00% dp=3 numServ=1
\sName=Unconfigured
Part3: name=fsm_raida size=342794MB pSize=17.00% dp=4 numServ=1
\sName=Unconfigured
Part4: name=fsm_raida size=342794MB pSize=17.00% dp=5 numServ=1 \sName=iSCSI0_L0
enb=0
Part5: name=fsm_raida size=342794MB pSize=17.00% dp=6 numServ=1 \sName=iSCSI1_L0
enb=0
Device_partitions: numServ=3
NAS: num_part=2 part=0 part=1
iSCSI0: num_part=1 part=4
iSCSI1: num_part=1 part=5
Image_files:
Vol0: numFiles=1 name=file1.img size=10737MB
[sysconfig] OK
cns>
sysconfig --format all
[sysconfig]
FSM_NAS0: cmd=format status=OK
FSM_NAS1: cmd=format status=OK
[!sysconfig] OK