Re: What, besides open files, can keep a volume busy?
Re: What, besides open files, can keep a volume busy?
- Subject: Re: What, besides open files, can keep a volume busy?
- From: William Kucharski <email@hidden>
- Date: Tue, 24 Oct 2006 05:25:32 -0600
On Oct 23, 2006, at 10:17 PM, email@hidden wrote:
I've seen that with SMB mounts occasionally and it's driven me
nuts. It seems only a reboot clears it. I haven't seen it since
10.4.8, but I don't know that that is relevant. I haven't really
tracked it, and it could be that it hasn't happened since an older
rev. and I just didn't notice when it stopped.
Now for the real fun - another thing that can keep a volume busy is a
long
write.
Basically put, if a long write is done to a volume, but the buffers
have not
yet been synced to the disk, the system will see the volume as busy
but no
actual files will be open on the disk.
Usually this occurs if a vast quantity of data is being written to
the disk
amd the writer takes an interrupt, and the interrupt routine closes
the files
and expects to be able to unmount the volume. Depending on the
timing, you
may find your unmount failing with an EBUSY for no (apparently) good
reason...
William Kucharski
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden