Did --zero-superblock by mistake ... How can I get back data ?

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

 



Hi,

On a RAID 5 array which is composed by 5 hdd, I did mdadm --zero-superblocks on each hdd because I thought it was required to use the array on a new system....

But now, I cannot mdadm --assemble the array. It says :

mdadm: no RAID superblock on /dev/sda
mdadm: /dev/sda has no superblock - assembly aborted

Is it possible to assemble this array because I don't want to lose my data... Someone told me that I can do a :

mdadm -Cv /dev/md0 -l5 -n5 /dev/sda /dev/sdb /dev/sdc /dev/sdd /dev/hdc

But if do that, all the data on the raid will be lost or not ?

Is there an other way to get back these data ?

Thank you very much for your help.

--
Raph.
-
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