Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

i was finishing up a job with a compact flash when, trying to unmount it:

#> umount /dev/sda2 
umount: it seems /dev/sda2 is mounted multiple times

Looking at what mount says:

#> mount | column -t | grep sda2
/dev/sda2  on  /mnt/flashrw  type  ext3      (rw,nosuid,nodev)
/dev/sda2  on  /mnt/flashrw  type  ext3      (rw,nosuid,nodev,user=myuser)

it seems that I accidentally mounted the same device on the same location (though in two different ways).

I tried to unmount it many times also with:

#> umount /mnt/flashrw 
umount: it seems /mnt/flashrw is mounted multiple times

with no luck. Finally, I tried:

#> sudo umount -f /dev/sda2

but umount locked completely.

So the question is: and now?

share|improve this question

3 Answers 3

Had this in RHEL6 - trying to umount -l as a user gave this error message, but as root, umount -l seemed to work fine...

share|improve this answer
up vote 0 down vote accepted

Most probably it was a kernel bug due to an unstable patch interaction. I was using a 3.4.11 vanilla kernel patched with the corresponding RT-PREEMPT patch by Ingo Molnar.

Due to a severe memory leak, I moved to 3.6.4 vanilla + RT-PREEMPT patch and now the system seems to be really stable. The problem has never presented again. Hope this may help someone in the future.

share|improve this answer

Try running this command:

sudo umount /mnt/flashrw
share|improve this answer
1  
Yup, fixed it for me. That was the most misleading error message I have seen in a a while. –  Laurens Holst Jan 13 '13 at 1:45

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.