Skip Navigation Links | |
Exit Print View | |
![]() |
Sun QFS and Sun Storage Archive Manager 5.3 Installation Guide Sun QFS and Sun Storage Archive Manager 5.3 Information Library |
1. About Sun QFS and Sun Storage Archive Manager
4. Release Package Contents, Directories, and Files
5. Installing Sun QFS and SAM-QFS
6. Installing and Configuring SAM-QFS Manager
7. Configuring the File System Environment
8. Setting Up Mount Parameters and Initializing the File System Environment
Updating the /etc/vfstab File and Creating the Mount Point
How to Update the /etc/vfstab File and Create the Mount Point
How to Create and Edit the samfs.cmd File (SAM-QFS Manager)
Manually Creating and Editing the samfs.cmd File
9. Backing Up SAM-QFS Data and Files
10. Upgrading Sun QFS and SAM-QFS
11. Uninstalling the SAM-QFS Manager Software
12. Installing Sun QFS and Sun Storage Archive Manager -- Quick Start
This section tells you how to initialize the environment and the file system, and how to mount the file system.
To initialize the archiving and file system environment, issue the following command:
# samd config
Use the sammkfs command to initialize a file system for each family set name defined in the mcf file.
![]() | Caution - Running the sammkfs command creates a new file system. It removes all references to the data that is currently contained in the partitions associated with the file system in the /etc/opt/SUNWsamfs/mcf file. |
The sammkfs command sets one tuning parameter, the disk allocation unit (DAU). You cannot reset this parameter without reinitializing the file system. For information about how the DAU affects tuning, see File Allocation Methods in Sun QFS File System 5.3 Configuration and Administration Guide and sammkfs(1M) in Sun QFS and Sun Storage Archive Manager 5.3 Reference Manual.
The following example shows the command to initialize a file system with the family set name of samfs1.
# sammkfs samfs1 sammkfs: Configuring file system Building "samfs1" will destroy the contents of devices: /dev/dsk/c2t0d0s3 /dev/dsk/c2t0d0s7 Do you wish to continue? [y/N] y total data kilobytes = 16777728 total data kilobytes free = 16777152 #
The actual numbers that are returned by the sammkfs command vary from file system to file system.
The mount command mounts a file system and reads the /etc/vfstab and samfs.cmd configuration files. See mount_samfs(1M) in Sun QFS and Sun Storage Archive Manager 5.3 Reference Manual.
The File Systems Summary page appears.
The mount command mounts a file system and reads the /etc/vfstab and samfs.cmd configuration files. See mount_samfs(1M) in Sun QFS and Sun Storage Archive Manager 5.3 Reference Manual.
# mount /samfs1
# mount -F samfs fs-name /mount-point
fs-name is the file system name and mount-point is the name of the mount point.
This step confirms that the file system is mounted and shows how to set permissions. The following example shows the output from a mount command verifying whether the example file system, samfs1, is mounted.
# mount _<<< information deleted >>>_ /samfs1 on samfs1 read/write/setuid/intr/largefiles/onerror=panic/dev=8001e3 on Thu Feb 5 11:01:23 2004 _<<< information deleted >>>_
Perform this step if this is the first time that the file system has been mounted. For example:
# chmod 755 /samfs1 # chown root:other /samfs1