SLUG Mailing List Archives
Re: [SLUG] nfs unmount cdrom problem
- To: John August <johna@xxxxxxxxxxxxxxxxxx>
- Subject: Re: [SLUG] nfs unmount cdrom problem
- From: Grant Parnell <gripz@xxxxxxxxxxxxxx>
- Date: Wed Feb 6 13:48:01 2002
- Cc: <slug@xxxxxxxxxxx>
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
edit /etc/exports to export /mnt/export directory
mount /dev/cdrom /mnt/export/cdrom
Answering Machine/fax: 02 4950 1194 (wait 5 mins if no answer)
Mobile: 0408 686 201