How to unbrick a totally dead My Cloud?

Hi, sammarbella,

I did “#dd if=./rootfs.img of=/dev/sdb1  #dd if=./rootfs.img of=/dev/sdb2”, but it’s useless.

I think I have to create a /dev/md0 to hold the rootfs.img, because I saw rootfsDevice="/dev/md0" in the system config file.

I’m wondering if you could do me a favor to post below file here?

  1. freshInstall=/etc/.fresh_install

  2. reformatDataVolume=/etc/.reformat_data_volume

  3. install_param="${config_dir}/disk-param.conf"

Thanks a lot.


I think rootfsDevice="/dev/md0" reffers to Soft-RAID mdadm.


md0 is a raid array who is type 1 (mirrored) composed of 2 partitions in our case sdb1 and sdb2.


Creating an array[edit]

mdadm --create /dev/md0 --level=mirror --raid-devices=2 /dev/sda1 /dev/sdb1

Create a RAID 1 (mirror) array from two partitions. If the partitions differ in size, the array is the size of the smaller partition. You can create a RAID 1 array with more than two devices. This gives you multiple copies. Whilst there is little extra safety in this, it makes sense when you are creating a RAID 5 array for most of your disk space and using RAID 1 only for a small /boot partition. Using the same partitioning for all member drives keeps things simple.

I don’t found these files you ask for but i found this:





Please refer to mdadm.conf(5) for information about this file.

# by default, scan all partitions (/proc/partitions) for MD superblocks.

alternatively, specify devices to scan, using wildcards if desired.

DEVICE partitions

auto-create devices with Debian standard permissions

CREATE owner=root group=disk mode=0660 auto=yes

automatically tag new arrays as belonging to the local system


instruct the monitoring daemon where to send mail alerts


This file was auto-generated on Thu, 30 Aug 2012 16:25:22 -0700

by mkconf 3.1.4-1+8efb9d1MAILADDR root




major minor  #blocks  name

   8        0 2930266584 sda
   8        1    1999872 sda1
   8        2    1999872 sda2
   8        3     500736 sda3
   8        4 2925551616 sda4
   8        5      97280 sda5
   8        6      98304 sda6
   8        7       1024 sda7
   8        8       2048 sda8
   9        1    1999808 md1









Hi, sammarbella,

I found a script named “” under " /usr/local/sbin", maybe it can help me:smiley:

Do you know this script?


Hi cnlinya, have you managed to fix yours? I’m in the same boat! Just restored both partitions with dd, but haven’t tested it yet since I’m not at home and doing it remotely.

cnlinya i use the  script too  and my 3T cloud  is the seem like you ,  need  any one can write the script for my cloud to

fix .:womansad:

Hi, dggomes & kissu,

I fixed My Cloud just now, and upgraded to the latest Firmware. Now, I am doing a Full Factory Restore.

Please forget the script and rootfs.img, see my below steps:

  1. Download a virgin disk image

  1. Restore the virgin disk image you downloaded, please follow this GUIDE, only follow the step 1 -15. If your Cloud is a 2TB disk, that’s all! Or, please look forward to extend the last partition to 3 or 4TB.

3. DO NOT USE THE GParted to extend the last partition, I just follow below GUIDE. You need to modify the script to your own (# mkpart primary 9428992s -1 )

That’s all.

Wish everything goes well!

1 Like

Please use below script to catch the mount partitions

WDMyCloud:~# cat /etc/mtab

 Umount all the partitions related with /dev/sda4 when you extend the last partition, for example:

/dev/sda4 /nfs/TimeMachineBackup ext4 rw,noatime,nodiratime,user_xattr,barrier=0,data=writeback 0 0/dev/sda4 /nfs/Public ext4 rw,noatime,nodiratime,user_xattr,barrier=0,data=writeback 0 0/dev/sda4 /nfs/SmartWare ext4 rw,noatime,nodiratime,user_xattr,barrier=0,data=writeback 0 0WDMyCloud:~# umount /nfs/Public/
WDMyCloud:~# umount /nfs/SmartWare/
WDMyCloud:~# umount /nfs/TimeMachineBackup/
1 Like

That’s great! Glad to hear that yours is working fine!

I’ll do it tonight and hopefully will have it up and running, thanks for the help!

Hi Guys,

The 3TB  virgin disk image (02.41.05-034) (203MB) from Mega doesn’t seemt o want to DL for me. Anywhere else I can grab this?

Thanks for help!

Hi, cnlinya, would you be able to upload the virgin image somewhere? I’m having problems to download it from the link that is in that post (from Mega).

Manyt thanks!

UPDATE: Mega is back and working fine so no worries

1 Like

Great stuff guys, just unbricked mine! MANY thanks for all your help!

I think that the only thing missing in the guide posted is that you need to have your hard-disk clear of all partitions before using the dd command otherwise it will not work properly.

I did this with the following commands from the previous script cnlinya posted (this will delete everything in your hard-disk):

root@y-System-Product-Name:/# parted
GNU Parted 2.3
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) select /dev/sdb                                                  
Using /dev/sdb                                                             
(parted) mklabel gpt
Warning: The existing disk label on /dev/sdb will be destroyed and all data on this disk will be lost. Do you
want to continue?
Yes/No? y

(parted) quit                                                             
Information: You may need to update /etc/fstab.

The erase procedure is only needed if writing image on both raid partition and booting doesn’t fix the softbrick.

If partition layout is correct no need to erase all losing shares and data.

The full image restore should be the last option to recover a softbrick.

 virgin disk image  (02.41.05-034) (203MB)!FZkASQ6T!P3DMWzaOn62jSrG4SECtIDeJeLYEdmz6w6kR9it8U68

this  image is for mybook 3T  ,not for mycloud 3T !! 

any one can upload  the image for mycloud 3T ???

You can download and restore the 2TB image to your 3TB cloud, then extend the last partition to 3TB.

Mine is a 4TB cloud, later, I will post my virgin disk image here.

if i use the 2t image my data will lost in last partition ,now i can see the data(12g),but can‘t read it ,how to copy it ?

Hi Kissu, I’ve managed to recover files with R-Linux (

 hi cnlinya  my cloud come back too ,thanks !!! ,i will get back my anothrer  1T


thank you very much ,  my 3T  all come back now ! 

 my cloud 3T  virgin disk imgae

1 Like