JavaScript is required to for searching.
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
search filter icon
search icon

Document Information

Preface

1.  About Sun QFS and Sun Storage Archive Manager

2.  Planning Your Environment

3.  Preparing for Installation

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

Initializing the Environment and the File System

How to Mount the File System (SAM-QFS Manager)

How to Mount the File System (Command Line)

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

Initializing the Environment and the File System

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

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.

How to Mount the File System (SAM-QFS Manager)

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.

  1. On the Managed Hosts page, select the name of the server on which the file system is located.

    The File Systems Summary page appears.

  2. Select the file system that you want to mount.
  3. From the Operations menu, choose Mount.

How to Mount the File System (Command Line)

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.

  1. Use the mount command to mount the file system.
    • If the file system is defined in the /etc/vfstab file, specify the file system mount point as the argument. For example:
      # mount /samfs1
    • If the file system has not been added to the /etc/vfstab file, use the following form of the mount command:
      # mount -F samfs fs-name /mount-point

      fs-name is the file system name and mount-point is the name of the mount point.

  2. Use the mount command with no arguments to verify the mount.

    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 >>>_
  3. (Optional) Change the permissions and ownership of the file system's root directory.

    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