C H A P T E R  2

Release Package Contents and Directories Created

This chapter describes the content of the release packages and shows the directories and files that the software creates when it is installed. Specifically, it contains the following topics:


Release Package Contents

The Sun StorEdge QFS and the Sun StorEdge SAM-FS software packages are in Sun Solaris pkgadd(1M) format. These packages reflect the Sun Solaris version for the platform upon which you will be installing the Sun StorEdge QFS or the Sun StorEdge SAM-FS software.

For information on the directories and files provided with the release package, see the Sun StorEdge QFS and Sun StorEdge SAM-FS 4.1 Release Notes, which is posted to the documentation web sites described in this manual's preface.

TABLE 2-1 shows the release packages.

TABLE 2-1 Release Packages

Installed Package

Description

SUNWqfsr, SUNWqfsu

Sun StorEdge QFS standalone file system software packages.

SUNWsamfsr, SUNWsamfsu

Sun StorEdge SAM-FS software packages. Includes the standard file system and the storage and archive management (SAM) software.

SUNWsamqfsuir, SUNWsamqfsuiu

SAM-QFS Manager packages.




Note - The 4.1 release does not include any localized software packages.



The releases are identified using characters arranged in the following format:

major.minor.patch

TABLE 2-2 explains the release numbering scheme.

TABLE 2-2 Release Numbering

Release Level Component

Meaning

major

The release level of a major release.

minor

The release level of a minor feature release.

patch

The patch number. A number between 1 and 99 indicates a patch release. A letter from A through Z indicates prerelease software. The base release of a first feature release of a major release might not contain a patch level.


Examples:


Directories and Files Created

This section describes the directories and files associated with the Sun StorEdge QFS and Sun StorEdge SAM-FS products. You can obtain additional information about the files in this section from the man pages after the software is installed.

Directories Created at Installation

TABLE 2-3 lists the directories created when the Sun StorEdge QFS and Sun StorEdge SAM-FS software packages are installed.

TABLE 2-3 Directories Created

Directory

Content

Used By

/dev/samst

Device driver special files.

Sun StorEdge SAM-FS

/etc/fs/samfs

Commands specific to Sun StorEdge QFS and Sun StorEdge SAM-FS software.

Sun StorEdge QFS

Sun StorEdge SAM-FS

/etc/opt/SUNWsamfs

Configuration and license files.

Sun StorEdge QFS

Sun StorEdge SAM-FS

/etc/opt/SUNWsamfs/scripts

Site-customizable scripts.

Sun StorEdge QFS

Sun StorEdge SAM-FS

/opt/SUNWsamfs/bin

User command binaries.

Sun StorEdge QFS

Sun StorEdge SAM-FS

/opt/SUNWsamfs/client

Files for RPC API client.

Sun StorEdge QFS

Sun StorEdge SAM-FS

/opt/SUNWsamfs/examples

Various example configuration files.

Sun StorEdge QFS

Sun StorEdge SAM-FS

/opt/SUNWsamfs/include

API include files.

Sun StorEdge QFS

Sun StorEdge SAM-FS

/opt/SUNWsamfs/lib

Relocatable libraries.

Sun StorEdge QFS

Sun StorEdge SAM-FS

/opt/SUNWsamfs/man

man(1) pages.

Sun StorEdge QFS

Sun StorEdge SAM-FS

/opt/SUNWsamfs/sbin

System administrator commands and daemon binaries.

Sun StorEdge QFS

Sun StorEdge SAM-FS

/opt/SUNWsamfs/doc

Documentation repository for any informational files included in the release. The README file, which summarizes the installed release's features, is included in this directory.

Sun StorEdge QFS

Sun StorEdge SAM-FS

/opt/SUNWsamqfsui/bin

SAM-QFS Manager administrator commands.

SAM-QFS Manager

/opt/SUNWsamqfsui/doc

SAM-QFS Manager online documentation repository.

SAM-QFS Manager

/opt/SUNWsamfs/mibs

Standard MIB files and product MIB (SUN-SAM-MIB.mib).

Sun StorEdge QFS

Sun StorEdge SAM-FS

/var/opt/SUNWsamfs

