PRIMECLUSTER Global File Services Configuration and Administration Guide 4.1 (Solaris(TM) 10 Operating System) |
Contents
Index
![]() ![]() |
Chapter 11 File System Operations (Command) | > 11.6 Change (re-creating a file system) |
To re-create the file system, use mkfs_sfcfs(1M). You can recreate the file system in the same configuration as before without having to delete it, using mkfs_sfcfs(1M) with the "-o force" option. Execute the command on any one of the nodes where the file system is shared.
For details on the mkfs_sfcfs(1M) options, see mkfs_sfcfs(1M).
The following is an example of using mkfs_sfcfs(1M) to re-create a file system with a single partition.
# mkfs_sfcfs -F sfcfs -o force,node=mikan,karin /dev/sfdsk/gfs01/rdsk/volume01 <Enter> Representative partition (meta-data, log, and data): /dev/sfdsk/gfs01/rdsk/volume01 Shared hosts: mikan, karin Primary MDS: mikan Secondary MDS: karin |
When the file system is re-created, data of the previous file system will be deleted. Back up your data if necessary.
Contents
Index
![]() ![]() |