User Guide
DDOC0108-000-A2
CNS4 CSfC
11 - 38
Command Line Interface
Revision 0.0
11.2.26
sysconfig
NOTE
Refer to
section for additional information regarding the sysconfig
command.
Syntax
[ -h [1|2] | --help # | --version | --scan | --rescan | --status ]
[ --numFreeDisks | --numFsmDisks | --numPartitions ]
[ --getDevName <vid> | --getFreeDisks | --isMounted <vid> ]
[ --verb | --all | --hide | --sw | --fsep "char" | --wipe ]
[ --writecfg | --mount <#|# #|all> | --umount <#|# #|all> ]
[ --trim <#|# #|all> | --fsck <#|# #|all> | --format <#|# #|all> ]
[ --setNfsOpt <options> | --getNfsOpt ]
[ --part <options> | --raid<L> <options> ]
[ --add <options> | --remove <options> | --raidStatus ]
[ --nas <options> | --iscsi0 <options> | --iscs1 <options> ]
[ --iscsi2 <options> | --iscsi3 <options> ]
[ --free <options> | --multi | --file <options> ]
Description
The sysconfig command allows the user to view and alter the CNS disk and system configuration.
Options
--help, -h [1|2|1 2] ......................Show help. Add 1 and/or 2 for additional help.
1=Additional detail on status and raid config.
2=Detailed command and response descriptions.
--version ....................................Show software version.
--scan ........................................Delete and then scan for FSM connections.
--rescan.....................................Rescan sata hosts for FSM connections.
--status, -S.................................Show system status. Default action if no flags.
--numFreeDisks.........................Get number of free disks.
--numFsmDisks .........................Get total number of disks.
--numPartitions..........................Get total number of partitions.
--getFreeDisks...........................Get list of unconfigured disks.
--getDevName <NAS vol #>......Get device name of specified NAS volume.
--isMounted <NAS vol #> ..........Check to see if NAS volume is mounted. <NAS vol #> NAS disk
volume id number 0 to number of fsm_nas? disk volumes.
--verb.........................................Generate verbose output.
--all, -A.......................................Show all fields even empty ones.
--hide, -L....................................Hide most field labels.
--wrap [0|1] ................................Word wrap text to screen. 0=no wrap 1=wrap def=0
--sw ...........................................Generate single line machine output.
--fsep "<char>" ..........................Specify field separation character for single line machine output.
when used --sw or --fsep should be the first argument.
--wipe, -E .................................Wipe raid and partition data from all disks.
--writecfg, -W ............................Write system configuration to disks.