Operating System - HP-UX
1832082 Members
3084 Online
110037 Solutions
New Discussion

increase Filesystems using online JFS

 
David_246
Trusted Contributor

increase Filesystems using online JFS

Hi,

I would like to increase two current FS's. Can you please confim that the multiplier for fsadm is done correct? I found two different explanations on the web. One is (LE*1024) the other one is (MB * 1024). Please help.

LV Name /dev/vg01/lvol03
LV Status available/syncd
LV Size (Mbytes) 31744
Current LE 7936
Allocated PE 7936
Used PV 1

lvextend ???l 8228 /dev/vg01/lvol03 ( 7936 + 292 = 8228 )
fsadm ???F vxfs ???b 33701888 /orapkg/ora003 ( 8228 * 1024 * 4 = 33.701.888 )

LV Name /dev/vg01/lvol06
LV Status available/syncd
LV Size (Mbytes) 26988
Current LE 6747
Allocated PE 6747
Used PV 1

lvextend ???l 8247 /dev/vg01/lvol06 ( 6747 + 1500 = 8247 )
fsadm ???F vxfs ???b 33779712 /orapkg/ora006 ( 8247 * 1024 * 4 = 33.779.712 )


Regs David
@yourservice
5 REPLIES 5
Claudio_17
Frequent Advisor

Re: increase Filesystems using online JFS

I think is right . I've done many times.

Regards




Geoff Wild
Honored Contributor

Re: increase Filesystems using online JFS

Why not just do it in MBs?

I'm assuming a PE size of 4?

lvextend -L 32998 /dev/vg01/lvol06
fsadm -b 32998M /orapkg/ora006

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Stefan Farrelly
Honored Contributor

Re: increase Filesystems using online JFS

Your multiplier is correct;

LV size in MB * 1024
or
PE size * PE * 1024
Im from Palmerston North, New Zealand, but somehow ended up in London...
Marco Santerre
Honored Contributor

Re: increase Filesystems using online JFS

Your multiplier is correct as long as when you do a vgdisplay of your VG, it does show you a PE Size of 4.

PE Size * PE * 1024 will equal the amount that you need to put in your -b option of fsadm
Cooperation is doing with a smile what you have to do anyhow.
David_246
Trusted Contributor

Re: increase Filesystems using online JFS

Perfect !!

Thank you all for your help !!
The checkup afterwards can also easily be done :

LV Name /dev/vg01/lvol06
LV Status available/syncd
LV Size (Mbytes) 32988
Current LE 8247
Allocated PE 8247
Used PV 1

32988*1024 = 33779712

bdf /orapkg/ora006 :
Filesystem kbytes used avail %used Mounted on
/dev/vg01/lvol06 33779712 1182816 32342568 4% /orapkg/ora006

So we see our number back in the bdf output.

Again thanks a lot for your help !!

Regs David
@yourservice