All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] Mirror fail/recover test
@ 2010-02-24 16:14 jose nuno neto
  2010-02-24 18:55 ` malahal
  0 siblings, 1 reply; 16+ messages in thread
From: jose nuno neto @ 2010-02-24 16:14 UTC (permalink / raw)
  To: linux-lvm

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

lvs -a -o +devices
stills shows the lv has mirrored ( should switch to non-mirrored right?) ,
and show Unknonwn device on the pvmirror_device I destroy

When I issue a lvconvert -m 0 complains about pv --uuid not found, if I
try to pvcreate --uuid pvmirror_device I got a error complaining about
still mounted device
If I try lvconvert --repair i hangs forever

What should be the correct procedure to recover from this?

Thanks
Jose

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2010-04-19  9:22 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-24 16:14 [linux-lvm] Mirror fail/recover test jose nuno neto
2010-02-24 18:55 ` malahal
2010-02-25 10:36   ` jose nuno neto
2010-02-25 16:11     ` malahal
2010-03-02 10:31       ` [linux-lvm] Mirror fail/recover test SOLVED jose nuno neto
2010-04-14 15:03         ` [linux-lvm] Lvm hangs on San fail jose nuno neto
2010-04-14 17:38           ` Eugene Vilensky
2010-04-14 23:02           ` brem belguebli
2010-04-15  8:29             ` jose nuno neto
2010-04-15  9:32               ` Bryan Whitehead
2010-04-15 11:59               ` jose nuno neto
2010-04-15 12:41                 ` Eugene Vilensky
2010-04-16  8:55                   ` jose nuno neto
2010-04-16 20:15                     ` Bryan Whitehead
2010-04-17  9:00                     ` brem belguebli
2010-04-19  9:21                       ` jose nuno neto

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.