On Sun, 3 Feb 2002, John August wrote: > I'm running kernel 2.4.10, and can provide other info if needed. > > I'm mounting a cdrom on a server and accessing it via nfs from another > machine. After the client accesses the cdrom, and umounts the file > system, the server refuses to unmount the drive, saying it is in > use. But it _isn't_ in use. > > Anyone know of a workaround here ? Is there a forced, don't care at- > all at-all option for mount - mount -f does not work ? Otherwise, I > have to reboot the server every time I change the cdrom. It makes > installation a real pain. Yeah, I've thought of making copies of the > three cdroms, but that is also painful.
Ahh.. common mistake. In the short term you'll need to shutdown NFS or perhaps 'reload' it. To do it properly do not export the cdrom mount point but perhaps a directory above it. EG if you have /mnt/cdrom export the /mnt directory. Better still I'd recommend umount /mnt/cdrom mkdir /mnt/export mkdir /mnt/export/cdrom edit /etc/exports to export /mnt/export directory mount /dev/cdrom /mnt/export/cdrom -- ---<GRiP>--- Web: www.arcadia.au.com/gripz Answering Machine/fax: 02 4950 1194 (wait 5 mins if no answer) Mobile: 0408 686 201 -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
