How do I migrate data from RAID 1 NSA 325v2 to a new NSA 326?
AsdQwe
Posts: 3
I have a NSA 325v2 with 2 1TB HDDs in a RAID 1 setup (old and almost full). I plan to buy an NSA 326 with 2 2TB HDDs and setup a RAID 1 and move all my data from the old NAS there.
What is the best method to do so?
I hope there is a way to put in 1 old + 1 new drive into the new NAS copy the data within the NAS, then switch the old HDD for the other new one and make the NAS copy again and work with the 2 new drives as RAID 1.
In the worst case I can setup the new NAS with the new drives, attach both shares to my WIndows PC and copy between folders, but I don't want to think about how much slower that would be...
0
Accepted Solution
-
AsdQwe said:I hope there is a way to put in 1 old + 1 new drive into the new NAS copy the data within the NAS, then switch the old HDD for the other new one and make the NAS copy again and work with the 2 new drives as RAID 1.It can be done that way, but you shouldn't be afraid for the commandline (via ssh). The procedure is, create a raid1 array on the two new disks. Then pull one, the array is now degraded.Then insert an old disk, login over ssh, assemble the old array degraded & mount it, copy everything over, and finally reinsert the new disk. The array will resync, and your job is done.If you want to buy a new NAS you might want to consider another brand. The 326 is pretty old by now, and so is the firmware.0
All Replies
-
AsdQwe said:I hope there is a way to put in 1 old + 1 new drive into the new NAS copy the data within the NAS, then switch the old HDD for the other new one and make the NAS copy again and work with the 2 new drives as RAID 1.It can be done that way, but you shouldn't be afraid for the commandline (via ssh). The procedure is, create a raid1 array on the two new disks. Then pull one, the array is now degraded.Then insert an old disk, login over ssh, assemble the old array degraded & mount it, copy everything over, and finally reinsert the new disk. The array will resync, and your job is done.If you want to buy a new NAS you might want to consider another brand. The 326 is pretty old by now, and so is the firmware.0
-
If you want to upgrade your current NAS I recommend you using NAS542. it supports RAID6 and powerful compare to olders.0
-
I couldn't do this. My linux knowledge might be too limited but I cannot identify the old disk I should mount. A lot of commands I found online do not work because they are not installed or get a "permission denied" error.Unless someone writes down all the commands I have to use I am forced to setup the old NAS again and copy through WIndows share folders.0
-
Assuming you have ssh access, and plugged in the old disk.AsdQwe said:do not work because they are not installed or get a "permission denied" error.runcat /proc/partitionsto find out the device name of the disk. That will be sda or sdb. The new disk has 3 partitions, the old one 2. Size is given in kB.Assuming the old disk is sdb, assemble the raid array:mdadm --assemble /dev/md2 /dev/sdb2 --runand mount itmkdir -p /mnt/mountpointmount /dev/md2 /mnt/mountpointlook at contents:ls -l /mnt/mountpoint/Copy shares over:cp -a /mnt/mountpoint/<sharename> /e-data/sysvol/0
-
I made 2 stupid mistakes, that's why nothing worked for me as expected.One was that I logged in as admin not as root.The other was that my old disks are not 1TB but 2 TB, a fact that somehow I forgot when buying the new disks and also did not notice when I took apart the old NAS... That's why I could not recognize them in the console, because I was looking for a 1TB size disk in the partition list. (Also the new NAS automatically put the old disk into the RAID, and said the RAID is broken, needs to be repaired)This is the most embarrassing mistake I did in IT, now I am really glad I didn't register here with my real name. Thank you for your patience.0
Categories
- All Categories
- 415 Beta Program
- 2.4K Nebula
- 144 Nebula Ideas
- 94 Nebula Status and Incidents
- 5.6K Security
- 237 USG FLEX H Series
- 267 Security Ideas
- 1.4K Switch
- 71 Switch Ideas
- 1.1K Wireless
- 40 Wireless Ideas
- 6.3K Consumer Product
- 247 Service & License
- 384 News and Release
- 83 Security Advisories
- 29 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.2K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 83 About Community
- 71 Security Highlight