13.17 Mounting an NSS Volume on Linux to Support Case Insensitive File Names (Linux)

When mounting an NSS volume on Linux, specify the Long name spaces to make its directory names and filenames case insensitive. If your volume contains large directories with millions of files, using the default UNIX name space can cause volumes to mount very slowly. Use the Long name space to allow the volume to mount normally.

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.

Volname is 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 name space type. Valid name spaces 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

Using Samba with NSS Volumes

When using Samba, make sure to do the following:

This improves performance for your NSS volumes on Linux, especially those with larger directories.