You probably need to tell the machine to speak the same version of NFS
- Linux does v3 by default, and OSOL does v4 by default.

Yes, the uid's do matter, precisely because NFS means Network File
System - it's like connecting a disk over the network wire.



On Sat, Mar 21, 2009 at 11:40 AM, Harry Putnam <reader at newsguy.com> wrote:
> Blake <blake.irvin at gmail.com> writes:
>
>> Bear in mind that the user id numbers (check with 'id username') need
>> to be the same on client/host
>
> Thanks... I tried that out. I choose to make the match by changing the
> uid on the osol box since the linux box would have involved a
> trainload of files the `chown'. Even recursivly would have been a
> major chore and all over the os too.
>
> So anyway I changed the osol users uid to 1000 matching the linux user
> uid.
>
> It caused something of mess on the osol box but finally got everything
> changed over to uid 1000 for my user.
>
> Trying the mount that way is a total failure anyway.
>
> ?mount -F nfs reader:/pub /pub
> ?nfs mount: insufficient privileges
>
> On osol box
>
> ?reader > uname
> ?SunOS
>
> ?reader > id reader
> ?uid=1000(reader) gid=10(staff) groups=10(staff),3(sys),4(adm),15(wheel)
>
>
> On linux box
>
> ?reader > uname
> ?Linux
>
> ?reader > id reader
> ?uid=1000(reader) gid=100(users) groups=100(users),10(wheel)[...]
>
>
> Do the gids also have to match? ?And will changing this stuff for the
> osol user cause some other nasty problems.. (I mean besides tracking
> down all the files and changing gid on them)
>
> And anyway this seems a little off the wall. ?I mean nfs is supposed to
> be a way to share a fs between many machines, surely its not expected
> the uid and gids will all match.
>
> _______________________________________________
> opensolaris-help mailing list
> opensolaris-help at opensolaris.org
>

Reply via email to