Device catalogs; catalog trace file; log files; archiver data directory and queue files.

Sun StorEdge SAM-FS


Files Created at Installation

TABLE 2-4 and TABLE 2-5 list the files created when the Sun StorEdge QFS or Sun StorEdge SAM-FS software is installed.

TABLE 2-4 Files Created - Miscellaneous

File

Description

Used By

/etc/opt/SUNWsamfs/inquiry.conf

Vendor and product identification strings for recognized SCSI devices.

Sun StorEdge SAM-FS

/etc/sysevent/config/SUNW,SUNWsamfs,sysevent.conf

 

 

Solaris system event handler configuration file.

Sun StorEdge QFS

Sun StorEdge SAM-FS

/kernel/drv/samst

Driver for SCSI media changers, optical drives, and non-motion I/O for tape drives.

Sun StorEdge SAM-FS

/kernel/drv/samst.conf

Configuration file for the samst driver.

Sun StorEdge SAM-FS

/kernel/fs/samfs

Sun Solaris 32-bit file system module.

Sun StorEdge QFS

Sun StorEdge SAM-FS

/kernel/fs/sparcv9/samfs

Sun Solaris 64-bit file system module.

Sun StorEdge QFS

Sun StorEdge SAM-FS

/kernel/sys/samsys

System call module.

Sun StorEdge QFS

Sun StorEdge SAM-FS

/kernel/sys/sparcv9/samsys

Sun Solaris 32- and 64-bit system call module.

Sun StorEdge QFS

Sun StorEdge SAM-FS

/var/log/webconsole/host.conf

SAM-QFS Manager configuration file.

SAM-QFS Manager

/var/opt/SUNWsamfs/faults

Faults history file.

Sun StorEdge QFS

Sun StorEdge SAM-FS


The Sun StorEdge QFS and Sun StorEdge SAM-FS file systems have dynamically loadable components that are stored in the Sun Solaris /kernel directory (see TABLE 2-4). You can determine the modules that are loaded by using the modinfo(1M) command. Typically, the kernel loads the file system module at boot time. Alternatively, you can load the file system module when the file system is first mounted after the Sun software is installed.

After the Sun StorEdge QFS or Sun StorEdge SAM-FS software is installed, it creates files that it uses for fault notification. TABLE 2-5 lists these files. When the software detects faults serious enough to merit user attention, the software uses these trap and log files to convey fault information through the SAM-QFS Manager software.

TABLE 2-5 Files Created - Fault Notification

File

Description

Used By

/opt/SUNWsamfs/sbin/sendtrap

Sends trap information.

Sun StorEdge QFS

Sun StorEdge SAM-FS

/opt/SUNWsamfs/sbin/tapealert_trap

Sends tapealert(1M) traps.

Sun StorEdge SAM-FS

/opt/SUNWsamfs/sbin/tapealert_log

Records tapealert(1M) faults.

Sun StorEdge SAM-FS

/opt/SUNWsamfs/sbin/fault_log

Records faults.

Sun StorEdge QFS

Sun StorEdge SAM-FS


The software creates the files listed in TABLE 2-5 with -rwxr-x--- permissions. Do not change these file permissions. If execute permissions are lost, for example, the system writes messages such as the following to /var/adm/messages:

SUNW,SUNWsamfs,sysevent.conf, line1: no execute access to /opt/SUNWsamfs/sbin/tapealert_trap - No such file or directory.

Site Files

The configuration procedures in this manual direct you to create several files. The Sun StorEdge QFS and Sun StorEdge SAM-FS software uses these site files.

TABLE 2-6 and TABLE 2-7 list the site files you create. Some of the files in these lists are optional, depending on your configuration, and others are required.

TABLE 2-6 shows the required site files. These are files that you must create at your site in order to use the Sun StorEdge QFS and Sun StorEdge SAM-FS software.

TABLE 2-6 Required Site Files

File

Description

Used By

/etc/opt/SUNWsamfs/LICENSE.4.1

License file. For more information, see the licensing information pertinent to your installation in Obtaining a Software License Key. This is a required file.

Sun StorEdge QFS

