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 [thread overview]
Message-ID: <45253F4D.4010904@davidb.org> (raw)
In-Reply-To: <45250726.5070300@idealcorp.com>
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
next prev parent reply other threads:[~2006-10-05 17:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-05 13:22 [linux-lvm] Avoiding disk changes John Ward
2006-10-05 17:22 ` David Brown [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-10-04 19:10 John Ward
2006-10-05 10:36 ` Fabien Jakimowicz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45253F4D.4010904@davidb.org \
--to=lvm@davidb.org \
--cc=linux-lvm@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.