Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

QNAP TS-110: how to replace HDD?

245 views
Skip to first unread message

Hardy Griech

unread,
Apr 19, 2011, 4:10:02 PM4/19/11
to
Hello,

I thought that it's a common procedure to replace the HDD of a QNAP NAS.
Searching the web does not reveal really exact information, including
Martins site.

After partitioning the new HDD (with the same layout as before) and
copying data from the old one to the new one I tried
http://www.cyrius.com/journal/debian/installer-flash-kernel

But being stupid, my problem was already in the first line: "Start the
Debian installer". How to start that installer?

Ok, I tried to follow the standard QNAP Debian installation guide
(http://www.cyrius.com/debian/kirkwood/qnap/ts-119/install.html). That
one did not like me, because getcfg was missing (an executable from the
original QNAP firmware I guess). So I tried the installation guide from
the TS-109. And - it was a bad day - I flashed the images of the TS-109
into my TS-110. Bad luck.

Nevertheless UBoot saved me
(http://www.cyrius.com/debian/kirkwood/qnap/ts-119/uboot.html) after
having a serial console attached.

I tried "recovery mode"
(http://www.cyrius.com/debian/kirkwood/qnap/ts-119/recovery.html)
beforehand. But that did not help me, because it is wrong that DHCP is
used - correctly it should be BOOTP(?).

Long story, short questions...

- how to actually replace the HDD?
- how to start the Debian installer?
- is recovery using DHCP or BOOTP?

Hardy


--
To UNSUBSCRIBE, email to debian-ar...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/4DADEA4...@mardys.de

Björn Wetterbom

unread,
Apr 20, 2011, 3:30:01 AM4/20/11
to
-- Snip ---
- how to actually replace the HDD?
Since you have the same disk layouts, I would rsync the data from the old to the new disk. Then update /etc/fstab with the UUIDs of the new disk. After that you're good to go.
- how to start the Debian installer?
- is recovery using DHCP or BOOTP?
I don't know.

nt...@mardys.de

unread,
Apr 20, 2011, 3:50:02 AM4/20/11
to

> Since you have the same disk layouts, I would rsync the data from the old to the new disk. Then update /etc/fstab with the UUIDs of the new disk. After that you're good to go.

I tried it actually that way:

- same HDD layout

- copy data (cp -a)

- insert new disk

- try to start


But that resulted in a non-starting system.  It seems to me, that 'update-initramfs -u' is required.


>>- how to start the Debian installer?

Any other way directly from the command line?  Would be nice to 'activate' the installer running with the old HDD, replace the HDD (prepared as above) and then follow the procedure from http://www.cyrius.com/journal/debian/installer-flash-kernel.

Hardy

Björn Wetterbom

unread,
Apr 20, 2011, 4:50:02 AM4/20/11
to
Yes, the installer can be flashed from the command line. See http://forum.qnap.com/viewtopic.php?f=147&t=37149&p=164507&sid=dee8c64d1a8772fc2325acbebe529079

Disclamer: I don't know if the mentioned commands are valid for TS-110.

You are correct, if you update UUIDs in /etc/fstab, a 'update-initramfs -u' is required. What you can do is change the UUIDs on the new disk so that they are identical to those of the old disk. Use tune2fs for ext2/3/4 partitions and mkswap for swap partition. I did this on my TS-119 a while back.

/Björn

Hardy Griech

unread,
Apr 20, 2011, 11:50:03 AM4/20/11
to
On 20.04.2011 10:27, Björn Wetterbom wrote:
:

> You are correct, if you update UUIDs in /etc/fstab, a ' update-initramfs
> -u ' is required. What you can do is change the UUIDs on the new disk so
> that they are identical to those of the old disk. Use tune2fs for
> ext2/3/4 partitions and mkswap for swap partition. I did this on my
> TS-119 a while back.

Forgot to mention in my procedure that I modified the UUIDs with tune2fs
to reflect the old state.

Nevertheless the system did not start.

Perhaps an important 'detail': the new HDD had 2TB, while the old one
had 1TB. What I meant with layout did not include the size, only that
sda1 was boot for both, sda2 root and sda6 home.

Hardy


--
To UNSUBSCRIBE, email to debian-ar...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Archive: http://lists.debian.org/4DAEFF8A...@mardys.de

Björn Wetterbom

unread,
Apr 21, 2011, 2:50:01 AM4/21/11
to
What's the output on the serial console? I probably won't be any better than you interpreting it, but perhaps someone else will.

Hardy Griech

unread,
Apr 21, 2011, 11:00:02 AM4/21/11
to
On 21.04.2011 08:29, Björn Wetterbom wrote:
> What's the output on the serial console? I probably won't be any better
> than you interpreting it, but perhaps someone else will.

Unfortunately I cannot say, because in my desperate tries to start the
debian installer I flashed the TS-109 images into my TS-110 and killed
it temporarily.

UBoot and the serial console saved me...

Hardy


--
To UNSUBSCRIBE, email to debian-ar...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Archive: http://lists.debian.org/4DB04544...@mardys.de

0 new messages