Operating System - HP-UX
1834178 Members
2358 Online
110064 Solutions
New Discussion

Unable to increase file system

 
SOLVED
Go to solution
Greg Stark_1
Frequent Advisor

Unable to increase file system

I have an 10.20 box that I'm trying to make an existing file system larger on. In SAM, I go to the corresponding Logical Volumes and choose increase size. SAM us unable to umount the file system becaue the device is busy. I have done an fuser on the directory and it doesn't come back with anything. I've also grepped the ps listing for the directory and get nothing.

What am i missing?
Thanks
Greg
3 REPLIES 3
Bill McNAMARA_1
Honored Contributor

Re: Unable to increase file system

umount the filesystem before you run the extendfs command... unless you have onlineJFS.

ie:
mount
/dev/vg01/lvol9 /myfs
myfs is mounted on lvol9 of vg01
lvextend -L 800 /dev/vg01/lvol9
800MB new size
umount /myfs
... busy
cd /
umount /myfs
mount
/myfs is not mounted
extendfs /dev/vg01/rlvol9

mount /dev/vg00/lvol9 /myfs

Later,
Bill



Later,
Bill
It works for me (tm)
Volker Borowski
Honored Contributor
Solution

Re: Unable to increase file system

Hi,

you should do "fuser -c /mountpoint"

-c Display the use of a mount point and any file beneath that mount point. Each file must be a file system mount point.

Kill the one blocking and umount.
For some filesystems you might need to go to single user mode.

Hope this helps
Volker
Pedro Sousa
Honored Contributor

Re: Unable to increase file system

Hi Greg!
Bill has done all the work.
I just want to add that you need to specify the type of filesystem you're extending:
extenfs -F /dev/vgxx/lvolxx
unless it is the same included on /etc/default/fs.

good luck.