[lug] LVM and software raid

David L. Anselmi anselmi at anselmi.us
Tue Oct 17 17:03:37 MDT 2006


Nick Golder wrote:
> On 2006-10-02 22:13 -0600, David L. Anselmi wrote:
> 
>>Perhaps looking at the various device numbers will tell you something. 
>>The sd*, md*, and vg* numbers will tell you what the kernel thinks they 
>>are and it's probably bad to use if /dev/sdc* is major 8 (a SCSI device 
>>rather than software RAID).
> 
> Wouldn't I want /dev/sdc* to still have a major id of 8 since it is
> still a SCSI device that is a member of a RAID (major id of 9)?  It's
> underlying function of being SCSI doesn't change.  Am I confused?

Yes, sdc should still have a major number of 8.  But you want the PV to 
be on the RAID, major 9.  If the PV has changed from 9 to 8 that's bad. 
  If the kernel renamed things and the PV is on sdc with major 9, that's 
confusing but maybe not bad.

Dave



More information about the LUG mailing list