Re: Simulating LVM Mirror Failure and recovery

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

 



On Thursday, 2009-04-16 at 07:58:31 -0600, Eric Brunson wrote:

> Upon review, I think it's correct, but worded awkwardly:

Maybe it's because I'm not a native speaker, but I find it difficult to
understand this differently.

>    In this example, the primary leg of the mirror |/dev/sda1| fails.

It fails. Not "we make it fail". No indication what makes it fail.

>    Any write activity to the mirrored volume causes LVM to detect the
>    failed mirror. When this occurs, LVM converts the mirror into a
>    single linear volume. In this case, to trigger the conversion, we
>    execute a |dd| command

"we execute a |dd| command" "to trigger the *conversion*". Not to make
it fail.

> I believe the dd is not to cause the failure, it's simply to generate  
> write activity to the volume group after the mirror leg has been caused  
> to fail through other means not documented.

... as they said ...

So the dd command the OP sent was correct after all. He just
misunderstood its purpose.

Now back to our original topic - how do you make a mirror copy fail? ;-)

Lupe Christoph
-- 
| There is no substitute for bad design except worse design.                   |
| /me                                                                          |

_______________________________________________
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