prob unmounting FAT32 drives in 8.2
OK, I've fumbled about with this one for a while now, and can't solve it. For some reason I cannot unmount my FAT32 drives in SuSE8.2. Did my usual tweaked version of the default install of 8.2. Everything was nicely autodetected including my FAT32 partitions I use as a x-platform storage area. On boot, these are automounted. I can unmount the drives at this point (I know I can change this in the fstab, just haven't got around to it yet). If I decide I want to access the drives again and click the desktop icon, they mount normally. When I finish using the drive, I try to unmount and I get an error message: umount: /winodws/D: device is busy I get the same message if I pop open a terminal and try to umount as root user. The only way I've found to unmount is to force it with a umount -l /windows/D Not the most elegant or clean option in my opinion. A bit more experimenting and it seems to be tied to the Konq file manager. If I right click the icon and mount the drive (or do it at the command line), I can unmount it via the desktop icon (or by the command line). If Konq comes into the picture, I can never normally unmount the drive again... even if I let it sit. So... any ideas? What is Konq doing to the drive that makes mount think it's still busy? C.
On 05/24/2003 04:48 AM, Clayton Cornell wrote:
OK, I've fumbled about with this one for a while now, and can't solve it. For some reason I cannot unmount my FAT32 drives in SuSE8.2.
Did my usual tweaked version of the default install of 8.2. Everything was nicely autodetected including my FAT32 partitions I use as a x-platform storage area. On boot, these are automounted. I can unmount the drives at this point (I know I can change this in the fstab, just haven't got around to it yet). If I decide I want to access the drives again and click the desktop icon, they mount normally. When I finish using the drive, I try to unmount and I get an error message:
umount: /winodws/D: device is busy
Did you view the drive in Konqueror? If konq is still open, try closing it first. I think if it is still in the history, it keeps it busy. YMMV -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Web Address: http://www.mydestiny.net/~joe_morris Registered Linux user 231871 God said, I AM that I AM. I say, by the grace of God, I am what I am.
On Saturday 24 May 2003 04:33, Joe Morris (NTM) wrote:
Did my usual tweaked version of the default install of 8.2. Everything was nicely autodetected including my FAT32 partitions I use as a x-platform storage area. On boot, these are automounted. I can unmount the drives at this point (I know I can change this in the fstab, just haven't got around to it yet). If I decide I want to access the drives again and click the desktop icon, they mount normally. When I finish using the drive, I try to unmount and I get an error message:
umount: /winodws/D: device is busy
Did you view the drive in Konqueror? If konq is still open, try closing it first. I think if it is still in the history, it keeps it busy. YMMV
Ooops, wasn't clear on that one... yes, I close/exit Konq. completely. While I was trying to pin down what is going on, I've exited everything, and checked running processes (top and ps) to see if something was left laying around. Also made sure I didn't have a terminal window open that was pointing to that drive etc. I cannot find anything obvious that is hanging onto the mountpoint and keeping it busy... C.
On Sat, 24 May 2003 06:50:55 +0200
Clayton Cornell
Ooops, wasn't clear on that one... yes, I close/exit Konq. completely. While I was trying to pin down what is going on, I've exited everything, and
checked running processes (top and ps) to see if something was left laying around. Also made sure I didn't have a terminal window open that was pointing to that drive etc. I cannot find anything obvious that is hanging onto the mountpoint and keeping it busy... umount -f should be able to force the unmounting. -- Jerry Feldman
Boston Linux and Unix user group http://www.blu.org PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9
On Saturday 24 May 2003 15:06, Jerry Feldman wrote:
On Sat, 24 May 2003 06:50:55 +0200
Clayton Cornell
wrote: Ooops, wasn't clear on that one... yes, I close/exit Konq. completely. While I was trying to pin down what is going on, I've exited everything, and
checked running processes (top and ps) to see if something was left laying around. Also made sure I didn't have a terminal window open that was pointing to that drive etc. I cannot find anything obvious that is hanging onto the mountpoint and keeping it busy...
umount -f should be able to force the unmounting.
Yes, and so does umount -l (as I pointed out that I used, in the original email). Problem is, using the "force" or "lazy" options are a solution of sorts, but it does not solve the problem... only provides a messy workaround. C.
On Sat, 24 May 2003 15:22:39 +0200
Clayton Cornell
Yes, and so does umount -l (as I pointed out that I used, in the original email). Problem is, using the "force" or "lazy" options are a solution of sorts, but it does not solve the problem... only provides a messy workaround. I agree. Somewhere you have an active process that had CD'd to that filesystem. I had a similar issue with the DVD on SuSE 8.2 last night. I mounted it, but could not umount it without forcing. -- Jerry Feldman
Boston Linux and Unix user group http://www.blu.org PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9
On Saturday 24 May 2003 15:50, Jerry Feldman wrote:
On Sat, 24 May 2003 15:22:39 +0200
Yes, and so does umount -l (as I pointed out that I used, in the original email). Problem is, using the "force" or "lazy" options are a solution of sorts, but it does not solve the problem... only provides a messy workaround.
I agree. Somewhere you have an active process that had CD'd to that filesystem. I had a similar issue with the DVD on SuSE 8.2 last night. I mounted it, but could not umount it without forcing.
So this is where it gets a bit interesting. No active processes (that I know of) are trying to read the FAT32 drive. I click the desktop icon, and this mounts the drive (a seperate physical drive from my Linux drive) and opens Konq showing the drive contents. If I immediately exit Konq, I cannot umount the drive. I haven't used any other application to access the drive, and I cannot find anything that is still running that is attached to that mount point. If I open a terminal/konsole and mount the drive from the command line, and can copy files or whatever, and then umount the drive without any errors or problems. It all seems linked to whatever Konq is doing or leaving behind. I have done some more digging and have come across an option in Konq that is the culprit. In the Konq settings, there is a performance option to always have at least one instance of Konq preloaded - makes it faster. If it is set to have at least one instance of Konq always open (default setting is 1) it will maintain that link to the drive I want to unmount. So.. if anyone else is having this problem, set the preload to zero (0). It means Konq takes a half second longer to start up (well on my system anyway), but you are not annoyed with a drive that won't umount. C.
On Saturday 24 May 2003 10:11 am, Clayton Cornell wrote:
On Saturday 24 May 2003 15:50, Jerry Feldman wrote:
On Sat, 24 May 2003 15:22:39 +0200
Yes, and so does umount -l (as I pointed out that I used, in the original email). Problem is, using the "force" or "lazy" options are a solution of sorts, but it does not solve the problem... only provides a messy workaround.
I agree. Somewhere you have an active process that had CD'd to that filesystem. I had a similar issue with the DVD on SuSE 8.2 last night. I mounted it, but could not umount it without forcing.
So this is where it gets a bit interesting. No active processes (that I know of) are trying to read the FAT32 drive. I click the desktop icon, and this mounts the drive (a seperate physical drive from my Linux drive) and opens Konq showing the drive contents. If I immediately exit Konq, I cannot umount the drive. I haven't used any other application to access the drive, and I cannot find anything that is still running that is attached to that mount point.
If I open a terminal/konsole and mount the drive from the command line, and can copy files or whatever, and then umount the drive without any errors or problems. It all seems linked to whatever Konq is doing or leaving behind.
What's in your fstab? Sounds to me like the difference is coming from how the partition gets mounted. (and maybe who mounts it) Clicking on the icon would cause a user mount, and the mount would be based on the information in the fstab. Doing a manual mount: mount /dev/xxx /<mountpoint> would not use information in the fstab. But you haven't given enough information as to how you mounted the partition.
I have done some more digging and have come across an option in Konq that is the culprit. In the Konq settings, there is a performance option to always have at least one instance of Konq preloaded - makes it faster. If it is set to have at least one instance of Konq always open (default setting is 1) it will maintain that link to the drive I want to unmount.
So.. if anyone else is having this problem, set the preload to zero (0). It means Konq takes a half second longer to start up (well on my system anyway), but you are not annoyed with a drive that won't umount.
C.
-- +----------------------------------------------------------------------------+ + Bruce S. Marshall bmarsh@bmarsh.com Bellaire, MI 05/24/03 11:03 + +----------------------------------------------------------------------------+ "Live a clean, healthy life and you will soon die of boredom."
On Fri, 23 May 2003 22:48:02 +0200
Clayton Cornell
OK, I've fumbled about with this one for a while now, and can't solve it. For some reason I cannot unmount my FAT32 drives in SuSE8.2.
I notice that if you mount it in a separate Konqueror Window and close it first before umounting- it will unmount. I use KwikDisk to do that and have no problems unmounting. Charles -- "I once witnessed a long-winded, month-long flamewar over the use of mice vs. trackballs...It was very silly." (By Matt Welsh)
participants (5)
-
Bruce Marshall
-
Charles Philip Chan
-
Clayton Cornell
-
Jerry Feldman
-
Joe Morris (NTM)