Operating System - HP-UX
1833016 Members
2760 Online
110048 Solutions
New Discussion

lvextended size is not usable

 
SOLVED
Go to solution
J.A.R. Karremans
Frequent Advisor

lvextended size is not usable

I have succesfully extended my mirrored logical volumes lvol10 en lvol11 to new and larger sizes on my mirrored disks.
But, alas, the new sizes 20GB and 2GB do not show up in bdf and are, also, not usable... What steps are missing, what did I do wrong?

One example:

lvsplit /dev/vg00/lvol10
lvextend -L 20000 /dev/vg00/lvol10 /dev/dsk/c1t15d0
lvextend -L 20000 /dev/vg00/lvol10b /dev/dsk/c0t10d0
lvmerge /dev/vg00/lvol10b /dev/vg00/lvol10
lvsync /dev/vg00/lvol10

bdf output:

/dev/vg00/lvol10 17408000 17029392 366834 98% /dbs1

vgdisplay -v vg00 output:

LV Name /dev/vg00/lvol10
LV Status available/syncd
LV Size (Mbytes) 20000
Current LE 2500
Allocated PE 5000
Used PV 2

Please advice!

Regards,
Jan
3 REPLIES 3
Fred Ruffet
Honored Contributor
Solution

Re: lvextended size is not usable

You must also extend the filesystem on the LV.

assuming this is JFS, you have two possibilities :
. If you have online JFS, you can increase by "fsadm -b /dbs1
. It you don't, you must then stop all running process accessing this FS (fuser -cu /dbs1" may help), then use extendfs, then remount FS.

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)
Bharat Katkar
Honored Contributor

Re: lvextended size is not usable

Hi Jan,
If it is not Online JFS then you have to do "extendfs".
Regards,
You need to know a lot to actually know how little you know
J.A.R. Karremans
Frequent Advisor

Re: lvextended size is not usable

Whoops, I am sorry... I forgot to extend the filesystem... *Blush*

Thanx very much for reminding me!!

Regards,
Jan