query about kernel 2.4.21-37.ELsmp
Subsystems (2)
Hi,
From where can i get information about all the
bugs
which were there in redhat kernel 2.4.21-37.ELsmp
?
I want to know if there existed a bug which did not allow unmounting of device which was once nfs exported and accessed by clients
Thanks,
kiran
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
Quoted 9 lines · mehta kiran
Hi,
From where can i get information about all the
bugs
which were there in redhat kernel 2.4.21-37.ELsmp
?
I want to know if there existed a bug which did not allow unmounting of device which was once nfs exported and accessed by clients
I'm personally not aware of any RHEL 3 bugzilla that turns out to be a real bug to prevent NFS exported filesytem getting un-mounted. However, I'm not frequently involved with RHEL NFS bugs either so I could be wrong.
On the other hand, things to check before you convince yourself there is a bug somewhere:
1. All the local file accesses (on the server) have been stopped (processes killed) ?
2.1 If possible, "service nfs stop" invoked ? This will clean up all the states associated with NFS accesses; Or
2.2.a Manually unexport filesystem. This is a tricky one. Note that if kernel still hold the vfsmount reference for the export entry, umount will fail. The "exportfs -u hostname:/export_path" doesn't necessarily go into the kernel to delete the export entry (to drop vfsmount reference count). You have to use either "exportfs -ua" or "exportfs *:/export_path" to explicitly remove the export entry from RHEL 3 kernel.
2.2.b Is NFS client holding a posix lock via NLM without releasing it ? If yes, a quick and dirty way is to send lockd a signal ("kill -9 lockd"). This will signal lockd to drop the NLM locks (and subsequently close the file).
-- Wendy
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
Quoted 7 lines · Wendy Cheng
2.2.a Manually unexport filesystem. This is a tricky one. Note that if kernel still hold the vfsmount reference for the export entry, umount will fail. The "exportfs -u hostname:/export_path" doesn't necessarily go into the kernel to delete the export entry (to drop vfsmount reference count). You have to use either "exportfs -ua" or "exportfs *:/export_path" to explicitly remove the export entry from RHEL 3 kernel.
I'm famous for my typo :) ... should use "exportfs -u *:/export_path".
Quoted 4 lines
2.2.b Is NFS client holding a posix lock via NLM without releasing it ? If yes, a quick and dirty way is to send lockd a signal ("kill -9 lockd"). This will signal lockd to drop the NLM locks (and subsequently close the file).
-- Wendy
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
I tried all the steps you talked about mount remains busy. The only thing effective which you mentioned is killing nfsd. This causes kernel to release all reference to exported fs.
Steps to reproduce this problem :
1. mount <device> <mountpoint>
2. export it
3. unexport it
4. try umounting it. it wont
Thanks,
kiran
Quoted 29 lines · --- Wendy Cheng
Quoted 1 line · Wendy Cheng
2.2.a Manually unexport filesystem. This is a
tricky one. Note that if
Quoted 1 line
kernel still hold the vfsmount reference for the
export entry, umount
Quoted 1 line
will fail. The "exportfs -u hostname:/export_path"
doesn't necessarily
Quoted 1 line
go into the kernel to delete the export entry (to
drop vfsmount
Quoted 1 line
reference count). You have to use either "exportfs
-ua" or "exportfs
Quoted 1 line
*:/export_path" to explicitly remove the export
entry from RHEL 3
Quoted 1 line
kernel.
I'm famous for my typo :) ... should use "exportfs -u *:/export_path".
Quoted 1 line
2.2.b Is NFS client holding a posix lock via NLM
without releasing it ?
Quoted 1 line
If yes, a quick and dirty way is to send lockd a
signal ("kill -9
Quoted 1 line
lockd"). This will signal lockd to drop the NLM
locks (and subsequently
Quoted 1 line
close the file).
Quoted 8 lines
-- Wendy
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
Quoted 6 lines · mehta kiran
I tried all the steps you talked about mount remains busy. The only thing effective which you mentioned is killing nfsd. This causes kernel to release all reference to exported fs.
Quoted 11 lines
Steps to reproduce this problem :
1. mount <device> <mountpoint>
2. export it
3. unexport it
4. try umounting it. it wont
I don't seem to be able to create it ..... ok, two more things:
* nfs-utils updated ?
* do a "cat /proc/fs/nfs/exports" when umount fails and passes back the info.
* give me the "exact" command you used for unexport.
-- Wendy
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
Quoted 11 lines · mehta kiran
Hi,
From where can i get information about all the
bugs
which were there in redhat kernel 2.4.21-37.ELsmp
?
I want to know if there existed a bug which did not allow unmounting of device which was once nfs exported and accessed by clientsThanks,
kiran
2.4.21-45.EL and greater (and hence U8) should have a fix for this problem. See:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=167636
for more info.
-- Jeff
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs