Re: Use lvcreart -m to make a mirror

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fang,Dongyu wrote:
> When I use `lvcreate -l 4 --mirrors 1 -n mirror1 /dev/vg1` want to
> create  mirror LV, I got four LV:
>  ACTIVE            '/dev/vg1/mirror1' [16.00 MB] inherit
>  ACTIVE            '/dev/vg1/mirror1_mlog' [4.00 MB] inherit
>  ACTIVE            '/dev/vg1/mirror1_mimage_0' [16.00 MB] inherit
>  ACTIVE            '/dev/vg1/mirror1_mimage_1' [16.00 MB] inherit
> I think the LV mirror1 is the origin LV, mirror1_mlog is log, the two
> others should be images LV, so why there are two images(in my opinion,
> it should be only one), and I how to use then? Can I mount it?

/dev/vg1/mirror1 is the device you mount, the _mimage_ are internal devices
for LVM. You have the "original" (mimage_0) and the mirror (mimage_1).

The later revisions of LVM will hide these from the lvscan & lvs commands.
-- 

patrick

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux