[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [linux-lvm] Avoiding disk changes
- From: David Brown <lvm davidb org>
- To: LVM general discussion and development <linux-lvm redhat com>
- Subject: Re: [linux-lvm] Avoiding disk changes
- Date: Thu, 05 Oct 2006 10:22:21 -0700
John Ward wrote:
>> Try to use hdparm to set your hard-drive in read-only mode.
> Interesting suggestion, certainly shouldn't hurt. But AFAIK the device
> mapper runs in the kernel and it's going to do it's "own thing" before I
> get a chance to hdparm it.
The device mapper runs in the kernel, but it has no knowledge of the lvm
structures. This is all done at user level.
I've forgotten in the thread whether or not this is a removable device. If
it is, you can plug it in after startup, hdparm if that makes you more
comfortable, and then rescan for physical volumes. If it is a more
permanently attached volume, you might have to modify the OS's startup
scripts to achieve this.
Perhaps you should use a CD-bootable rescue system (I recommend RIP Linux).
At least RIP boots up, and you have to start LVM manually, which would give
you a chance run hdparm and make it read only.
Dave Brown
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]