[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [linux-lvm] Simulating LVM Mirror Failure and recovery
- From: Takahiro Yasui <tyasui redhat com>
- To: LVM general discussion and development <linux-lvm redhat com>
- Subject: Re: [linux-lvm] Simulating LVM Mirror Failure and recovery
- Date: Thu, 16 Apr 2009 12:02:14 -0400
malahal us ibm com wrote:
> I usually run "echo 1 > /sys/block/sda/device/delete" to make /dev/sda
> disappear and fail for LVM tests. You can fail the disk in a lot of ways
> depending on your hardware, but this trick works with almost every
> device!
# echo offline > /sys/block/sda/device/state
might work as well. In this case, you can recover the failure by
# echo running > /sys/block/sda/device/state
Thanks,
Taka
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]