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
5. Configuring a Shared File System
How to Configure Shared Sun QFS With NFS
Mounting and Unmounting Shared File Systems
How to Mount a Shared File System
How to Unmount a Shared File System
Adding or Removing a Client Host
How to Add a Client Host to a Shared File System
How to Remove a Client Host From a Shared File System
Updating the mcf file in a Shared File System Environment
Creating the Local Hosts Configuration File
Changing the Metadata Server in a Shared File System Environment
How to Change the Metadata Server When the Metadata Server Is Available
How to Change the Metadata Server When the Metadata Server Is Not Available
Changing the Metadata Server in an Archiving Environment
How to Change the Metadata Server in an Archiving Environment
Converting an Unshared File System to a Shared File System
How to Convert an Unshared Metadata Server to a Shared Metadata Server
Converting a Shared File System to an Unshared File System
How to Remove a Client From a Shared File System
How to Convert a Shared Metadata Server to an Unshared System
Client-Server Communications in a Shared File System
Adding Disk Cache to a File System
How to Add Disk Cache to a File System
How to Back Up and Re-Create a 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 perform initial installation and configuration for a shared file system, follow the instructions in Chapter 5, Installing Sun QFS and SAM-QFS, in Sun QFS and Sun Storage Archive Manager 5.3 Installation Guide. Many examples in this section use host names and configuration information that were introduced in that document.
Converting an unshared file system to a shared file system consists of two tasks:
Converting the metadata server.
Adding each client to the metadata server. This section describes these procedures.
You must have root permission to complete the steps in this procedure.
Depending on your software, these files might include the mcf, archiver.cmd, defaults.conf, samfs.cmd, or inquiry.conf files. Back up these files for all file systems. Also make sure that you have backup copies of files in the /etc/opt/SUNWsamfs directory and in the /var/opt/SUNWsamfs directory.
File systems should be backed up regularly according to your site's policies. If you are comfortable with the backup files that already exist for your file systems, you do not need to back them up again now.
For instructions, see Unmounting File Systems in Sun QFS and Sun Storage Archive Manager 5.3 Installation Guide.
For family-set-name, specify the family set name of the file system that you are converting to a new shared file system. For example:
# samfsck -S -F sharefs1
For example:
# Equipment Eq Eq Family Dev Add # Identifier Ord Type Set State Params # ---------- --- ---- ------ ----- ------ sharefs1 10 ma sharefs1 on shared /dev/dsk/c2t50020F23000065EEd0s6 11 mm sharefs1 on /dev/dsk/c7t50020F2300005D22d0s6 12 mr sharefs1 on /dev/dsk/c7t50020F2300006099d0s6 13 mr sharefs1 on /dev/dsk/c7t50020F230000651Cd0s6 14 mr sharefs1 on
For example:
# File /etc/vfstab # FS name FS to fsck Mnt pt FS type fsck pass Mt@boot Mt params sharefs1 - /sharefs1 samfs - no shared
For example:
# File /etc/opt/SUNWsamfs/hosts.sharefs1 # Host Host IP Server Not Server # Name Addresses Priority Used Host # ---- ------------------------------ -------- ---- ----- titan titan-ge 0 1 - server tethys tethys-ge 0 2 - server
See Creating the Shared Hosts File on the Metadata Server in Using Sun QFS and Sun Storage Archive Manager with Oracle Solaris Cluster for more information about creating the hosts configuration file.
For example:
# samsharefs -u -R sharefs1
Note - If you see an error message from this command, you can probably ignore the message.
# samd config
For example:
# mkdir /sharefs1
You might want to perform this step if your Sun QFS shared host systems have multiple host interfaces. The local hosts configuration file defines the host interfaces that the metadata server and the client hosts can use when accessing the file system. You use this file to specify how file system traffic should flow over public and private networks in your environment.
The following code example shows a sample local hosts configuration file.
# This is file /etc/opt/SUNWsamfs/hosts.sharefs1.local # Host Name Host Interfaces # --------- --------------- titan 172.16.0.129 tethys 172.16.0.130
For more information on creating the local hosts file, see Creating the Local Hosts Configuration File.
File systems should be backed up regularly according to your site's policies. If you are comfortable with the backup files that already exist for your file systems, you do not need to back them up again now.
For instructions, see Unmounting File Systems in Sun QFS and Sun Storage Archive Manager 5.3 Installation Guide.
For example:
# File /etc/vfstab # FS name FS to fsck Mnt pt FS type fsck pass Mt@boot Mt params sharefs1 - /sharefs1 samfs - no *shared*
The following code example shows a sample file.
# File /etc/opt/SUNWsamfs/hosts.sharefs1 # Host Host IP Server Not Server # Name Addresses Priority Used Host # ---- --------- -------- ---- ----- titan titan-ge0 1 - server tethys tethys-ge0 2 - server
For more information about creating the hosts configuration file, see Creating the Shared Hosts File on the Metadata Server in Using Sun QFS and Sun Storage Archive Manager with Oracle Solaris Cluster.