Re: [linux-lvm] disk naming

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

 



On Fri, Jan 03, 2003 at 12:38:45PM -0600, Steven Lembark wrote:
> 
> 
> -- Matt Schillinger <mschilli@vss.fsi.com>
> 
> >If i'm NOT using devfs, can i reliably (assuming that disks are on the
> >same scsi id/lun/host channel) use lvm?
> >
> >Scenario:
> >
> >LV is created with device /dev/sdd, which is on host channel 2
> >
> >Machine is shutdown, and a new raid is connected on host channel 1, with
> >one disk.
> >
> >Machine is restarted, and the 1 disk on the host channel 1 raid takes
> >/dev/sdd. The original disk is now /dev/sde.
> >
> >Will LVM find the correct disk?
> 
> Nope. Main issue there is that the first disk device
> encountered by the kernel will be /dev/sda. Period.
 

NOPE, NOPE, NOPE.

LVM writes a UUID to each disk and uses that as the PV identifier. it does NOT
matter what it is called to the kernel. (as long as the device actually visible 
to the code).*

I regularly plug and unplug disks around LVM systems and it works just fine.

patrick

* by which I mean it's a "known device" and not some new device that hasn't been
coded for in LVM (eg i2o block devs). This particular restriction is lifted in LVM2.


_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.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