How to add a second pre-formatted drive to your NAS to copy data from/to

From wiki
Revision as of 22:29, 4 April 2008 by imported>RobinGB (New page: ==This page is under construction DO NOT USE== This page is under construction and not complete enough to be used yet. User: RobinGB 4/5/2008 {| |- !width="400"|__TOC__ ||This page aims t...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This page is under construction DO NOT USE

This page is under construction and not complete enough to be used yet. User: RobinGB 4/5/2008

This page aims to show you how to add a drive that has already been formatted elsewhere (in my case it was a RAID1 drive removed from a DS-207+ synology NAS) to a synology NAS with a free internal drive bay (in my case a CS-407). My reason for doing this was I wanted to copy the data from the DS-207+ onto a disk in the CS-407 ASAP (yes I could have copied it over ethernet but that takes ages (1TB), and yes I could have used external storage but I didn't have any big enough).

Assumptions

  • You know how to login as Admin on the NAS in which you are going to install the disk
  • The Disk you are adding is already preformated with either ext2 or ext3 (Synology products format internal drives as ext3).
  • You know that synology boxes load disk in to volumes, e.g. "/volume1" etc. and you know how to acess them, e.g. "cd /volume1" etc.

Procedure

  1. Turn off NAS and install the new drive in an empty disk bay
  2. Power up the NAS and enable the Command Line Interface (Telnet or SSH)
  3. Login into the Command Line Interface as "root"
  4. Check what you already have mounted in the system by entering the command "df". Several things will be listed but we are only interested in the "/volume" entries in the very right hand column of the table that is displayed. Everyone should have "/volume1" and depending on how you have your current disks configured you could have "/volume2", "/volume3" etc etc. take note of the last volume number and hence the next free volume number. In my case I had a "/volume1" but NOT "/Volume2". Hence for me "/Volume2" was not being used and this is where this example will load the new drive. If you have "/volume2" or more in your system you need to use the next free volume for all commands given below.
  5. Now we check that the new drive is being recognised, enter the command "fdisk -l" thats a lower case L not a 1.