1833777 Members
2244 Online
110063 Solutions
New Discussion

OnlineJFS & mirroring

 
SOLVED
Go to solution
kholikt
Super Advisor

OnlineJFS & mirroring

Is there any procedure to use the Online JFS a lv with mirroring
abc
3 REPLIES 3
S.K. Chan
Honored Contributor
Solution

Re: OnlineJFS & mirroring

First make sure OnlineJFS is installed.
# swlist -l bundle |grep JFS

To use it , for example ..

Assuming you have /dev/vg01/test mounted to /test you can increase /test to say 800MB "on-the-fly" by ...

1) Using command line ..
# lvextend -L 800 /dev/vg01/test
# fsadm -b 819200 /test
|
800*1024

2) Using SAM ..
Logical Volume -> Increase Size

Reducing a LV "on-the-fly" works as well but not recommended.
Michael Tully
Honored Contributor

Re: OnlineJFS & mirroring

Hi,

On-Line JFS is used primarily so that
filesystem sizes can be increased and
to a lesser extent decrease without
the need of unmounting them. This use
of this with mirroring does not really
change. What is your specific question?

Michael

Anyone for a Mutiny ?
S.K. Chan
Honored Contributor

Re: OnlineJFS & mirroring

As long as your lvol is initially created with mirroring you're ok. Eg :
# lvcreate -L 2000 -m 1 -s g -n lvol1 /dev/vg01

Create 2GB lvol1, mirror 1 copy, PVG-strict on.