* ReiserFS and NFS?
@ 2002-09-03 15:56 Anders Widman
2002-09-04 6:10 ` Oleg Drokin
0 siblings, 1 reply; 3+ messages in thread
From: Anders Widman @ 2002-09-03 15:56 UTC (permalink / raw)
To: reiserfs-list
Hello!
I am trying to use ReiserFS with NFS to work nicely, but I ran into
troubles exporting root (/). I am getting the following error when
a client tries to connect to the root export (I am using
ReiserFS on root filesystem):
rpc.mountd: getfh failed: Operation not permitted
After browsing around different mailing lists and read suggestions
about Kernel and NFS utils I found that someone said that there was
needed patches to use ReiserFS with NFS?
Right now my exports file looks like this:
/usr/src/ 192.168.0.100(rw,no_root_squash,insecure)
/ 192.168.0.100(rw,no_root_squash,insecure)
The /usr/src/ share does work.
Is this something someone might know how to fix?
Regards,
Anders Widman
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: ReiserFS and NFS? 2002-09-03 15:56 ReiserFS and NFS? Anders Widman @ 2002-09-04 6:10 ` Oleg Drokin 2002-09-04 21:23 ` Anders Widman 0 siblings, 1 reply; 3+ messages in thread From: Oleg Drokin @ 2002-09-04 6:10 UTC (permalink / raw) To: Anders Widman; +Cc: reiserfs-list Hello! On Tue, Sep 03, 2002 at 05:56:52PM +0200, Anders Widman wrote: > > I am trying to use ReiserFS with NFS to work nicely, but I ran into > troubles exporting root (/). I am getting the following error when > a client tries to connect to the root export (I am using > ReiserFS on root filesystem): > rpc.mountd: getfh failed: Operation not permitted > After browsing around different mailing lists and read suggestions > about Kernel and NFS utils I found that someone said that there was > needed patches to use ReiserFS with NFS? Hmmm. What kernel are you using? What nfs server? 2.4.19 with stock knfsd: angband:~ # cat /etc/exports / (ro) bowl:~# mount angband:/ /mnt/testfs -t nfs bowl:~# ls /mnt/testfs/ . bin cdrecorder dev floppy lib mnt proc root testfs0 tmp var .. boot cdrom etc home media opt rescue sbin testfs1 usr Changing config: angband:~ # cat /etc/exports / (rw,no_root_squash,insecure) angband:~ # exportfs -a exportfs: No host name given with / (rw,no_root_squash,insecure), suggest *(rw,no_root_squash,insecure) to avoid warning bowl:~# ls /mnt/testfs/ . boot dev home mnt rescue testfile tmp .. cdrecorder etc lib opt root testfs0 usr bin cdrom floppy media proc sbin testfs1 var Everything works ok. But now (/rescue is another mount point): bowl:~# mount angband:/rescue /mnt/testfs -t nfs Sep 4 10:06:17 angband rpc.mountd: authenticated mount request from 212.16.7.82:916 for /rescue (/) Sep 4 10:06:17 angband rpc.mountd: getfh failed: Operation not permitted > Right now my exports file looks like this: > /usr/src/ 192.168.0.100(rw,no_root_squash,insecure) > / 192.168.0.100(rw,no_root_squash,insecure) > Is this something someone might know how to fix? What if you allow anyone to connect (use * instead of address?) Look into logs on on nfs server side for more clues, enable debug. Basically I do not think yo are experiencing reiserfs problem, but it rather looks like nfs server configuration problem. I hope you have not forgot to to 'exportfs -a' after changing /etc/exports. Bye, Oleg ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ReiserFS and NFS? 2002-09-04 6:10 ` Oleg Drokin @ 2002-09-04 21:23 ` Anders Widman 0 siblings, 0 replies; 3+ messages in thread From: Anders Widman @ 2002-09-04 21:23 UTC (permalink / raw) To: reiserfs-list > Hello! > On Tue, Sep 03, 2002 at 05:56:52PM +0200, Anders Widman wrote: >> >> I am trying to use ReiserFS with NFS to work nicely, but I ran into >> troubles exporting root (/). I am getting the following error when >> a client tries to connect to the root export (I am using >> ReiserFS on root filesystem): >> rpc.mountd: getfh failed: Operation not permitted >> After browsing around different mailing lists and read suggestions >> about Kernel and NFS utils I found that someone said that there was >> needed patches to use ReiserFS with NFS? > Hmmm. > What kernel are you using? What nfs server? Using 2.4.19 with nfsd running. > 2.4.19 with stock knfsd: > angband:~ # cat /etc/exports > / (ro) > bowl:~# mount angband:/ /mnt/testfs -t nfs > bowl:~# ls /mnt/testfs/ > . bin cdrecorder dev floppy lib mnt proc root testfs0 tmp var > .. boot cdrom etc home media opt rescue sbin testfs1 usr > Changing config: > angband:~ # cat /etc/exports > / (rw,no_root_squash,insecure) > angband:~ # exportfs -a > exportfs: No host name given with / (rw,no_root_squash,insecure), suggest *(rw,no_root_squash,insecure) to avoid warning > bowl:~# ls /mnt/testfs/ > . boot dev home mnt rescue testfile tmp > .. cdrecorder etc lib opt root testfs0 usr > bin cdrom floppy media proc sbin testfs1 var > Everything works ok. > But now (/rescue is another mount point): > bowl:~# mount angband:/rescue /mnt/testfs -t nfs > Sep 4 10:06:17 angband rpc.mountd: authenticated mount request from 212.16.7.82:916 for /rescue (/) > Sep 4 10:06:17 angband rpc.mountd: getfh failed: Operation not permitted >> Right now my exports file looks like this: >> /usr/src/ 192.168.0.100(rw,no_root_squash,insecure) >> / 192.168.0.100(rw,no_root_squash,insecure) >> Is this something someone might know how to fix? > What if you allow anyone to connect (use * instead of address?) > Look into logs on on nfs server side for more clues, enable debug. I don't think I tried using only a '*' instead of an address. Will do that. > Basically I do not think yo are experiencing reiserfs problem, but it rather > looks like nfs server configuration problem. I was out of clues, therefore I posted here as there was someone that mentioned ReiserFS and NFS problems somewhere. > I hope you have not forgot to to 'exportfs -a' after changing /etc/exports. Of course not =).. And I tried rebooting too. Anyway, thanks for your response! Regards, Anders > Bye, > Oleg ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-09-04 21:23 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2002-09-03 15:56 ReiserFS and NFS? Anders Widman 2002-09-04 6:10 ` Oleg Drokin 2002-09-04 21:23 ` Anders Widman
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.