Sun StorEdge SAM-FS

/etc/opt/SUNWsamfs/mcf

Master configuration file. For more information, see the mcf(4) man page. This is a required file.

Sun StorEdge QFS

Sun StorEdge SAM-FS


TABLE 2-7 shows the optional site files. This is a partial list of the files that you might or might not create depending on the software packages you install and the features you use.

TABLE 2-7 Optional Site Files

File

Description

Used By

/etc/opt/SUNWsamfs/archiver.cmd

Archiver command file. For more information, see the archiver.cmd(4) man page or see the Sun StorEdge SAM-FS Storage and Archive Management Guide.

Sun StorEdge SAM-FS

/etc/opt/SUNWsamfs/samfs.cmd

File system mount parameter command file. For more information, see the samfs.cmd(4) man page or see the Sun StorEdge QFS and Sun StorEdge SAM-FS File System Administration Guide.

Sun StorEdge QFS

Sun StorEdge SAM-FS

/etc/opt/SUNWsamfs/recycler.cmd

Recycler command file. For more information, see the recycler.cmd(4) man page or see the Sun StorEdge SAM-FS Storage and Archive Management Guide.

Sun StorEdge SAM-FS

/etc/opt/SUNWsamfs/releaser.cmd

Releaser command file. For more information, see the releaser.cmd(4) man page or see the Sun StorEdge SAM-FS Storage and Archive Management Guide.

Sun StorEdge SAM-FS

/etc/opt/SUNWsamfs/preview.cmd

Previewer command file. For more information, see the preview.cmd(4) man page or see the Sun StorEdge SAM-FS Storage and Archive Management Guide.

Sun StorEdge SAM-FS

/etc/opt/SUNWsamfs/defaults.conf

Miscellaneous default values. For more information, see the defaults.conf(4) man page.

Sun StorEdge QFS

Sun StorEdge SAM-FS


Modified System Files

During installation, Sun StorEdge QFS and Sun StorEdge SAM-FS software adds information to certain Sun Solaris system files. These system files are ASCII text files. Sun Solaris uses these files to identify loadable kernel modules by number rather than by name.

The Sun StorEdge QFS and Sun StorEdge SAM-FS software adds information to the following files:

Certain Solaris OS patches might either remove or introduce conflicts with the samsys entry. For information on installing Solaris OS patches in a Sun StorEdge QFS or Sun StorEdge SAM-FS environment, see Installing Sun Solaris Patches.

Installing Sun Solaris Patches

Certain Sun Solaris patches overwrite the /etc/name_to_sysnum file. The /etc/name_to_sysnum file identifies loadable kernel modules by number rather than by name. If a patch overwrites the /etc/name_to_sysnum file, it removes the Sun StorEdge QFS and Sun StorEdge SAM-FS samsys system call number entry. Without a system call number, you can cause a system panic or a mount failure to occur when you attempt to mount Sun StorEdge QFS or Sun StorEdge SAM-FS file systems.

CODE EXAMPLE 2-4 shows the messages that the Solaris OS writes to the /var/adm/messages file.

CODE EXAMPLE 2-4 Messages Generated When the System Call Number is Missing
WARNING: system call missing from bind file
WARNING: SAM-QFS: modload(samsys) failed.
WARNING: The file /etc/name_to_sysnum must contain a "samsys" entry.
WARNING: The SAM-QFS system call number must be unique in /etc/name_to_sysnum
WARNING: and not assigned in /usr/include/sys/syscall.h  (Note: entries named
WARNING: "SYS_reserved_#" are available). The suggested default SAM-QFS entry
WARNING: in /etc/name_to_sysnum is "samsys 182". If system call 182 cannot
WARNING: be used for SAM-QFS, use an alternate entry, such as "samsys 183".
WARNING: After changing /etc/name_to_sysnum a reboot is required.

To avoid this problem, use the following procedure for installing Solaris OS patches.


procedure icon  To Install Solaris OS Patches

1. Idle archiving and stop the storage and archive manager. (Optional)

Perform this step only if you are using the Sun StorEdge SAM-FS file system. You do not have to perform this step if you are using the Sun StorEdge QFS file system. Type the following commands:

