Re: Server down-fail​ed RAID5-asking for some assistance

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

 



On Sat, 23 Apr 2011 18:07:37 -0600 John Valarti <mdadmuser@xxxxxxxxx> wrote:

> On Sat, Apr 23, 2011 at 3:51 PM, NeilBrown <neilb@xxxxxxx> wrote:
> > On Sat, 23 Apr 2011 10:19:31 -0600 John Valarti <mdadmuser@xxxxxxxxx> wrote:
> >
> >> On Sat, Apr 23, 2011 at 2:48 AM, NeilBrown <neilb@xxxxxxx> wrote:
> >> >> No luck
> >> >> Same thing:
> >> >> "no devices found.."
> >> >
> >> > I'm sure it said more than just that.  Complete error messages really are
> >> > helpful..
> >> >
> >> > But the implication seems to be that /dev/sd[acd] don't exist... That is
> >> > weird.
> >> > What does "cat /proc/partitions" show?
> >> > If e.g.  sda is there but sda2 is not, does "blockdev --rereadpt /dev/sda"
> >> > help?
> >> >
> >> > NeilBrown
> >>
> >> They exist.
> >> I have physically removed the dead drive, so now the 3 remaining ones
> >> are at sd[abc]
> >> I have a usb thumb drive plugged in to capture outputs as needed, it is sdd.
> >> blockdev does not seem to exist on this system.
> >>
> >> If useful I now have some more of the same 250GB drives, and I can
> >> plug one in to the sdb port and make partitions on it, and so on..
> >>
> >> For example fdisk -l shows all my partitions. I also show the output
> >> you asked for proc/partitions:
> >>
> >> Disk /dev/sda: 251.0 GB, 251000193024 bytes
> >> 255 heads, 63 sectors/track, 30515 cylinders
> >> Units = cylinders of 16065 * 512 = 8225280 bytes
> >>
> >>    Device Boot      Start         End      Blocks   Id  System
> >> /dev/sda1   *           1          17      136521   fd  Linux raid autodetect
> >> /dev/sda2              18       30515   244975185   fd  Linux raid autodetect
> >>
> >> Disk /dev/sdb: 251.0 GB, 251000193024 bytes
> >> 255 heads, 63 sectors/track, 30515 cylinders
> >> Units = cylinders of 16065 * 512 = 8225280 bytes
> >>
> >>    Device Boot      Start         End      Blocks   Id  System
> >> /dev/sdb1   *           1          17      136521   fd  Linux raid autodetect
> >> /dev/sdb2              18       30515   244975185   fd  Linux raid autodetect
> >>
> >> Disk /dev/sdc: 251.0 GB, 251000193024 bytes
> >> 255 heads, 63 sectors/track, 30515 cylinders
> >> Units = cylinders of 16065 * 512 = 8225280 bytes
> >>
> >>    Device Boot      Start         End      Blocks   Id  System
> >> /dev/sdc1   *           1          17      136521   fd  Linux raid autodetect
> >> /dev/sdc2              18       30515   244975185   fd  Linux raid autodetect
> >>
> >> Disk /dev/sdd: 1039 MB, 1039663104 bytes
> >> 255 heads, 63 sectors/track, 126 cylinders
> >> Units = cylinders of 16065 * 512 = 8225280 bytes
> >>
> >>    Device Boot      Start         End      Blocks   Id  System
> >> /dev/sdd1   *           1         127     1015264+   c  W95 FAT32 (LBA)
> >> Partition 1 has different physical/logical endings:
> >>      phys=(125, 254, 63) logical=(126, 101, 39)
> >> ===================================
> >> major minor  #blocks  name
> >>
> >>    7     0     111000 loop0
> >>    8     0  245117376 sda
> >>    8     1     136521 sda1
> >>    8     2  244975185 sda2
> >>    8    16  245117376 sdb
> >>    8    17     136521 sdb1
> >>    8    18  244975185 sdb2
> >>    8    32  245117376 sdc
> >>    8    33     136521 sdc1
> >>    8    34  244975185 sdc2
> >>    8    48    1015296 sdd
> >>    8    49    1015264 sdd1
> >>
> >> --
> >> John
> >
> >
> > I really cannot help you until you show me the output of "mdadm --assemble
> > --verbose ..." like I asked.
> >
> > NeilBrown
> >
> 
> I really WAS NOT lying!

I never thought you were lying.  But you were summarising.  And when people
summarise instead of giving exact messages I cannot be sure exactly what was
excluded.  I could guess - but the chances are that I would be wrong.

> 
> I just did it again, and redirected output to a file
> 
> The file ( located on my USB stick) contains:
> 
> mdadm: looking for devices for /dev/md1
> mdadm: no devices found for /dev/md1

Thank you.  This is helpful.
It implies that there mdadm didn't actually try including any devices in the
array, which is very odd because you listed some devices on the command line
for it to try.
So I'm a bit confused.

Could you please run this set of commands exactly as given and send me the
complete output.  Maybe put them in a file and run
  sh -x file > /path/on/usb 2>&1


cat /proc/mdstat
mdadm --stop --verbose /dev/md1
ls -l /dev/sd[acd]2
mdadm -E /dev/sd[acd]2
mdadm -Afvv /dev/md1 /dev/sd[acd]2
cat /proc/mdstat
dmesg | tail -100


Thanks,
NeilBrown


--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux