ext2fs and NFS

Bob Hepple bhepple at freeshell.org
Sat Dec 31 15:45:14 PST 2005


On Fri, 30 Dec 2005 15:03:35 +1030
Malcolm Kay <malcolm.kay at internode.on.net> wrote:

> On Sat, 29 Oct 2005 04:23 am, Bob Hepple wrote:
> > On Thu, 27 Oct 2005 11:39:03 +1000
> >
> > Bob Hepple <bhepple at freeshell.org> wrote:
> > > I need to export an ext2fs file system mounted at /mnt/guest
> > > - it's a removable IDE disc that I carry to & from my linux
> > > system at work...
> > >
> > > "mount" shows:
> > >
> > > /dev/ad2s1 on /mnt/guest (ext2fs, local)
> > >
> > > So, I put an entry into /etc/exports:
> > >
> > > /mnt/guest -alldirs -network 192.168.254.0 -mask
> > > 255.255.255.0
> > >
> > > and then:
> > >
> > > kill -s HUP `cat /var/run/mountd.pid`
> > >
> > > "showmount localhost" shows nothing and in /var/log/messages
> > > I have:
> > >
> > > Oct 27 11:36:01 raita kernel: ext2fs doesn't support the old
> > > mount syscall Oct 27 11:36:01 raita mountd[417]: can't
> > > export /mnt/guest Oct 27 11:36:01 raita mountd[417]: bad
> > > exports list line /mnt/guest -network 192.168.254.0 -mask
> > > 255.255.255.0
> > >
> > > ... so there's really no way to NFS export an ext2fs file
> > > system???
> >
> > Hmmm - looks like no-one has good news for me on this front so
> > I'll try a different approach:
> >
> > Can anyone suggest a UNIX filesystem for a removable IDE disc
> > that can be used on linux and freebsd and that can be exported
> > by NFS?
> >
> 
> I thought most linux systems could mount 'ufs' file systems; 
> perhaps not 'ufs2' so you might need to be specific in creating 
> the file system.
> 
> Malcolm Kay

Yes - but linux is "READ-ONLY" for UFS2. Even the older UFS write access
is marked "dangerous". So I'm not keen on using it.


Cheers


Bob


-- 
Bob Hepple
mailto:bhepple at freeshell.org http://bhepple.freeshell.org
Public Key: http://bhepple.freeshell.org/public_keys.txt


More information about the freebsd-questions mailing list