All, I really need your help.
I bricked my WD 3TB MLB, i've been trying to follow the script and get the follow error message can anybody help be find out what im is wrong or what im doing wrong.
** DISK **
script will use the following disk:
Model: ATA WDC WD30EFRX-68A (scsi)
Disk /dev/sdb: 3001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Number Start End Size File system Name Flags
3 15.7MB 528MB 513MB primary
1 528MB 2576MB 2048MB primary raid
2 2576MB 4624MB 2048MB ext3 primary raid
4 4624MB 3001GB 2996GB ext4 primary
is this REALLY the disk you want? [y] y
** IMAGE **
** IMPLEMENTATION **
everything is now prepared!
device: /dev/sdb
image_img: /home/trevor/Downloads/CacheVolume/upgrade/rootfs.img
destroy: false
this is the point of no return, continue? [y] y
mdadm: size set to 1999808K
mdadm: array /dev/md0 started.
mke2fs 1.42.5 (29-Jul-2012)
Warning: could not erase sector 2: Attempt to write block to filesystem resulted in short write
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
125184 inodes, 499952 blocks
24997 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=515899392
16 block groups
32768 blocks per group, 32768 fragments per group
7824 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912
Checking for bad blocks (read-only test): done
Warning: the backup superblock/group descriptors at block 196608 contain
bad blocks.
Warning: the backup superblock/group descriptors at block 229376 contain
bad blocks.
Warning: the backup superblock/group descriptors at block 262144 contain
bad blocks.
Warning: the backup superblock/group descriptors at block 294912 contain
bad blocks.
Warning: the backup superblock/group descriptors at block 327680 contain
bad blocks.
Warning: the backup superblock/group descriptors at block 360448 contain
bad blocks.
Warning: the backup superblock/group descriptors at block 393216 contain
bad blocks.
Warning: the backup superblock/group descriptors at block 425984 contain
bad blocks.
Warning: the backup superblock/group descriptors at block 458752 contain
bad blocks.
Warning: the backup superblock/group descriptors at block 491520 contain
bad blocks.
Allocating group tables: mkfs.ext3: Could not allocate block in ext2 filesystem while trying to allocate filesystem tables
mdadm: cannot load array metadata from /dev/md0
synchronize raid… done
copying image to disk…
dd: writing to ‘/dev/md0’: Input/output error
1+0 records in
0+0 records out
0 bytes (0 B) copied, 0.0588587 s, 0.0 kB/s
mount: /dev/md0: can't read superblock
cp: cannot stat ‘/mnt/md0/usr/local/share/bootmd0.scr’: No such file or directory
/home/trevor/Downloads/repair_mybooklive.sh: line 359: /mnt/md0/etc/nas/service_startup/ssh: No such file or directory
umount: /mnt/md0: not mounted
mdadm: stopped /dev/md0
read: Input/output error
read: Input/output error
all done! device should be debricked!
Regards
Trevski