|
|
Re: mount -t nfs4 fails, but mount -t nfs succeeds [SOLVED] |
On Thu, 2012-04-26 at 12:45 -0700, Jonathan Ryshpan wrote:
> Can anyone explain this? How can it be fixed? Do some services need to
> be started on the server?
>
> The server is "weather". This log is from the client:
> # mount -t nfs weather:/home/jonrysh /mnt/weather
> # ls /mnt/weather
> Desktop Documents Downloads Music Pictures Public Templates Videos grub2
> # umount /mnt/weather
> # mount -t nfs4 weather:/home/jonrysh /mnt/weather
> mount.nfs4: mounting weather:/home/jonrysh failed, reason given by server:
> No such file or directory
> #
Following a suggestion in the Arch Linux Wiki:
https://wiki.archlinux.org/index.php/NFSv4#Exports
I made this minor edit to /etc/exports on weather (the server)
Old /etc/exports:
/ amito(rw,no_root_squash)
/home/jonrysh amito(rw,no_root_squash)
New /etc/exports:
/ amito(rw,fsid=0,no_root_squash)
/home/jonrysh amito(rw,no_root_squash)
Note that the addition of "fsid=0" to the entry for the root directory
allows *both* the root and a directory under it to be exported. To
understand this better, read the following section in the Arch Linux
Wiki: Exporting directories outside your NFS root
All very subtle, and undocumented.
jon
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
[Older Fedora Users] [Fedora Announce] [Fedora Package Announce] [EPEL Announce] [Fedora News] [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] [Find Someone Special] [Fedora Package Review] [Fedora R Devel] [Fedora PHP Devel] [Kickstart] [Fedora Music] [Fedora Packaging] [Centos] [Fedora SELinux] [Fedora Legal] [Fedora Kernel] [Fedora QA] [Fedora Triage] [Fedora OCaml] [Coolkey] [Virtualization Tools] [ET Management Tools] [Yum Users] [Tux] [Yosemite News] [Yosemite Photos] [Linux Apps] [Maemo Users] [Gnome Users] [KDE Users] [Fedora Tools] [Fedora Art] [Fedora Docs] [Maemo Users] [Asterisk PBX] [Fedora Sparc] [Fedora Universal Network Connector] [Libvirt Users] [Fedora ARM]
![]() |
![]() |