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