[linux-lvm] disk naming

Matt Schillinger mschilli at vss.fsi.com
Fri Jan 3 12:53:01 UTC 2003


Patrick,

I was wondering if you could explain a little bit of how lvm finds a
device that no longer corresponds to the same 'dev/sd*' name. does it
use some kind of device id or serial number? I just want to be doubly
sure, as Steven Lembark claimed that it WOULDN't work..

Thanks,

Matt Schillinger
mschilli at vss.fsi.com

On Fri, 2003-01-03 at 11:03, Patrick Caulfield wrote:
> On Fri, Jan 03, 2003 at 11:05:00AM -0600, Matt Schillinger wrote:
> > 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?
> > 
> 
> Yes, that'll work fine. Getting LVM to work with those scsidev names 
> you mentioned in the first email will be quite a lot harder 
> (unless you use LVM2).
> 
> patrick
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
-- 
Matt Schillinger
System Administrator
FlightSafety International
mschilli at vss.fsi.com
314-551-8403






More information about the linux-lvm mailing list