1836935 Members
3285 Online
110111 Solutions
New Discussion

Re: extend LV

 
SOLVED
Go to solution
prash_1
Frequent Advisor

extend LV

Dear Gurus,
I want to extend LV before that some
questionsin my mind.
1) how to check online JFS is installed or not?
2) If online jfs is installed and I use command
extendfs (after lvectend command) instade of fsadm command what will happen
Thanks.
7 REPLIES 7
Ludovic Derlyn
Esteemed Contributor
Solution

Re: extend LV

hi,

for fisrst question, do

swlist -l product |grep -i online

if jfs online is installed , use fsadm

fsadm -F vxfs -b sizeM /dev/vgxx/lvolxx

regards

L-DERLYN
Pete Randall
Outstanding Contributor

Re: extend LV

# swlist |grep -i online
B3929CA B.11.11 HP OnLineJFS

If you use extendfs, you will need to unmount the file system first, thus negating the advantage of OnlineJFS.


Pete

Pete
Ralph Grothe
Honored Contributor

Re: extend LV

The most obvious check if OnlineJFS is installed would actually be trying to extend the mounted filesystem after you have lvextended.
It would most likely moan that this isn't possible if it weren't installed.

e.g.

# lvextend -l $((no_curr_LEs + no_add_LEs) /dev/vg??/lvol?

# lvdisplay /dev/vg??/lvol? | grep LV\ Size

# fsadm -F vxfs -b lv_sizeM /mount/of/lvol?

Madness, thy name is system administration
Coolmar
Esteemed Contributor

Re: extend LV

Hi Prash,

1) $ swlist -l product |grep JFS
The above command will return the product and version if it is installed

2) If it is installed, do the following to extend your filesystem:
1. Extend logical volume,
#lvextend -L 2000 /dev/vgxx/lvolxx

2. Extend filesystem
#fsadm -b 2000m /filesystem
Indrajit_1
Valued Contributor

Re: extend LV

Hi;

#swlist -l product |grep -i online


check if online JFS in installed.

if not,

u need to unmount the filesystem and run extendfs to increase the LV size.

Cheers;
Indrajit Roy
Never Ever Give Up
Bill Hassell
Honored Contributor

Re: extend LV

extendfs always works. It makes filesystems larger BUT the filesystem cannot be mounted. Online JFS adds the capability to extend the filesystem without un-mounting.


Bill Hassell, sysadmin
prash_1
Frequent Advisor

Re: extend LV

thanks for your replies yesterday I extend lv