Re: problem adding disk

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

 



Chris Eddington wrote:
Hi,

I had a disk failure and replaced it with an equivalent disk, partition, etc. It seems to add correctly to the existing array when using mdadm /dev/md0 --add /dev/sdd1 after re-syncing, but when I restart the array (or reboot) it never accepts it, reporting the message below. It thinks the 4th partition is <sdd> instead of sdd1. Turns out that /dev/sdd1 does not exist, but fdisk -l reports that it is there (also below).
Try to start the array with just sdd does not work either:
altair:~$ sudo mdadm --assemble /dev/md0 /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd
mdadm: /dev/md0 has been started with 3 drives (out of 4).
altair:~$ sudo mdadm --stop /dev/md0

Looks similar to an issue I had a month ago:

http://marc.info/?l=linux-raid&m=121882238819928&w=2

Does this sound like the same problem to you?

With Neil's solution:

mdadm --zero-superblock /dev/sdg

You would need to adjust it to /dev/sdd.

Michael
--
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