|
|
umount a busy filesystem
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: umount a busy filesystem - comp.sys.hp.hpuxFolks, How do i umount a busy /tmp filesystem? Purpose: to extend the filesystem. Online jfs not installed. -----... Any tutorial for umount the fie system and do the fsck? - comp ...umount a busy filesystem - comp.sys.hp.hpux Folks, How do i umount a busy ... gasp ; yes ; more ; umount ... 1MP1 fsck fails to run on Intent Log Version 10 filesystem ... Shell Script for mount/umount VXFS - comp.unix.solarisGuys, Anyone has mount/umount shell Script for VXFS? ... run a script ... If you do need a full fsck, umount the filesystem ... 21705: mount-point cannot unmount : Device busy how to remove a stale mount point - comp.unix.solarisumount a busy filesystem - comp.sys.hp.hpux how to remove a stale mount point - comp.unix.solaris However this leaves the mount point in the busy state, you have to remove ... Filesystem "automatically" damaged? - comp.unix.solarisumount a busy filesystem - comp.sys.hp.hpux Folks, How do i umount a busy /tmp filesystem? Purpose: to extend the filesystem. Online jfs not installed. lucreate error - comp.unix.solarisumount a busy filesystem - comp.sys.hp.hpux lucreate error - comp.unix.solaris ERROR: Unable to umount ABE <c1t1d0s1>: cannot make ABE ... Tag - filesystem - wildness ... Unable to mount /proc - comp.unix.solarisumount a busy filesystem - comp.sys.hp.hpux... point - comp.unix.solaris However this leaves the mount ... lucreate error - comp.unix.solaris ERROR: Unable to ... when ... vxfs errors - not sure about - comp.unix.solarisumount a busy filesystem - comp.sys.hp.hpux vxfs errors - not sure about - comp.unix.solaris Filesystem "automatically" damaged? - comp.unix.solaris ... ... Stale NFS handle, cannot re-mount - comp.unix.solarisumount a busy filesystem - comp.sys.hp.hpux Stale NFS handle, cannot re-mount - comp.unix.solaris If the filesystem has changed since it was shared, this could potentially ... How to use the umount command, by The Linux Information Projectumount /mnt/usb. Attempts to unmount a filesystem are not always successful. The most common problem is that the filesystem is busy. That is, it is currently being used by ... Troubleshooting the "device is busy" Error Attempting to umount a DiskTroubleshooting the "device is busy" Error Attempting to umount a Disk. by Jeff Hunter, Sr. Database Administrator. Before attempting to dismount a filesystem, it ... 7/23/2012 11:55:27 AM
|
|
|
|
|
|
|
|
|