Cannot Backup/Delete Files/Directories From NSS Volumes After Moving From NetWare to OES Linux

  • 3434914
  • 28-Sep-2006
  • 27-Apr-2012

Environment

Novell NetWare 6.0
Novell NetWare 6.5
Novell Open Enterprise Server (Linux based) (OES Linux)
DOS Name Space
LONG Name Space

Situation

By default Novell Storage Service (NSS) uses a UNIX name space. By default NSS on the NetWare kernel uses DOS, MAC, NFS, and LONG name spaces. Take a careful look at the file types that are experiencing the problems. Chances are they have a DOS naming convention.

Backups fail on these files.
"Access denied to directory media/nss/VolName/."

Typing "ls" at a shell in a directory with files having issues will produce output similar to the following:
/bin/ls: ACC.BNM: No such file or directory
/bin/ls: ACC02BAK.RNE: No such file or directory

"rm -rf" fails to remove the files with errors in-line with those mentioned above.

"rm -rf" of the parent directory fails. The error mentions that the directory cannot be deleted as it is not empty.

The files cannot be seen via a mapped drive (even if viewing hidden files).

Resolution

Find the device in the /etc/fstab that contains the NSS volume and add ",ns=long" to the options (without the quotes). After that is complete, either remount the filesystem or restart the server. An example of this is below:

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