We have a RAID6 array with 12 disks on a 3ware 9650SE-12ML controller. An engineer of our server provider issued this command by mistake: sudo dd if=/dev/zero of=/dev/sde bs=1M count=500; sync;
/dev/sde
is the linux device of the raid array.
This wiped the first 500MB of that device. There was no partition on it, device was configured as ext4 file system.
tw-cli show no errors. I haven't tried anything yet. The device is still mounted on the mount point but all the files are gone and it became "Read-only file system".
What information is gone and how can it be recovered?
Unit UnitType Status %RCmpl %V/I/M Stripe Size(GB) Cache AVrfy
------------------------------------------------------------------------------
u0 RAID-6 OK - - 256K 27939.6 RiW ON
VPort Status Unit Size Type Phy Encl-Slot Model
------------------------------------------------------------------------------
p0 OK u0 2.73 TB SATA 0 - TOSHIBA DT01ACA300
p1 OK u0 2.73 TB SATA 1 - TOSHIBA DT01ACA300
p2 OK u0 2.73 TB SATA 2 - TOSHIBA DT01ACA300
p3 OK u0 2.73 TB SATA 3 - TOSHIBA DT01ACA300
p4 OK u0 2.73 TB SATA 4 - TOSHIBA DT01ACA300
p5 OK u0 2.73 TB SATA 5 - TOSHIBA DT01ACA300
p6 OK u0 2.73 TB SATA 6 - TOSHIBA DT01ACA300
p7 OK u0 2.73 TB SATA 7 - TOSHIBA DT01ACA300
p8 OK u0 2.73 TB SATA 8 - TOSHIBA DT01ACA300
p9 OK u0 2.73 TB SATA 9 - TOSHIBA DT01ACA300
p10 OK u0 2.73 TB SATA 10 - TOSHIBA DT01ACA300
p11 OK u0 2.73 TB SATA 11 - TOSHIBA DT01ACA300
Name OnlineState BBUReady Status Volt Temp Hours LastCapTest
---------------------------------------------------------------------------
bbu On Yes OK OK OK 0 xx-xxx-xxxx
UPDATE: We used e2fsck and it recovered superblock information from an alternate location. Device became mountable again. However when we mounted it, there was no file on it.