mount: wrong fs type, bad option, bad superblock
Phil Meyer
pmeyer at themeyerfarm.com
Wed Dec 12 17:21:06 UTC 2007
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)
> -----------
> * /etc/rc.d/init.d/nfs restart
>
> 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?
>
> Thank you very much.
>
>
First verify that it is shared correctly.
On pc09:
showmount -e fedoraserver
That command should show you any files systems you can mount.
Next, let the client machine figure it out for himself what the server
wants:
On pc09:
mount fedoraserver:/home/mydir /home/jonh/server-mydir
You should not need any other options.
The structure of the source is like a URL, mount knows it is NFS just by
the format of the source, ie: server:/dir
Good Luck!
More information about the fedora-list
mailing list