Upgrading From NSA310 (x2) plus NSA365 to a NAS542

Options
JohnGLav
JohnGLav Posts: 3  Freshman Member
edited December 2019 in Personal Cloud Storage
Hi All,

Apologies for the long question  :)

I've just discovered that the disk format has been changed between my earlier Zyxel products and the new NAS542.

Can anyone come up with a step by step strategy to upgrade, without losing my existing data or having to buy additional disks?

I have:
  • An NSA310 with a WD Red 3TB disk (80% full).
  • A second NSA310 with a Samsung 1.5TB disk (75% full). 
  • An NSA325 with two WD Red 3TB disks (both about 66% full).
  • The new NAS542 with an empty 4TB WD Red.
Critical data (only) is backed up from the WDs to the Samsung. I can reinstate non-critical data loss, but it would be take me a very long time.

I had hoped to keep each disk as a individual storage locations, but could live with them being seen as a single volume. Not too interested in RAID itself, due to its storage demands, probably JBOD or something similar?

I'm not that familiar with NAS/RAID etc. I don't find the Zyxel manual too helpful. It assumes you know what you need to do and relates how to do each activity separately. 

Thanks in advance.

John.


#NAS_Dec_2019

Best Answers

  • JohnGLav
    JohnGLav Posts: 3  Freshman Member
    Answer ✓
    Options
    Thanks! I'll give the simple version a go first. Appreciate your response.
  • JohnGLav
    JohnGLav Posts: 3  Freshman Member
    Answer ✓
    Options
    Just a quick follow up. Worked exactly as you explained. It's a shame the Zyxel manual doesn't explain basic concepts and the best approaches to common situations. However, with your advice, I'm well on the way. Many thanks.

All Replies

  • Mijzelf
    Mijzelf Posts: 2,645  Guru Member
    First Anniversary 10 Comments Friend Collector First Answer
    Options
    This doesn't seem a big puzzle to me. Create a volume on that new disk, fill it with data from whichever disk. When copied, put that (now redundant) disk in the 542, and create a new volume on it. Repeat.
    At the end you'll have a redundant 1.5TB disk left, I guess.

    To make it a bit more sophisticated, you can do the copy actions on the nas itself. After you have created the first volume, you can put the first disk-to-be-copied in the nas. Enable the ssh server in the network menu, and login over ssh, as root, password your admin password.
    Now find your old disk:

    cat /proc/partitions

    sizes are in kB. Assuming the old disk is sdb, you can assemble and mount the raidarray:

    mdadm --assemble /dev/md3 /dev/sdb2 --run
    mkdir /mnt/olddisk
    mount /dev/md3 /mnt/olddisk

    If that throws no errors, you can copy everything over:

    cd /i-data/sysvol/
    cp -av /mnt/olddisk/* .

    Now just wait until the copying is done. You'll have to keep the ssh client open.

    For the 2nd old disk you'll have to pick the first free md device for assembling the array.

    losetup -a

    will show all md devices in use.
    All target volumes are mounted in /i-data/.  Using

    df /i-data/*

    will tell you which one is new and empty.


  • JohnGLav
    JohnGLav Posts: 3  Freshman Member
    Answer ✓
    Options
    Thanks! I'll give the simple version a go first. Appreciate your response.
  • JohnGLav
    JohnGLav Posts: 3  Freshman Member
    Answer ✓
    Options
    Just a quick follow up. Worked exactly as you explained. It's a shame the Zyxel manual doesn't explain basic concepts and the best approaches to common situations. However, with your advice, I'm well on the way. Many thanks.

Consumer Product Help Center