'''NOTE:''' 4x Samsung HD1000HJ 1000GB SATA-II drives have also been used

'''NOTE:''' 4x Samsung HD1000HJ 1000GB SATA-II drives have also been used

Revision as of 21:01, 20 March 2011

This manual describes step by step the replacement of all drives in a Terastation Live. It can eventually applied also to other Terastations. The requirements are only a RAID-System based on mdadm and a XFS file system.

This document not only outlines the steps necessary to swap the drives but to also upgrade your Terastation's storage capacity without the need to backup all of its data. It is, however, important to note that you undertake the following with the potential risk of losing your data.

You will need console (telnet) access to your TeraStation in order to complete this process. If you are not familiar with how to gain this access, please read (at least the first part of) the "Open Stock Firmware" page here on NAS-Central.

Change partition number 5 to a Linux Swap partition. Press 'l' (lowercase L) within fdisk to verify that Linux Swap partitions are assigned hexadecimal 82. And then press 't' to change partition 5 to the appropriate type/number.

The rebuilding of arrays 0 & 1 runs quickly, but the large array can take several hours. If you access your NAS' web interface, the home page will contain a link indicating that it is rebuilding array 1. By following that link, you can get an approximation of the rebuild time.

Important - do not replace any other drives until the array rebuilding is done.

Repeat all these steps, including the shutdown and restart for all drives.

Growing the array and file system

After all drives are replaced and the rebuild finished you can grow your storage array using [1]

Notes

[1] If you have an empty Terastation, or you have a good backup of the data you keep on there, you can skip the parts of these instructions that reference /dev/md2, including growing the array and filesystem. If you do skip those parts, you can then create your new storage array in the web interface, but as mentioned before, DO NOT try to fix any old arrays from the web interface.