# samcmd aridle
# samd stop

2. Use the cp(1) command to save your current /etc/name_to_sysnum file to an alternate location.

For example:

# cp /etc/name_to_sysnum /etc/name_to_sysnum.old

3. Install one or more Solaris OS patches.

For information about this, consult the documentation that came with your Solaris OS patch.

4. Use vi(1) or another editor to open the /etc/name_to_sysnum file and search for lines containing the string samsys.

Depending on your search results, go to one of the following procedures:


procedure icon  To Add a samsys Entry to /etc/name_to_sysnum

1. Use more(1) or another viewer to examine file /usr/include/sys/syscall.h and select an available system call number for the samsys entry.

Within file /usr/include/sys/syscall.h, entries containing the string SYS_reserved_# indicate available system call numbers. Sun Microsystems recommends that you use number 182 for Sun StorEdge QFS and Sun StorEdge SAM-FS operations.

2. Use vi(1) or another editor to open file /etc/name_to_sysnum. (Optional)

Do not perform this step if you already have this file open.

3. Verify that the system call number you chose in Step 1 is available in /etc/name_to_sysnum.

Search through this file for the number you chose.

If your installation is already using 182 for a different application, you need to find the next available system call number and use it for the Sun StorEdge QFS and Sun StorEdge SAM-FS software. Repeat Step 1, Step 2, and Step 3 as often as necessary until you determine that the system call number you selected for Sun StorEdge QFS and Sun StorEdge SAM-FS operations is unique.

The rest of this procedure is written assuming that 182 is an available system call number at your site. Modify the instructions in this procedure if you select another number.

4. Add the samsys line that is recommended for the 4.1 releases.

To add number 182, add the following line to /etc/name_to_sysnum:

samsys 182

5. Add the following samsys line if you plan to fall back to the 3.5.0 releases. (Optional)

If you want to be able to fall back to the Sun QFS and Sun SAM-FS 3.5.0 releases, add the following line:

samsys64 181

6. Save and close /etc/name_to_sysnum.

7. Reboot the system.

8. Delete the backup file when all is determined to be running correctly.

For example:

# rm /etc/name_to_sysnum.old


procedure icon  To Verify a samsys Entry in /etc/name_to_sysnum

1. Use more(1) or another viewer to examine file /usr/include/sys/syscall.h and verify that the system call number for the samsys entry is still available.

Within file /usr/include/sys/syscall.h, entries containing the string SYS_reserved_# indicate available system call numbers. Sun Microsystems recommends that you use number 182 for Sun StorEdge QFS and Sun StorEdge SAM-FS operations.

2. Use vi(1) or another editor to open file /etc/name_to_sysnum. (Optional)

Do not perform this step if you already have this file open.

3. Verify that the system call number you chose in Step 1 is still available in /etc/name_to_sysnum.

Search through this file for the number you chose.

It is possible that your installation is already using 182 for a different application. If this is the case, you need to find the next available system call number and use it for the Sun StorEdge QFS and Sun StorEdge SAM-FS software.

The rest of this procedure is written assuming that 182 is an available system call number at your site. Modify the instructions in this procedure if you select another number.

4. Determine which samsys lines exist in your /etc/name_to_sysnum file and edit the file as necessary.

TABLE 2-8 shows the lines that could exist and prescribes the action to take.

TABLE 2-8 Guidelines for Choosing System Call Numbers

Line

Action to Take

samsys 180

Consider changing this line to use the new default of 182.

samsys 181

Consider changing this line to use the new default of 182.

samsys64 181

Consider deleting this line. Retain references to samsys64 only if you want to be able to fall back to the 3.5.0 releases.

samsys 182

Retain this line. This is the line that Sun Microsystems recommends for use with the 4.1 releases. If another application at your site already uses 182, however, you cannot use this line for the Sun StorEdge QFS and Sun StorEdge SAM-FS 4.1 releases. For more information about this, see Step 1.


5. Save and close /etc/name_to_sysnum.

6. Reboot the system.

7. Delete the backup file when all is determined to be running correctly.

For example:

# rm /etc/name_to_sysnum.old