PRIMECLUSTER Global File Services Configuration and Administration Guide 4.2 (Solaris(TM) Operating Environment) |
Contents Index |
Appendix F Reference Manual | > F.2 Management Commands Specific to the GFS Shared File System |
sfcgetconf backupfile
sfcgetconf -a backupfile
sfcgetconf -i fsid [ -i fsid ] backupfile
sfcgetconf -d raw_device_file [ -d raw_device_file ] backupfile
The sfcgetconf command outputs next items to backupfile:
The output backup file contains the procedure for executing the sfcadm(1M) command in the sh(1) shell script Format.
Management partition recovery is done using the script output by sfcgetconf(1M) after the management partition has been initialized with the sfcsetup(1M) command.
The following options can be specified:
-a
Outputs the contents of sfcfsrm.conf to the first part of the backup file in the form of comments. (The output for no -a option will follow.)
-i fsid
When you specify this option (not for the all the file systems), only the information for the file system corresponding to the value specified in fsid, and the procedure for executing the sfcadm(1M) command that re-creates the information in the management partition for that file system, are output.
-d raw_device_file
Specifies the character device containing the partition that configures the file system. When you specify this option (not for all file systems), only the information for the file system corresponding to the specified device, and the procedure for executing the sfcadm(1M) command that re-creates the information in the management partition for that file system, are output.
The following operands can be specified:
backupfile
Specifies the name of the output destination file. When the output destination file already exists, backup is not performed.
When a backup of the entire file system is to be output to file sfccfg.bkup.1.
# sfcgetconf sfccfg.bkup.1
When the contents of the sfcfsrm.conf file are to be recorded at the head of the backup file, and the backup for the entire file system is to be output to sfccfg.bkup.2.
# sfcgetconf -a sfccfg.bkup.2
When backups of the file systems corresponding to fsid values 4, 5, and 6 are to be output to sfccfg.bkup.3.
# sfcgetconf -i 4 -i 5 -i 6 sfccfg.bkup.3
When backups of the file system corresponding to fsid value 4, and the settings for file system corresponding to /dev/sfdsk/gfs/rdsk/volume1 are to be output to sfccfg.bkup.4.
# sfcgetconf -i 4 -d /dev/sfdsk/gfs/rdsk/volume1 sfccfg.bkup.4
/var/opt/FJSVsfcfs/sfcfsrm.conf
Environment file of sfcfrmd daemon
Contents Index |