Re: ext2fs and NFS

2006-06-12 Thread Craig Rodrigues
On Wed, Oct 26, 2005 at 10:39:08PM +, Bob Hepple wrote:
 I need to export an ext2fs file system mounted@/mnt/guest - it's a
 removable IDE disc that I carry to  from my linux [EMAIL PROTECTED]
 
 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???

Hi,

The mountd program in FreeBSD previously had some hard-coded restrictions
on which filesystems it could export (ufs, msdosfs, cd9660, and ntfs).

I converted the mountd program to use the nmount() syscall, and removed
the hardcoded restrictions on what filesystems can be NFS exported.
As long as the underlying filesystem supports NFS exporting, it should
work.  It should now work for ext2fs.

If you cvsup to RELENG_6 or HEAD, you can get my changes, and if
you can try them out and let me know if you have any problems, I would
appreciate it.

-- 
Craig Rodrigues
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ext2fs and NFS

2005-12-31 Thread Bob Hepple
On Fri, 30 Dec 2005 15:03:35 +1030
Malcolm Kay [EMAIL PROTECTED] wrote:

 On Sat, 29 Oct 2005 04:23 am, Bob Hepple wrote:
  On Thu, 27 Oct 2005 11:39:03 +1000
 
  Bob Hepple [EMAIL PROTECTED] 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:[EMAIL PROTECTED] http://bhepple.freeshell.org
Public Key: http://bhepple.freeshell.org/public_keys.txt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ext2fs and NFS

2005-12-29 Thread Malcolm Kay
On Sat, 29 Oct 2005 04:23 am, Bob Hepple wrote:
 On Thu, 27 Oct 2005 11:39:03 +1000

 Bob Hepple [EMAIL PROTECTED] 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

 Thanks

 Bob
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ext2fs and NFS

2005-10-28 Thread Bob Hepple
On Thu, 27 Oct 2005 11:39:03 +1000
Bob Hepple [EMAIL PROTECTED] 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?


Thanks

Bob


-- 
Bob Hepple
mailto:[EMAIL PROTECTED] http://bhepple.freeshell.org
Public Key: http://bhepple.freeshell.org/public_keys.txt


pgpuZ4cTqOHeL.pgp
Description: PGP signature


ext2fs and NFS

2005-10-26 Thread Bob Hepple
Hello,

Google and the search screen at www.FreeBSD.org tell me that this
question has been asked before but I can't find an answer ...

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


Yow!




Thanks


Bob


-- 
Bob Hepple
mailto:[EMAIL PROTECTED] http://bhepple.freeshell.org
Public Key: http://bhepple.freeshell.org/public_keys.txt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]