19.11 Mounting NSS Volumes with Linux Commands

When mounting an NSS volume, specify the Long name space to make its directory names and filenames case insensitive. Long is the default name space, and improves performance over using the UNIX name space. If your volume contains large directories with millions of files, using the UNIX name space can cause volumes to mount very slowly and can degrade performance.

Mounting an NSS Volume

To mount an NSS volume from a terminal command line, enter

mount -t nssvol volname mount_point -o name=volname,ns=long

For the -t option, nssvol is the file system type for NSS volumes. Volnameis the name of the NSS volume.

The mount_point is the full path with the volume name where you want to mount the volume, such as /media/nss/VOL1. The default mount location for NSS volumes is in the /media/nss/ directory.

For the -o option, specify the volume name and the primary name space type. Valid name space options are dos, mac, long, or unix.

For example, to mount an NSS volume named VOL1 as case insensitive, enter the following at a terminal prompt:

mount -t nssvol VOL1 /media/nss/VOL1 -o name=VOL1,ns=long

Mounting an NSS Volume Automatically on System Reboot

You can automatically mount the NSS volume on system reboot by adding a line to the /etc/fstab file in the following general format:

label mount_point fstype mount_options dump_frequency fsck_order

For example:

VOL1 /media/nss/VOL1 nssvol noauto,rw,name=VOL1,ns=long 0 0