Nfs – Mounting a share with white spaces in name using Solaris

mountnfssolaris

I am trying to mount a file system on Solaris that includes white space in both target and source names. for example:

nas:/shares/windows/international/Financial Data/OEM/Connect Direct - /nfs/windows/international/Financial Data/OEM/Connect Direct nfs - yes rw,bg,retry=10,vers=3

But i get errors like:

mount: Warning: Line for "Support/PSMS"" in vfstab has too many entries

So far I tried to:

  • double quotes path names in vfstab,
  • replace space \40 (like in Linux)
  • escape with backslash.

None of these worked.

What is the proper way to mount shares containing white space both in target and source on Solaris?

Best Answer

The Oracle docs say this doesn't work

Similarly, white space should not be used in a field value.