Again : bad disk, changed, no raid anymore

  • Hi,


    sda was bad, changed it with a new one. Now Raid is inactive. I did dd the new one, tried --assemble or add, nothing work and in the gui table : no raid


    Code
    cat /proc/mdstat
    Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] 
    md0 : inactive sdb[3](S) sdg[6](S) sde[8](S) sdd[0](S) sdf[7](S)
          8790425656 blocks super 1.2



    Code
    blkid
    /dev/sdf: UUID="96b0e7b7-83aa-203f-1545-031b43caaa85" UUID_SUB="ce05af8c-7da1-c0a7-0a07-c10b0b154735" LABEL="zetta:0" TYPE="linux_raid_member"
    /dev/sdg: UUID="96b0e7b7-83aa-203f-1545-031b43caaa85" UUID_SUB="440f9a88-1d42-020c-ba4d-d303afb76c7c" LABEL="zetta:0" TYPE="linux_raid_member"
    /dev/sdd: UUID="96b0e7b7-83aa-203f-1545-031b43caaa85" UUID_SUB="b2460066-00b1-5070-cfe3-7ac67aae96c1" LABEL="zetta:0" TYPE="linux_raid_member"
    /dev/sde: UUID="96b0e7b7-83aa-203f-1545-031b43caaa85" UUID_SUB="b243c911-8058-51ff-0413-31fb1528c36c" LABEL="zetta:0" TYPE="linux_raid_member"
    /dev/sdc1: UUID="befea5ea-cd0e-4166-b3b0-6d2b79962bdf" TYPE="ext4" PARTUUID="54ca3768-01"
    /dev/sdc5: UUID="cc9ca801-5eb7-4b50-9949-2102b786e751" TYPE="swap" PARTUUID="54ca3768-05"
    /dev/sdb: UUID="96b0e7b7-83aa-203f-1545-031b43caaa85" UUID_SUB="ee7eab8f-dc90-e3be-146d-a4e09d104418" LABEL="zetta:0" TYPE="linux_raid_member"
    /dev/sda: PTUUID="07a09a5d" PTTYPE="dos"




    Code
    mdadm --assemble /dev/md0 /dev/sd[abdefg] --verbose --force
    mdadm: looking for devices for /dev/md0
    mdadm: Cannot assemble mbr metadata on /dev/sda
    mdadm: /dev/sda has no superblock - assembly aborted

    Gigabyte GA-H87M-HD3, Pentium G3220, 4 GO DDR3, 6 x 2 To raid 6, 2.5' 100 Go for system
    Donator because OMV deserves it (20€)

  • Yep, was sdg though not sda :S


    I did change my sata cable, and it was on resynch, sda has a red dot though, reallocated sector count by 39

    Gigabyte GA-H87M-HD3, Pentium G3220, 4 GO DDR3, 6 x 2 To raid 6, 2.5' 100 Go for system
    Donator because OMV deserves it (20€)

    • Offizieller Beitrag

    Yep,

    :) if you had removed the drive from the array, then removed it from the machine, then installed the new drive, prepped it then added it to the array it would have been fine.


    I'm assuming you need to add /dev/sda, the blkid output finds [bdefg] as raid members

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!