1832915 Members
3122 Online
110048 Solutions
New Discussion

Mirror/Disk

 
Luis_133
Occasional Contributor

Mirror/Disk

who do I extend a Volumen LVM in mirror ..??
4 REPLIES 4
James R. Ferguson
Acclaimed Contributor

Re: Mirror/Disk

Hi:

# lvextend -m 1 /dev/vgNN/lvolX /dev/dsk/cXtYdZ

...for example. See the manpages for 'lvextend'. The key to rememember is the LVM mirroring is done at the *logical volume* level.

Regards!

...JRF...
Torsten.
Acclaimed Contributor

Re: Mirror/Disk

see

http://docs.hp.com/en/B2355-90950/ch06s02.html#cdebgaei

Take care, there are different procedures for mirroring boot devices on PA-RISC and Integrity servers.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Avinash20
Honored Contributor

Re: Mirror/Disk

If you are thinking of extending the Logical Volume which is in mirror, then

# lvextend -L /dev/vgxx/lvolx
# umount /FS
# extendfs -F vxfs /dev/vgxx/lvolx

> There is nothing to be done on the Mirror disk
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Prabhat_1
Occasional Advisor

Re: Mirror/Disk

Hi,

Check if the free PEs are available by

# vgdisplay

(Note that the space should be in multiple of mirror copies e.g. if you want to extend a LV by 100 MB having one mirror copy you should have 200 MB space free in volume group)

you can check no of mirror copies

# lvdisplay | grep -i mirror

then simply extend the LV by

# lvextend -L

if you have online JFS use

# fsadm -F -b <m

if you do not have online JFS then use

# umount
# extendfs -F
# mount

Hope it will help

Cheers !!