[CentOS] mdadm: failed to write superblock to

Tilman Schmidt t.schmidt at phoenixsoftware.de
Thu Jun 7 11:48:24 UTC 2012


Am 07.06.2012 09:48, schrieb sebastian:
> # cat /proc/mdstat
> Personalities : [raid1]
> md0 : active raid1 sda1[2](F) sdb1[1]
>        2096064 blocks [2/1] [_U]
> 
> md2 : active raid1 sda3[2](F) sdb3[1]
>        1462516672 blocks [2/1] [_U]
> 
> md1 : active raid1 sda2[0] sdb2[1]
>        524224 blocks [2/2] [UU]
> 
> unused devices: <none>
> 
> 
> I have remove the partition:
> 
> # mdadm --remove /dev/md0 /dev/sda1
> mdadm: hot removed /dev/sda1 from /dev/md0
> 
> # mdadm --remove /dev/md2 /dev/sda3
> mdadm: hot removed /dev/sda3 from /dev/md2
> 
> 
> Now i want to add the old partition (to sync the raid), unfortunately, 
> comes an error message:
> # mdadm --add /dev/md0 /dev/sda1
> mdadm: failed to write superblock to /dev/sda1
> 
> 
> What is wrong here?

Looks like a hardware defect to me. That's probably also the reason
why the RAID went degraded in the first place. Better replace that
disk while the other one still holds the line.

HTH
T.

-- 
Tilman Schmidt
Phoenix Software GmbH
Bonn, Germany



More information about the CentOS mailing list