The Year Is 2021.
Today, I managed to unbrick my own MBLD - SKU WDBVHT0040JCH
I share my fix, hope that it helps someone.
Mental Preparation:-
In my fix, Please Read Guide 2 at the start of this thread, carefully, as my fix is based on this…
Hardware Preparation:
- Harddrive - KINGSTON SKC6005 (500GB) x 2 (Please choose your own… I am using this SSD for testing purposes…)
- SATA to USB x 1
- VMware Workstation or Virtual Box
Software Preparation:
systemrescuecd-x86-5.3.2.iso (SystemRescue - Browse /sysresccd-x86/5.3.2 at SourceForge.net)
Download 7zip from Download
Download the debrick script from debrick_mbld 2.5k
Download the latest MyBookLive DUO firmware (WDBVHT0040JCH) filename:- ap2nc-024310-048-20150507.zip
(https://download.wdc.com/nas/ap2nc-024310-048-20150507.zip OR Index of /wd/Book/frimware/frimware_duo/)
Download “My Net View” from https://downloads.wdc.com/wdapp/MyNetViewFull_1_0_12_0.zip
STEP 1 - Use VMWARE to create a VIRTUAL MACHINE called UBUNTU… (I put 4GB RAM, NO HDD),
Mount systemrescuecd-x86-5.3.2.iso as CDROM to that UBUNTU,
Start/PowerON UBUNTU VM, Connect HDD A via USB + Connect USB 16GB Pendrive that contain debrick_mbld.zip + rootfs.img (via following Guide 2)
It will boot up systemrescuecd-x86-5.3.2.iso and you just follow Guide 2, however…
STEP 2 - As In Guide 2, do the following for HDD A:-
mkdir /mnt/usb
mount -t vfat /dev/sdb1 /mnt/usb
cd /mnt/usb
mdadm -S /dev/md0
mdadm -S /dev/md2
mdadm -S /dev/md3
./debrick.sh rootfs.img /dev/sda destroy
yes yes yes… (ignore all errors), until you see
“all done! device should be debricked!”
Reboot that UBUNTU VM…
Now, repeat this STEP 2 again, for 3 times… (yes, 3 x Reboots and type those commands again…)
Then, Lastly, Turn off the VM, Connect HDD B via USB…
STEP 3 - Repeat STEP 2 for HDD B (yes, another 3 x Reboots and type those commands again…)
STEP 4 - Put HDD A and HDD B, back to their respective slot…
Turn on… you will see blue light…
If you see 5-10 mins orange light, Sad… it didn’t boot…
you can try adding this to the begining of the “debrick.sh” ./debrick.sh, see if that helps:-
#define_LARGEFILE64_SOURCE
#include <sys/types.h>
Put those 2 lines, and repeat STEP 2…
If you see another Color… (for me, was RED), means you’re in luck…
STEP 5 - Install “My Net View” and find the IP for your NAS…
Go to http://IP Address, thus, if My Book LIVE DUO Page appears,
> The HARD part is DONE.
STEP 6 - Let’s get the essentials working…
http://IP Address/UI/ssh & Enable SSH…
Putty/SSH to your device… and… login as…
root / welc0me
then…
SETUP SWAP:-
swapon -s
mkswap /dev/md2
mdadm --create -e 0 --verbose /dev/md2 --level=raid1 --raid-devices=2 /dev/sda3 /dev/sdb3
mdadm --detail /dev/md2
swapon -s
ENABLE SMART:-
smartctl -s on /dev/sda
smartctl -s on /dev/sdb
reboot
Putty/SSH to your device… Again…
swapon -s
smartctl -A /dev/sda (Optional)
smartctl -A /dev/sdb (Optional)
If it works, then yes! You can STOP here, as you can configure the NAS, via the http interface itself.
but if You want to configure using command, read on…
STEP 7 - Configure RAID using SSH Commands instead…
Choose… RAID 1:-
mdadm --create -e 0 --verbose /dev/md3 --level=raid1 --raid-devices=2 /dev/sda4 /dev/sdb4
OR Spanning:-
mdadm --create -e 0 --verbose /dev/md3 --level=linear --raid-devices=2 /dev/sda4 /dev/sdb4
After that, you can view the progress:-
mdadm --detail /dev/md3
or
watch mdadm --detail /dev/md3
After Rebuild Progress done, Perform Last Check-
cat /proc/mdstat
swapon -s
reboot
STEP 8 - Even After Reboot, it is still Red…
In the http interface, it shows RED, I point the mouse on it, it says…
“Data Volume failed to mount”
This fix works for me:-
Settings → Utilities → Factory Restore → Quick Factory Restore.
Doing so, Now it shows Green! I am a Happy about my WDLD Fix!
P/S: Yes, it works on Kingston SSD, on 500GB, no issues.
God Bless! Good Luck! (Hi From Malaysia)
More Info:-
Final Working MBLD:-
MyBookLiveDuo:~# mount
/dev/md0 on / type ext3 (rw,noatime,nodiratime,barrier=1)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755,size=5M)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,size=5M)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
tmpfs on /tmp type tmpfs (rw,size=100M)
/var/log on /var/log.hdd type none (rw,bind)
ramlog-tmpfs on /var/log type tmpfs (rw,size=20M)
/dev/md3 on /DataVolume type ext4 (rw,noatime,nodiratime,auto_da_alloc)
/DataVolume/cache on /CacheVolume type none (rw,bind)
/DataVolume/shares on /shares type none (rw,bind)
/DataVolume/shares on /nfs type none (rw,bind)
none on /sys/kernel/security type securityfs (rw)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)
MyBookLiveDuo:~# parted -l
Model: ATA KINGSTON SKC6005 (scsi)
Disk /dev/sda: 512GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
3 15.7MB 528MB 513MB linux-swap(v1) primary raid
1 528MB 2576MB 2048MB ext3 primary raid
2 2576MB 4624MB 2048MB ext3 primary raid
4 4624MB 512GB 507GB ext4 primary raid
Model: ATA KINGSTON SKC6005 (scsi)
Disk /dev/sdb: 512GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
3 15.7MB 528MB 513MB linux-swap(v1) primary raid
1 528MB 2576MB 2048MB ext3 primary raid
2 2576MB 4624MB 2048MB ext3 primary raid
4 4624MB 512GB 507GB ext4 primary raid
Model: Unknown (unknown)
Disk /dev/md0: 2048MB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Number Start End Size File system Flags
1 0.00B 2048MB 2048MB ext3
Model: Unknown (unknown)
Disk /dev/md3: 507GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Number Start End Size File system Flags
1 0.00B 507GB 507GB ext4
Model: Unknown (unknown)
Disk /dev/md2: 513MB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Number Start End Size File system Flags
1 0.00B 513MB 513MB linux-swap(v1)
MyBookLiveDuo:~# cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4]
md2 : active raid1 sdb3[1] sda3[0]
500672 blocks [2/2] [UU]
md3 : active raid1 sdb4[1] sda4[0]
495590336 blocks [2/2] [UU]
md0 : active raid1 sda22 sda13 sdb2[1] sdb1[0]
1999808 blocks [2/2] [UU]
unused devices:
MyBookLiveDuo:~# smartctl -A /dev/sda
smartctl version 5.38 [powerpc-unknown-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x0000 100 100 000 Old_age Offline - 0
5 Reallocated_Sector_Ct 0x0000 100 100 000 Old_age Offline - 0
9 Power_On_Hours 0x0000 100 100 000 Old_age Offline - 38
12 Power_Cycle_Count 0x0000 100 100 000 Old_age Offline - 25
148 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 4
149 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 2
150 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 0
151 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 0
159 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 0
160 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 0
161 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 33
164 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 583
165 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 2
166 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 1
167 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 1
169 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 100
177 Unknown_Attribute 0x0000 100 100 050 Old_age Offline - 0
181 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 0
182 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 0
192 Power-Off_Retract_Count 0x0000 100 100 000 Old_age Offline - 9
194 Temperature_Celsius 0x0000 042 049 000 Old_age Offline - 42
195 Hardware_ECC_Recovered 0x0000 100 100 000 Old_age Offline - 0
196 Reallocated_Event_Count 0x0000 100 100 016 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0000 100 100 050 Old_age Offline - 0
231 Temperature_Celsius 0x0000 100 100 000 Old_age Offline - 100
232 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 100
241 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 1134
242 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 15912
245 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 19239
MyBookLiveDuo:~# smartctl -A /dev/sdb
smartctl version 5.38 [powerpc-unknown-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x0000 100 100 000 Old_age Offline - 0
5 Reallocated_Sector_Ct 0x0000 100 100 000 Old_age Offline - 0
9 Power_On_Hours 0x0000 100 100 000 Old_age Offline - 20
12 Power_Cycle_Count 0x0000 100 100 000 Old_age Offline - 17
148 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 19
149 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 2
150 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 0
151 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 1
159 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 0
160 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 0
161 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 43
164 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 997
165 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 4
166 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 1
167 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 1
169 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 100
177 Unknown_Attribute 0x0000 100 100 050 Old_age Offline - 0
181 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 0
182 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 0
192 Power-Off_Retract_Count 0x0000 100 100 000 Old_age Offline - 5
194 Temperature_Celsius 0x0000 043 059 000 Old_age Offline - 43
195 Hardware_ECC_Recovered 0x0000 100 100 000 Old_age Offline - 0
196 Reallocated_Event_Count 0x0000 100 100 016 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0000 100 100 050 Old_age Offline - 0
231 Temperature_Celsius 0x0000 100 100 000 Old_age Offline - 100
232 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 100
241 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 15900
242 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 419
245 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 32901
MyBookLiveDuo:~# swapon -s
Filename Type Size Used Priority
/dev/md2 partition 500544 24256 -1
MyBookLiveDuo:~#