LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   system unable to umount hard disk (https://www.linuxquestions.org/questions/linux-hardware-18/system-unable-to-umount-hard-disk-413167/)

dipenchaudhary 02-08-2006 05:07 PM

system unable to umount hard disk
 
hii
i mount windows xp partition through fstab ..and these days its unable to unmount the partition when i put it down on shutdown ... it sends the kill all signal ... but when it comes to unmounting this partition .. it says
device busy ...
unable to unmount ... it used to fail before tooo .. but then it atleast proceeded till acpi_off
but now it gets stuck ... keep displaying unmount failed .
device busy ... then i had to use the power button ... after reboot it gave a file system check ...

i m posting my fstab file entry

/dev/hda1 /home/dipen/Desktop/winxp vfat defaults 0 0

thnks in advance

pljvaldez 02-08-2006 05:24 PM

try this:

/dev/hda1 /home/dipen/Desktop/winxp vfat defaults,users,umask=0000 0 0

Oh, and is your xp partition actually fat32 or is it NTFS? What is the output of fdisk -l?

If it's NTFS, it should be

/dev/hda1 /home/dipen/Desktop/winxp ntfs defaults,users,ro,umask=0222 0 0

haertig 02-08-2006 06:20 PM

Try manually unmounting it and see if you experience the same error (I suspect you will). Then, to find out what's holding up the unmounting, try running lsof ("list open files").
Code:

$ su
# lsof /dev/hda1

In order to unmount a filesystem you can't have anybody using it. Normally during a shutdown, processes are killed and thus you won't have anybody using a filesystem and blocking the unmount. You might have some process that isn't getting killed. The lsof might give you a hint as to what that might be, if anything. A place to start, at least...


All times are GMT -5. The time now is 01:45 PM.