OpenSolaris

Printable Version Enter a New Search
Bug ID 6506393
Synopsis brandz doesn't pass along many NFS mount options
State 10-Fix Delivered (Fix available in build)
Category:Subcategory kernel:brandz
Keywords
Responsible Engineer Edward Pilatowicz
Reported Against
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_59
Fixed In snv_59
Release Fixed solaris_nevada(snv_59)
Related Bugs 6409350
Submit Date 19-December-2006
Last Update Date 2-March-2007
Description
BrandZ fails to pass along many NFS flags when translating arguments between
Linux and their Solaris equivalents.

At present, only the linux NFS flags for INTR, NOAC, TCP and NFSV3 are supported.

We should also support the flags:

   SOFT
   SECURE
   POSIX
   NOCTO
   KERBEROS

In addition, we should return EINVAL or ENOTSUP when flags we don't support (e.g.
BROKEN_SUID) are supplied; currently unknown flags are silently ignored.
looking at all the nfs flags, i think it'd be pretty safe to add
support for:
	SOFT
	NOAC
	NONLM
	NOCTO
	POSIX

these are essentially boolean flags that seem to have the same
meaning on both solaris and linux.

i don't think we should add in translation for the following
flags since i'm not sure if we support kerberose and i've certainly
never tested it (i'm also not familiar with the use of other
authentication modes for nfs aside from sys):
	KERBEROS
	SECURE
we already return ENOTSUP for mount options that aren't supported.
---8<---
root@rounders$ mount -o nolock jurassic:/export/svaer/edp /a
mount: Function not implemented
root@rounders$ mount -o posix jurassic:/export/svaer/edp /a      
mount: Function not implemented
root@rounders$ mount -o nocto jurassic:/export/svaer/edp /a     
mount: Function not implemented
root@rounders$ mount -o soft jurassic:/export/svaer/edp /a     
mount: Function not implemented
---8<---

it also turns out that from the options mentioned above we already
support NOAC.
Work Around
N/A
Comments
N/A