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

Re: Squeeze assembles one RAID array, at boot but not the other



On Mon, 07 Jan 2013 02:35:21 +0000, Hendrik Boom wrote:

> I have two RAID arrays on my Debian squeeze system.  The old one, which
> still works, and has worked for years, is on a pair of partitions on two
> 750GB disks.  THe new one is not recognized at boot.
> 
> boot is *not* on any of these RAIDs; my system boots properly.
> 
> The new one, whih I build today, resides on similar (but larger)
> partitions on two 3TB disks.  I partitioned these drives today, using
> gparted for gpt partitioning, then created a RAID1 from two 2.3GB
> partitions o these disks, set up LVM2 on the RAID drive, created an LVM
> partition, put an ext4 file system on it and filled it with lots of
> data.  The partition definitely exists.
> 
> But it is not recognized at boot.  The dmesg output tells me all about
> finding the old RAID, but it doesn't even notice the new one, not even
> to complain about it.
> 
> It seems the significant differences bwtween the two RAIDS are:
> 
> One is new, and the other os old.
> One is on a GPT-partitioned disk and the other uses the MBR partion
> table.
> One is huge and the other is just large.
> 
> Any ideas where to look?  Or how to work around the problem?
> 
> -- hendrik

In case it helps, it is recognizing the partitions, sdd2 and sdb2 
the new RAID is to be assembled from:

hendrik@april:~$ ls /dev/disk/by-path/ -l
total 0
lrwxrwxrwx 1 root root  9 Jan  6 20:40 pci-0000:00:0d.0-scsi-1:0:1:0 -> ../../sr0
lrwxrwxrwx 1 root root  9 Jan  6 20:40 pci-0000:00:0e.0-scsi-1:0:0:0 -> ../../sdd
lrwxrwxrwx 1 root root 10 Jan  6 20:40 pci-0000:00:0e.0-scsi-1:0:0:0-part1 -> ../../sdd1
lrwxrwxrwx 1 root root 10 Jan  6 20:40 pci-0000:00:0e.0-scsi-1:0:0:0-part2 -> ../../sdd2
lrwxrwxrwx 1 root root  9 Jan  6 20:40 pci-0000:04:09.0-scsi-0:0:0:0 -> ../../sda
lrwxrwxrwx 1 root root 10 Jan  6 20:40 pci-0000:04:09.0-scsi-0:0:0:0-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jan  6 20:40 pci-0000:04:09.0-scsi-0:0:0:0-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jan  6 20:40 pci-0000:04:09.0-scsi-0:0:0:0-part4 -> ../../sda4
lrwxrwxrwx 1 root root  9 Jan  6 20:40 pci-0000:04:09.0-scsi-2:0:0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 Jan  6 20:40 pci-0000:04:09.0-scsi-2:0:0:0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Jan  6 20:40 pci-0000:04:09.0-scsi-2:0:0:0-part2 -> ../../sdb2
lrwxrwxrwx 1 root root  9 Jan  6 20:40 pci-0000:04:09.0-scsi-3:0:0:0 -> ../../sdc
lrwxrwxrwx 1 root root 10 Jan  6 20:40 pci-0000:04:09.0-scsi-3:0:0:0-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Jan  6 20:40 pci-0000:04:09.0-scsi-3:0:0:0-part2 -> ../../sdc2
lrwxrwxrwx 1 root root 10 Jan  6 20:40 pci-0000:04:09.0-scsi-3:0:0:0-part4 -> ../../sdc4
hendrik@april:~$ 

And it does recognize the other partitions, sdd1 and sdb1, outside 
the RAID, that reside on those disks.  I can mount them and they 
have their proper contents.  So it is detecting the gpt partitioning
properly.

-- hendrik



Reply to: