Re: FC6 NFS won't mount as regular user, nor automatically in fstab

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Whil Hentzen wrote:

That's fairly normal. One way around it is to use automounter, so that
when the mount point is accessed, the nfs share is automatically mounted, then unmounted after a period of inactivity. Regular users do not need an additional rights for it.

I don't particularly like to do things 'to get around' issues; I'd

Well actually it's not "a get around" as in a hack. It's a perfectly valid and commonly implemented mechanism :)

rather understand what's going on and why things are happening. The troubleshooting page on tldp's NFS how-to alluded to a permission problem where server and client uids and gids aren't matched, but mine are.

I assume you mean "aren't". I don't think that is the issue. I can mount an NFS share from a solaris box here to the linux box as a regular user and don't have a matching uid or gid on the solaris box. Although obviously to preserve ownership you should.

I've done a look-see on some automount tutorials and howto's.... jeesh, auto_direct, auto_master, blah blah blah. That seems to be a lot more work to do something that oughta work just fine with fstab. :(

Here's an example that should work. You should adjust the options field to something more suitable when you're happy (see mount(8) and nfs(5) for various options) as this is just a base example to see if it works. Obviously replace the name of my server, exports and mount points with your equivalent.


nimo:/export	/mnt/NIMO	nfs	user	0 0	


This should allow you to mount "nimo:/export" as a regular user and be automatically mounted on boot up.

You might also want to check that "netfs" is running on bootup. chkconfig --list will tell you otherwise your nfs exports may not get automatically mounted on bootup.

--
Ian Chapman.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux