umount a busy filesystem

  • Follow


Folks,

How do i umount a busy /tmp filesystem?

Purpose: to extend the filesystem.

Online jfs not installed.

-----------------------------------------------------------------------------------
bash-3.00# fuser -ku /dev/vg00/lvol4; umount /tmp
/dev/vg00/lvol4:

umount: cannot unmount /tmp : Device busy
umount: return error 1.
bash-3.00# umount /dev/vg00/lvol4
umount: cannot unmount /tmp : Device busy
umount: return error 1.
----------------------------------------------------------------------------------


Thanks in advace

0
Reply RajSasidharan (6) 5/22/2006 2:16:49 PM

You have to shutdown to single user mode, and then you can extend the
file system. If you try, using sam, sam will get you the exact commands
to do it as sam can't do it for you.

0
Reply Papa 5/22/2006 3:38:30 PM


"archilles" <RajSasidharan@gmail.com> wrote in message 
news:1148307409.843692.253090@y43g2000cwc.googlegroups.com...
> Folks,
>
> How do i umount a busy /tmp filesystem?
>
> Purpose: to extend the filesystem.
>
> Online jfs not installed.
>
> -----------------------------------------------------------------------------------
> bash-3.00# fuser -ku /dev/vg00/lvol4; umount /tmp
> /dev/vg00/lvol4:
>
> umount: cannot unmount /tmp : Device busy
> umount: return error 1.
> bash-3.00# umount /dev/vg00/lvol4
> umount: cannot unmount /tmp : Device busy
> umount: return error 1.
> ----------------------------------------------------------------------------------
>
>
> Thanks in advace
>

Here's what I would do.

1) Figure out why the mount is "busy" by figuring out what processes are 
using it by issuing the command
fuser -cu /tmp
2) Kill those processes displayed by "fuser".
3) You should now be able to "umount /tmp" and do the lvextend and extendfs



0
Reply Cesar 5/22/2006 6:47:04 PM

"Cesar Neri" <Cesar.Neri@hp.com> wrote in message 
news:IGncg.896$1i6.12@news.cpqcorp.net...
>
> "archilles" <RajSasidharan@gmail.com> wrote in message 
> news:1148307409.843692.253090@y43g2000cwc.googlegroups.com...
>> Folks,
>>
>> How do i umount a busy /tmp filesystem?
>>
>> Purpose: to extend the filesystem.
>>
>> Online jfs not installed.
>>
>> -----------------------------------------------------------------------------------
>> bash-3.00# fuser -ku /dev/vg00/lvol4; umount /tmp
>> /dev/vg00/lvol4:
>>
>> umount: cannot unmount /tmp : Device busy
>> umount: return error 1.
>> bash-3.00# umount /dev/vg00/lvol4
>> umount: cannot unmount /tmp : Device busy
>> umount: return error 1.
>> ----------------------------------------------------------------------------------
>>
>>
>> Thanks in advace
>>
>
> Here's what I would do.
>
> 1) Figure out why the mount is "busy" by figuring out what processes are 
> using it by issuing the command
> fuser -cu /tmp
> 2) Kill those processes displayed by "fuser".
> 3) You should now be able to "umount /tmp" and do the lvextend and 
> extendfs

Whilst technically correct, you are unlikely to be able to safely kill off 
everything that is using the /tmp filesystem (and keep them killed off). In 
any kind of "live" system the /tmp filesystem will *always* be busy.

The above advice will work when trying to extend a "user" filesystem, but is 
unlikely to be practical for any of the "system" filesystems. The only 
reliable way to extend a "system" filesystem will be to reboot into single 
user mode. 



*** Posted via a free Usenet account from http://www.teranews.com ***
0
Reply Kilgaard 5/23/2006 3:03:17 AM

3 Replies
796 Views

(page loaded in 0.07 seconds)

Similiar Articles:












7/23/2012 11:55:27 AM


Reply: