Skip Navigation Links | |
Exit Print View | |
Sun QFS File System 5.3 Configuration and Administration Guide Sun QFS and Sun Storage Archive Manager 5.3 Information Library |
2. About the Master Configuration File
4. Configuring the File System
How to Create a Round-Robin Disk Configuration
How to Create a Striped Disk Configuration
How to Create a Striped Group Configuration
5. Configuring a Shared File System
6. Administering File System Quotas
7. Advanced File System Topics
9. Configuring WORM-FS File Systems
11. Using QFS File Systems with SANergy (SAN-QFS)
To create a new file system or to replace an old or damaged file system, use the sammkfs(1M) command to initialize the file system. The sammkfs command constructs and initializes file systems.
Note - Beginning with Sun QFS 5.0, the sammkfs command creates a version 2A file system that has new features but is not compatible with previous releases. Use the sammkfs -P format to create a version 2 file system that is backwards compatible with previous releases. Use the sammkfs -a allocation-unit option to specify the DAU setting.
The following samfsinfo command output shows that the samfs1 file system is using a version 2 superblock.
# samfsinfo samfs1 name: samfs1 version: 2 time: Wed Feb 21 13:32:18 1996 count: 1 capacity: 001240a0 DAU: 16 space: 000d8ea0 ord eq capacity space device 0 10 001240a0 000d8ea0 /dev/dsk/c1t1d0s0
The following example shows the sammkfs command in its simplest form, with the file system name as its only argument. This command builds a version 2A superblock for a stand-alone Sun QFS or SAM-QFS file system.
# sammkfs samqfs1
For more information about the sammkfs command, its options, and the implications of the version 2 and 2A superblocks, see the sammkfs(1M) man page. For information about using the sammkfs command to initialize a shared Sun QFS file system, see Chapter 5, Configuring a Shared File System.