I encountered this problem on my server.
What causes it?
What fixes it?
I upgraded my kernel to 2.4.20 and the problem appears to have gone away.
I've been running 2.4.20 and I have not seen the problem repeat.
I tried mounting the nfs with version 3.0, I thought this would fix it.
Based on my questioning on the nfs list, clients are exceeding the set
number of file handles for the system, or something...weird problem...
It's some sort of file handle issue thing.

I think your remounting of a volume from another system will cause file
locking issues.

>
> I have an weird problem with a RedHat Linux server running v8.0.  Here
> is what I have...
>
> Hostname        Type of host
> L2000           HP-UX v11.00
> Imaging-2k      Windows 2000 Server
> nfstest         RedHat Linux v8.0 (current up2date rpm's)
>
>
> I use the "nfstest" machine to mount a Windows share on the "Imaging-2k"
> server, then NFS export it out the HP/UX server.  When I mount the
> directory from the "nfstest" machine, I cannot mount it.
>
> Here is what's configured on the "nfstest" machine.
>
> # rpm -qa | grep "nfs"
> redhat-config-nfs-1.0.1-3
> nfs-utils-1.0.1-2
>
> # rpm -qa | grep "samba"
> samba-client-2.2.7-2
> samba-swat-2.2.7-2
> samba-2.2.7-2
> samba-common-2.2.7-2
>
> # uname -a
> Linux nfstest 2.4.18-19.8.0 #1 Thu Dec 12 05:39:29 EST 2002 i686 i686
> i386 GNU/Linux
>
> # cat /etc/fstab
>
> /dev/hda1       /boot           ext3    defaults 1 2
> /dev/hda2       swap            swap    defaults 0 0
> /dev/hda3       /               ext3    defaults 1 1
> /dev/hda5       /usr            ext3    defaults 1 2
> /dev/hda6       /var            ext3    defaults 1 2
> /dev/hda7       /tmp            ext3    defaults 1 2
> /dev/hda8       /home           ext3    defaults 1 2
> /dev/hda9       /public         ext3    defaults 1 2
> none            /dev/pts        devpts  gid=5,mode=620 0 0
> none            /proc           proc    defaults 0 0
> #none           /dev/shm        tmpfs   defaults 0 0
> /dev/fd0        /mnt/floppy     auto    noauto,owner,kudzu 0 0
> /dev/cdrom      /mnt/cdrom      iso9660 noauto,owner,kudzu,ro 0 0
> //imaging-2k/images     /mnt/images     smbfs
> username=administrator,password=xxxxxxxx,rw,fmask=777,dmask=777 1 2
>
> # cat /etc/exports
>
> /mnt/images *(ro,sync,no_root_squash)
>
> # df -k
>
> Filesystem           1K-blocks      Used Available Use% Mounted on
> /dev/hda1                31079     11376     18099  39% /boot
> /dev/hda3               132221     95538     29856  77% /
> /dev/hda5               909136    485412    377540  57% /usr
> /dev/hda6               521748     60016    435228  13% /var
> /dev/hda7               256667      8241    235174   4% /tmp
> /dev/hda8               256667      8239    235176   4% /home
> /dev/hda9              3874076   2093608   1583676  57% /public
> //imaging-2k/images  138059776 122925056  15134720  90% /mnt/images
>
> --------------------------------------------------
>
> Now on the HP/UX Unix host...
>
> # cat /etc/fstab
>
> /dev/vg00/lvol1 /stand hfs defaults 0 1
> /dev/vg00/lvol3 / vxfs delaylog 0 1
> /dev/vg00/lvol4 /home vxfs delaylog 0 2
> /dev/vg00/lvol5 /opt vxfs delaylog 0 2
> /dev/vg00/lvol6 /tmp vxfs delaylog 0 2
> /dev/vg00/lvol7 /usr vxfs delaylog 0 2
> /dev/vg00/lvol8 /usr/uv vxfs delaylog 0 2
> /dev/vg00/lvol9 /var vxfs delaylog 0 2
> /dev/vg00/lvol10a /pcexport vxfs rw,suid,delaylog,datainlog 0 2
> /dev/vg00/lvol10b /pcshare vxfs rw,suid,delaylog,datainlog 0 2
> /dev/vg00/lvol10c /webshare vxfs rw,suid,delaylog,datainlog 0 2
> nfstest:/mnt/images /test nfs rw,bg,soft,suid 0 0
>
> I try to mount the "/test" directory...
>
> # mount /test
> Permission denied
>
> --------------------------------------------------
>
> Back on the "nfstest" server...
>
> # tail /var/log/messages
> Jan  8 09:21:30 nfstest rpc.mountd: authenticated mount request from
> l2000:850 for /mnt/images (/mnt/images)
> Jan  8 09:21:30 nfstest rpc.mountd: getfh failed: Operation not
> permitted
>
> --------------------------------------------------
>
> And here is the interesting twist, this worked fine before for about a
> year when the "nfstest" machine was originally RedHat v6.2.  Now after I
> upgraded it to RedHat v8.0 using the same config files, it does not.
> Anyone have any idea how I can get around this???
>
> Thanks,
>
> Tom
>
>
>
> --
> Psyche-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/psyche-list



-----------------------------------------
This email was sent using SquirrelMail.
   "Webmail for nuts!"
http://squirrelmail.org/




-- 
Psyche-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list

Reply via email to