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
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
Enabling SAM-QFS Daemon Tracing
How to Enable SAM-QFS Daemon Tracing
Setting Up the Root Path Variable
Enabling the Network Time Protocol Daemon (Shared QFS)
How to Enable the Network Time Protocol Daemon (Shared QFS)
Setting Up the Network File System
How to Set Up the Network File System
Installing the SAM-QFS Manager
This section describes how to set up a shared QFS.
The following example uses sqfs1 and sqfs2 as file system names.
# Equipment Eq Eq Family Dev Additional # Identifier Nm Tp Set St Parameters # ---------------- -- -- ------ --- ---------- # sqfs1 10 ma qfs3 - shared /dev/dsk/c2t50020F2300000C98d0s2 11 mm qfs3 - /dev/dsk/c2t50020F2300004921d0s2 12 mm qfs3 - /dev/dsk/c2t50020F2300000C98d0s3 13 mr qfs3 - /dev/dsk/c2t50020F2300004921d0s3 14 mr qfs3 - # sqfs2 20 mb qfs4 - shared /dev/dsk/c2t50020F2300000C98d0s4 21 mm qfs4 - /dev/osd/osd0100080020E1381F00002A00479F7D98,root 22 o1 qfs4 - /dev/osd/osd010000144F94A14C00002A00479F4EB4,root 23 o1 qfs4 -
Note - For the ms file system type in Shared QFS, set stripe=2 either in /etc/vfstab or samfs.cmd so that metadata is distributed across all devices.
# cp -i /opt/SUNWsamfs/examples/hosts* .
A hosts file is required for each file system. You must include a server priority for any server that will be a metadata server.
The following example is for the hosts.sqfs1 file.
# # Host Name Network Interface Server Priority Unused Server # ----------------------------------------------------------- kingkong kingkong-priv,kingkong 1 - server godzilla godzilla-priv,godzilla 2 - nebula nebula-priv,nebula - - cosmic cosmic-priv,cosmic - -
The following example is for the hosts.sqfs2 file.
# # Host Name Network Interface Server Priority Unused Server # --------------------------------------------------------------- walleye walleye-priv0,walleye 1 - server bass bass-priv0,bass 2 - northern northern-priv0,northern - - muskie muskie-priv0,muskie - - mallard mallard-priv0,mallard - - wood wood-priv0,wood - - ruddy ruddy-priv0,ruddy - - mandarin mandarin-priv0,mandarin - -
#device devicemountFSfsckmount mount #to mount to fsckpointtypepassat bootoptions # sqfs1 -/sqfs1samfs-noshared sqfs2 -/sqfs2samfs-yesshared,stripe=2,bg
Note - You must create the mount points and set appropriate permissions on all hosts that are part of the shared file system.
The following example commands uses sqfs1 as the file system name.
# mkdir /sqfs1 # chmod 755 /sqfs1 # mkdir /sqfs2 # chmod 755 /sqfs2
For example, use the tail command as shown in the following example:
# tail /etc/inet/services
The result of the tail command shows the appropriate SAM-QFS service, similar to the following example:
# sam-qfs 7105/tcp# SAM-QFS
# samd config
For example:
# sammkfs -S sqfs1 # sammkfs -S sqfs2
Tip - The -S option identifies the file system as a shared file system.
For example:
server# mount sqfs1 server# mount sqfs2
For example:
client# mount sqfs1 client# mount sqfs2
df -1h
# samd config