Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
another "cannot unmount - resource or device busy" problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
snIP3r
l33t
l33t


Joined: 21 May 2004
Posts: 853
Location: germany

PostPosted: Fri Mar 07, 2008 2:53 pm    Post subject: another "cannot unmount - resource or device busy" Reply with quote

hi all!

i am trying to unmount my dm-crypt encrypted partition with no success - this does not happen before. i got the following messages and also lsof nor fuser do find any process accessing the partition:

Code:

area52 ~ # umount -f /various
umount2: Device or resource busy
umount: /various: device is busy
umount2: Device or resource busy
umount: /various: device is busy
area52 ~ # lsof /various
area52 ~ # fuser /various -v
area52 ~ #


i also stopped samba to get the partition unmounted but no success. according to this post https://forums.gentoo.org/viewtopic-t-528830.html rebooting seems to be the only solution. does anyone perhaps know other solutions not mentioned in this thread? also googling or searching here gives me no solutions.

any suggestions??

thx & greets
snIP3r
_________________
Intel i3-4130T on ASUS P9D-X
Kernel 5.15.88-gentoo SMP
-----------------------------------------------
if your problem is fixed please add something like [solved] to the topic!
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2152

PostPosted: Fri Mar 07, 2008 3:02 pm    Post subject: Reply with quote

You don't have anymore windows/shells open, which refer to this directory and you have issued a `sync`?
Back to top
View user's profile Send private message
snIP3r
l33t
l33t


Joined: 21 May 2004
Posts: 853
Location: germany

PostPosted: Fri Mar 07, 2008 4:50 pm    Post subject: Reply with quote

ph030 wrote:
You don't have anymore windows/shells open, which refer to this directory and you have issued a `sync`?


hi!

yes, no windows or shells refer to this directory. but what exactly do you mean by "sync"?? a filesystem sync?
_________________
Intel i3-4130T on ASUS P9D-X
Kernel 5.15.88-gentoo SMP
-----------------------------------------------
if your problem is fixed please add something like [solved] to the topic!
Back to top
View user's profile Send private message
jomen
Guru
Guru


Joined: 04 Jan 2006
Posts: 536
Location: Leipzig, Germany

PostPosted: Fri Mar 07, 2008 8:28 pm    Post subject: Reply with quote

although it looks like you are doing this from whithin your /home/* directory...

This kind of thing also happens when you are still in a directory which is within the partition to be unmounted.
Code:
pwd

will reveal this.
Code:
man sync

"sync" writes the filesystems buffers to disc

HTH
_________________
Cheers
Back to top
View user's profile Send private message
snIP3r
l33t
l33t


Joined: 21 May 2004
Posts: 853
Location: germany

PostPosted: Fri Mar 07, 2008 8:38 pm    Post subject: Reply with quote

jomen wrote:
although it looks like you are doing this from whithin your /home/* directory...

This kind of thing also happens when you are still in a directory which is within the partition to be unmounted.
Code:
pwd

will reveal this.
Code:
man sync

"sync" writes the filesystems buffers to disc

HTH


yes i am logged in as root and i am in ~

even after "sync" i got this message. also after sync and then forcing unmount it is not working...
_________________
Intel i3-4130T on ASUS P9D-X
Kernel 5.15.88-gentoo SMP
-----------------------------------------------
if your problem is fixed please add something like [solved] to the topic!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum