Operating System - HP-UX
1837897 Members
3307 Online
110123 Solutions
New Discussion

Re: After extending 100% FS in SAM, changes did not reflect

 

After extending 100% FS in SAM, changes did not reflect

Hi,

I extended a 20GB FS (named u04) to 22 GB using SAM. It is already at 100% util. (0 space left) when I extended it.

If I look at the space using bdf, space is still the same (20GB) while on SAM it says 22GB. Any ideas why the space does not reflect

I cannot umount the FS as it is being used by Oracle. By the way the FS contains Oracle DBF's.

Thanks,
Tope
4 REPLIES 4
Ravi_8
Honored Contributor

Re: After extending 100% FS in SAM, changes did not reflect

Hi,

You need to unmount the file system while extending.

If you have OnLine JFS installed, then you can do this without unmounting.

from your post it looks like you don't have JFS installed, so you need to unmount file system before extending it.

one more thing is you must use
#extendfs /dev/vgxx/rlvolx
after extending using lvextend
never give up
Michael Tully
Honored Contributor

Re: After extending 100% FS in SAM, changes did not reflect

Unless you have the Online JFS product you can't actually increase the size of the filesystem unless you unmount it first. Online JFS allow you to do this.

you can see if you have online JFS by lookinhg for it in the output of 'swlist'

# swlist -l fileset | grep -i online

At a guess I would say that you don't online JFS and SAM has only extended the logical volume size, not the filesystem itself.

Here is a brief summation on how it is done on the command line if online JFS is installed.
# lvextend -L 22528 /dev/myvg/mylvol
# fsadm -F vxfs -b 23068672 /u04

If the fsadm fails then you don't have it installed. This piece of software requires a license.
Anyone for a Mutiny ?

Re: After extending 100% FS in SAM, changes did not reflect

I have OnlineJFS and already verified it with swlist -l fileset | grep -i vxfs

I have tried extending another FS (/u05) from 20 to 22 GB and it was successful. It has about 30 MB of space left when I extended it.

I think the problem is caused by 0 space left on device when I extended it. Any other ideas?

Thanks,
Tope
Ravi_8
Honored Contributor

Re: After extending 100% FS in SAM, changes did not reflect

Hi,

your command

swlist -l fileset|grep -i vxfs
lists base veritas file system which comes by default along with OS.

If you have less space lvextend will thro the error saying "insufficient blocks".

your problem is either you don't have online JFS or you haven't used exendfs after lvextend
never give up