Re: mount: wrong fs type, bad option, bad superblock

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

 



On Wed, 2007-12-12 at 16:52 +0100, thomas Armstrong wrote:
> Hi.
> 
> Using Ubuntu 7.10 I want to mount a directory shared on a Fedora
> machine with NFS.
> 
> On Fedora machine (fedoraserver):
> * edited '/etc/exports' and added:
> -----------
> /home/mydir/       pc09(rw)

Don't have the trailing "/" on the export.  Just use "/home/mydir".

> -----------
> * /etc/rc.d/init.d/nfs restart

All you need is "exportfs -ar".  You don't have to restart the service.

> On Ubuntu machine (pc09)
> * mkdir /home/john/server-mydir
> * mount -o nfsvers=2 fedoraserver:/home/mydir /home/jonh/server-mydir
> -o nfsvers=2
> 
> But I get this error message:
> -------
> mount: wrong fs type, bad option, bad superblock on fedoraserver:/home/mydir/,
>        missing codepage or helper program, or other error
> -------
> 
> 'fedoraserver' does exist for 'pc09' and 'pc09' does exist for
> 'fedoraserver'. What am I doing wrong?

The mount command should be:

	mount fedoraserver:/home/mydir /home/jonh/server-mydir

Let the system figure out what the options are.  It'll negotiate a
better default set than you're specifying (why would you want NFS V2
anyway?).  I suspect the problem is the trailing "/" on the export on
the Fedora server.

----------------------------------------------------------------------
- Rick Stevens, Principal Engineer             rstevens@xxxxxxxxxxxx -
- CDN Systems, Internap, Inc.                http://www.internap.com -
-                                                                    -
-                   Never try to outstubborn a cat.                  -
----------------------------------------------------------------------

-- 
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