Re: mount -t nfs4 fails, but mount -t nfs succeeds [SOLVED]

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

 



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


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux