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.
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
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
VOL1 /media/nss/VOL1 nssvol noauto,rw,name=VOL1,ns=long 0 0
When using Samba, make sure to do the following:
Mount the NSS volume as case insensitive by using the Long name space.
Specify Case Sensitive=No when exporting Samba shares for NSS volumes with case insensitive name spaces.
Edit the /etc/samba/smb.conf file to set the Case Sensitive parameter to No.
This improves performance for your NSS volumes on Linux, especially those with larger directories.