2002-10-18 12:41:21

by Nicolas Turro

[permalink] [raw]
Subject: Cannot umount NFS mounted cdrom

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi,
We use linux 2.4.17 and knfsd-0.2.1-1 and we have a problem :
1- we mount an ISO cdrom on host A on /mnt/cdrom
2- we do a NFS mount of A:/mnt/cdrom /tmp/remotecdrom on host B
3- we umount /tmp/remotecdrom on host B
4- when we try to umount /mnt/cdrom on host A, he get fs busy and it fails.
lsof doesn't give any process using /mnt/cdrom

Is-this a known problem ? Any workaround ?

Thx in advance.

N. Turro
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9sAFqty/HpgyBIboRAiu+AJ0R2fJDOEp4zGcLZxBKYiDczFbg/gCfUwUX
nIUTITIVtDN+9Ch05JM1bco=
=0oqr
-----END PGP SIGNATURE-----


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs


2002-10-18 13:18:23

by Andreas Metzler

[permalink] [raw]
Subject: Re: Cannot umount NFS mounted cdrom

On Fri, Oct 18, 2002 at 02:41:14PM +0200, Nicolas Turro wrote:
> We use linux 2.4.17 and knfsd-0.2.1-1 and we have a problem :
> 1- we mount an ISO cdrom on host A on /mnt/cdrom
> 2- we do a NFS mount of A:/mnt/cdrom /tmp/remotecdrom on host B
> 3- we umount /tmp/remotecdrom on host B
> 4- when we try to umount /mnt/cdrom on host A, he get fs busy and it fails.
> lsof doesn't give any process using /mnt/cdrom
>
> Is-this a known problem ? Any workaround ?

You have to unexport /mnt/cdrom on A before you can unmount it - use
exportfs -correct -options.
cu andreas


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs