User Guide
DDOC0108-000-A2
CNS4 CSfC
7 - 1
System Configuration
Revision 0.0
System Configuration
The system configuration command (sysconfig) is used to either:
•
View the system configuration
•
Create or modify the system configuration
Refer to Table 7.1 for a list of flags and options associated with the sysconfig command.
Table 7.1
Sysconfig Flags and Options
Flag
Modifier
Action
--add
<options>
Add spare / replace disk in RAID
-A
--all
Show all fields even empty ones
--file
<options>
Allocate a target image file on a mounted NAS volume
-F
--format
<#|# #|all>
Format NAS partition(s)
--free
<options>
Free partition not used for service
-K
--fsck
<#|# #|all>
File system check one or more NAS partitions
--fsep
"char"
Specify field separation character for single line machine output
--getDevName
<str>
Get device name of specified NAS volume
--getFreeDisks
Get list of unconfigured disks
--getNfsOpt
Get current NFS export flags
-h
--help
Show sysconfig help file
-L
--hide
Hide most of the field labels
--iscsi0
<options>
iSCSI on assigned partition using GBE0
--iscsi1
<options>
iSCSI on assigned partition using GBE1
--iscsi2
<options>
iSCSI on assigned partition using GBE2
--iscsi3
<options>
iSCSI on assigned partition using GBE3
--isMounted
<VID>
Check to see if NAS volume is mounted
-M
--mount
<#|# #|all>
Mount partition(s) as NAS
--multi
Used with assign services flag to allow multiple services to use the same
partition
--nas
<options>
Network attached storage
--numFreeDisks
Get number of free disks
--numFsmDisks
Get total number of disks
--numPartitions
Get total number of partitions
--part
<options>
Create partition(s) on specified FSMs
--raid
<L> <options> Create RAID across specified FSMs
--raidStatus
Display status of each RAID in the system
--remove
<options>
Remove spare defective disk from a raid
--rescan
Rescan SATA hosts for FSM connections
--scan
Delete and then scan for FSM connections
--setNfsOpt
<options>
Set NFS export flags
-S
--status
Show disk, partition, and service configuration
--sw
Generate single line machine output
-T
--trim
<#|# #|all>
Trim one or more mounted NAS partitions
-U
--umount
<#|# #|all>
Unmount NAS partition(s)
--verb
Generate verbose output
--version
Show software version
-E
--wipe
Wipe RAID and partition data from all disks
--wrap
<1, 0>
Word wrap text to screen
-W
--writecfg
Write system configuration to disks