Operating System - HP-UX
1836462 Members
2020 Online
110101 Solutions
New Discussion

how do lvchange for logical volume in LVM

 
SOLVED
Go to solution
benseghir_1
Advisor

how do lvchange for logical volume in LVM

how to change logical volume to be mirrored without lost data in this logical volume, how can i precise the mirrored logical volume for it

thank you for your help
2 REPLIES 2
Gary L. Paveza, Jr.
Trusted Contributor
Solution

Re: how do lvchange for logical volume in LVM

To create a mirror:

lvextend -m 1 /dev//

Of course you have to have enough space in the volume group to do this.
Gordon  Morrison
Trusted Contributor

Re: how do lvchange for logical volume in LVM

lvextend -m 1

where is the logical volume to mirror, and is the physical volume to use as the mirror
-m 1 specifies the number of mirrors (max 2)
What does this button do?