Hard to reply to too SJS contributions which have a lot in common.
But I'm trying.

On Dec 11, 2007 11:36 AM, SJS <[EMAIL PROTECTED]> wrote:
>
> All of the LVM examples I looked at mounted disks by location. e.g.,
> "/dev/hda1".  Swapping disks around would interfere with that.
>
> Presumably, disk labels could help here, but none of the examples I
> looked at did it that way, nor did I see that question in the FAQ.
> Maybe I just missed it.

Probably the LVM documentation is older than disk labels.  Or at least
older than the common use of disk labels.

> If you're not using LVM, there's no problem at all. The new drive can
> just drop in and replace the old drive.
>
> Can you tell LVM that /dev/hdb1 is now /dev/hda1 without losing
> information?

LVM puts its own ID string somewhere on the disk.  See a post that I
made to this list several months ago when I discovered that.

Worse problem.  If your extra disk has its contents built while it is
in a USB box, can you tell LVM that /dev/sdc has become /dev/sdb
because you moved it.  Of course, the answer to this is "disk labels",
as long as you avoid having two disks each labeled "Data".

    carl
-- 
    carl lowenstein         marine physical lab     u.c. san diego
                                                 [EMAIL PROTECTED]


-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to