Re: Mirror fail/recover test

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

 



jose nuno neto [jose.neto@liber4e.com] wrote:
> Hi
> 
> I'm trying to test the failure of a SAN Mirrored Lv, and the recover and
> check for data lost.
> 
> Im runing RedHat 5.4
> 2.6.18-164.2.1.el5
> lvm2-2.02.46-8.el5_4.1
> 
> I create a 2mirror+log lv ok, can lvconvert to one leg only, can delete ok.
> But when I simulate a disk fail either with
> dd if=/dev/zero of=pvmirror_device
> echo offline > /sys/block/pvmirror_device/device/status

What is the output of "dmsetup status" at this point?
There must be some messages in the /var/log/messages file if you enable
them.

> lvs -a -o +devices
> stills shows the lv has mirrored ( should switch to non-mirrored right?) ,

Yes, provided you successfully started the dmeventd monitoring thread
and it handled the failure event.

Thanks, Malahal.

_______________________________________________
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