General NAS-Central Forums

Welcome to the NAS community
It is currently Thu Mar 22, 2018 4:04 pm

All times are UTC

Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Sat May 24, 2014 11:17 am 

Joined: Sat Sep 03, 2011 1:49 pm
Posts: 2
Hi all,

first of all thanks for the wealth of information in the forum and wiki, it was great and helped me a lot. So let me give some back by sharing my successful cloning of the Cloud Edition NAS to a new hard disk.

My 2TB version showed SMART errors so it was time to replace the harddisk (it was a good idea to set up the email service) BEFORE it failed for good. I bought a WD Red 2TB, removed the failing one from the NAS and connected both to my PC (USB connectors). Then, I went and booted my PC with clonezilla from a USB stick to make the clone. I tried a local disk to disk copy without changing any copy settings. /dev/sdc is the new drive, /dev/sdd the old one. The result was that the NAS booted with white light on, red light dull and after a few seconds red light bright. Bummer.

The partitions looked good but when double checking the GPT, I found the first problem:
/sbin/gdisk /dev/sdc

showed me corrupt GPT

So backup the GPT of the failing drive
/sbin/gdisk /dev/sdd
b (to save a backup)
/tmp/gpt.back (just a filename)
q (quit)

And then restored it to the new drive
/sbin/gdisk /dev/sdc
r (restore)
l (load backup)
/tmp/gpt.back (filename of the backup)
w (write the new GPT)
Y (confirm)

Now, gdisk was happy with the GPT. I tried booting again but still the same problem.

From the information at nas-central, I thought that I should copy the 32 MB bootloader, so
dd if=/dev/sdd of=/dev/sdc bs=2k count=16348

And voila, it boots and all data is retained!

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC

Who is online

Users browsing this forum: No registered users and 8 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group