Quantcast
Channel: Complitly debricking guide (draft)
Viewing all articles
Browse latest Browse all 58

Re: Complitly debricking guide (draft)

$
0
0

As I wanted to recover my data that I explicitly made sure that I did not format /dev/sda4 nor zero fill /dev/sda4

 # format the data volume file system #mkfs.ext4 -b 65536 -m 0 ${disk}4 #if [ -e "${disk}4" ]; then # dd if=/dev/zero of=${disk}4 bs=1M count=32 #fi 

I also made sure I used the following due to version conflicts as it is not suitable for a boot device:

 mdadm --create ${rootfsDevice} --verbose --metadata=0.9 --raid-devices=2 --level=raid1 --run ${rootfsDisk1} missing 

Up and running - with my data intact! Thank you all!

When I get time I will go through my notes in which I had to modify the above scripts and upload the one script.
You need to understand what is happening on each line of the script. For debugging I copied and pasted each line
into a root super user terminal.

I would be best to have the individual scripts converted into one big script as it would be easy to maintain.
Where setting up of the shell variables in disk-param.sh are defined and documented verbosely.

It was kind of difficult to get the case open to connect the 2TB WD drive to my Ubuntu desktop.

You have to take care to remove a lot of the screws that hold the My Book Live together so as not to short anything in
your desktop!!!

Kaminari


Viewing all articles
Browse latest Browse all 58

Trending Articles