Question Is it possible Expanding my NAS SHR Storage

Victel

Distinguished
Oct 31, 2016
137
3
18,595
I have a Synology 4-BAY disk station (DS416J) that I want to add more drives to but I'm confused if that's possible. I'm currently out of space on my 8TB RED Drive and I want to add an 18TB red drive to expand the storage. The raid type is SHR. (without data protection.) Is this possible without needing to erase everything or move my files? Thanks
 
How many drives are currently in use/inserted into the unit? (Certainly if you have any unused drive slots, a new drive can be added, and, possibly even the data protection feature started at that point, depending on capacities and amount of available space/used space in other drives, if applicable. However, all you've mentioned thus far is having one 8TB drive that's nearly full...)
 
  • Like
Reactions: Victel

Victel

Distinguished
Oct 31, 2016
137
3
18,595
How many drives are currently in use/inserted into the unit? (Certainly if you have any unused drive slots, a new drive can be added, and, possibly even the data protection feature started at that point, depending on capacities and amount of available space/used space in other drives, if applicable. However, all you've mentioned thus far is having one 8TB drive that's nearly full...)

One drive is in the NAS. I want to expand the storage.
 

Victel

Distinguished
Oct 31, 2016
137
3
18,595
I just need to know if there's any issues. I know with some raid types you can't simply add more drives to expand space. Is SHR fine for adding more drives as long as the second drive is bigger than the first?
 
SHR has no issue adding more drives, or, later replacing smaller drives with larger drives (with data protection enabled, so that files are on at least two drives), it will reshuffle the data between the two to semi-proportionately balance the data amongst the drives, sending larger amounts to the larger drives when/if possible..
 
  • Like
Reactions: Victel

~cw

Prominent
Mar 31, 2022
39
3
545
if you have a four-bay NAS with only two disks in it, the only way you'll be able to expand available capacity is by initializing the 18TB disk as a completely separate second volume in Storage Manager. There won't be any data redundancy or failure resilience. The second disk once initialized would appear in DSM as a separate volume, to be used as you see fit. You can't bridge or span the two disks in your configuration.

To add the drive and extend the capacity on the same volume in a SHR RAID, you would need at least three disks, two of which need to be of equal capacity. For example, two 18 TB and one 8 TB disk would give you 24 TB raw usable and 16 TB raw protection. Synology's RAID calculator is useful to visualise different combinations and compare RAID types. https://www.synology.com/en-uk/support/RAID_calculator

SHR is just a brand name (Synology Hybrid RAID), which itself is just a combination of Linux tools to bootstrap some dynamic volume management and failure resilience on to an otherwise normal RAID array. However it's not without its own shortcomings, and I probably wouldn't use it again unless I knew I was going to expand my NAS capacity at a future time.

Internet forums debate SHR vs RAID and honestly, given my own practical experience on larger servers and storage configurations, I think I agree. RAID is adequate and possibly better for a storage system which will always have the same capacity - or will have capacity added by installing more disks in a second caddy attached to the first system, something most Synology devices can't do.

I would recommend always installing the maximum number of drives your NAS supports, and have them all the same capacity. That way you can use SHR-1 for 24 TB raw usable with one-disk failure tolerance, or SHR-2 with two-disk failure tolerance. Losing files from JBOD disks hurts, though I appreciate NAS-grade disks also aren't cheap. (I bit the bullet and saved for a year to buy replacements)


So, er, why am I going on about all this? Hopefully it gives you some more ideas about what you could do in future, instead of just take the easy option of adding more disks to a box without any failure protection. I've done that enough times in my life to be burned more than once. Fortunately when two drives in my NAS started to fail this time around I had some failure tolerance. It always happens when you least want it to.



For what it's worth, if you decided to get / repurpose / shuck four smaller disks, to eventually replace with larger ones in future, it's not as daunting as it might initially seem.

I recently doubled the capacity on my DS918+ running DSM 6.2 by cloning the 4TB disks to new 8TB disks. I wasn't actually expecting it to work quite how I was hoping, but it did. And it saved a lot of time (probably 20-30 hours' worth) instead of just blindly following the Synology FAQs.

The Synology documentation advises that every time you replace a smaller disk with a larger one in an SHR array, you must insert the new empty disk, initialize it into the array then let the SHR (RAID) volume rebuild. This can take a long time (potentially a day or more) if you have to wait four ties.

However, I decided to buy four larger drives then clone each of my four 4TB disks to new 8TB ones using a double-drive external caddy with integrated clone feature.

I replaced my disks one at a time, booting the NAS after swapping each 8TB drive to make sure it still worked. It did, and it could see the 8TB drives installed, but I was unable to expand the volume to use the new space.

At this point, I decided to bite the bullet and wipe one of my disks to rebuild the array. This took ~10 hours, but prior to beginning, DSM's Linux-based subsystem had very intelligently detected that 50% raw unused space was now available on the disk set, and offered to expand the volume to 100% available capacity.

Once it finished rebuilding the volume and onlined it, I investigated and could see that its LVM had created a second physical volume on each disk, added it to the volume group and then extended the logical volume to use all the newly available space, all without me having to do anything else. This meant I was able to double my DSM storage without having to rebuild the array four times, which is also beneficial for disk lifespan and means the process is finished far quicker.


I know that story's a little beyond the scope of your current situation, but I thought it worth mentioning to demonstrate the benefit of installing four smaller disks now, then planning the upgrade to larger disks once you have the means.

You can always clone one of the smaller disks to a larger disk and put it into the array in advance of upgrading the others, if money is a constraint. It'll still work, just behaving exactly like the smaller disk in terms of available capacity. However, building an SHR array like that will require you to rebuild the existing array or use new disks and transfer your data off beforehand. It may even be worth buying an 18TB external drive, copying your data off the NAS on to it, putting the other two disks in to a new blank SHR array, transferring your data off then shucking that 18TB disk to add to the NAS.


There's quite a few other possibilities too, the Synology user forums might give you some further inspiration. Although the DS416J is an older model than mine with a dual core ARM CPU, it still runs DSM. Underneath the skin it should have the same disk capabilities given it's still Linux.

Another alternative, if you have an old PC knocking about which is otherwise fine, and you want to 'end of life' your 2015 NAS: you might decide to put the new disk into a home-built TrueNAS, Unraid, or even an Xpenology machine. Xpenology is a very clever project - a custom bootloader and fork of DSM which lets you run Synology's software on just about any x86 hardware. That way you can save on the expensive Synology hardware but still use DSM, if you like the interface.

My next NAS won't be a Synology device, despite my NAS's convenience. Unless your storage needs are quite modest, you may find you eventually also outgrow any prebuilt NAS brand, unless you have tons of money to spend on their hardware and specific models of hard disk which are supported by them to guarantee full support should you have any problems.

For the moment, hope that's given you some ideas to what to do next. Please check back and let us know what you decide to do.
 
  • Like
Reactions: Victel

Victel

Distinguished
Oct 31, 2016
137
3
18,595
if you have a four-bay NAS with only two disks in it, the only way you'll be able to expand available capacity is by initializing the 18TB disk as a completely separate second volume in Storage Manager. There won't be any data redundancy or failure resilience. The second disk once initialized would appear in DSM as a separate volume, to be used as you see fit. You can't bridge or span the two disks in your configuration.

To add the drive and extend the capacity on the same volume in a SHR RAID, you would need at least three disks, two of which need to be of equal capacity. For example, two 18 TB and one 8 TB disk would give you 24 TB raw usable and 16 TB raw protection. Synology's RAID calculator is useful to visualise different combinations and compare RAID types. https://www.synology.com/en-uk/support/RAID_calculator

SHR is just a brand name (Synology Hybrid RAID), which itself is just a combination of Linux tools to bootstrap some dynamic volume management and failure resilience on to an otherwise normal RAID array. However it's not without its own shortcomings, and I probably wouldn't use it again unless I knew I was going to expand my NAS capacity at a future time.

Internet forums debate SHR vs RAID and honestly, given my own practical experience on larger servers and storage configurations, I think I agree. RAID is adequate and possibly better for a storage system which will always have the same capacity - or will have capacity added by installing more disks in a second caddy attached to the first system, something most Synology devices can't do.

I would recommend always installing the maximum number of drives your NAS supports, and have them all the same capacity. That way you can use SHR-1 for 24 TB raw usable with one-disk failure tolerance, or SHR-2 with two-disk failure tolerance. Losing files from JBOD disks hurts, though I appreciate NAS-grade disks also aren't cheap. (I bit the bullet and saved for a year to buy replacements)


So, er, why am I going on about all this? Hopefully it gives you some more ideas about what you could do in future, instead of just take the easy option of adding more disks to a box without any failure protection. I've done that enough times in my life to be burned more than once. Fortunately when two drives in my NAS started to fail this time around I had some failure tolerance. It always happens when you least want it to.



For what it's worth, if you decided to get / repurpose / shuck four smaller disks, to eventually replace with larger ones in future, it's not as daunting as it might initially seem.

I recently doubled the capacity on my DS918+ running DSM 6.2 by cloning the 4TB disks to new 8TB disks. I wasn't actually expecting it to work quite how I was hoping, but it did. And it saved a lot of time (probably 20-30 hours' worth) instead of just blindly following the Synology FAQs.

The Synology documentation advises that every time you replace a smaller disk with a larger one in an SHR array, you must insert the new empty disk, initialize it into the array then let the SHR (RAID) volume rebuild. This can take a long time (potentially a day or more) if you have to wait four ties.

However, I decided to buy four larger drives then clone each of my four 4TB disks to new 8TB ones using a double-drive external caddy with integrated clone feature.

I replaced my disks one at a time, booting the NAS after swapping each 8TB drive to make sure it still worked. It did, and it could see the 8TB drives installed, but I was unable to expand the volume to use the new space.

At this point, I decided to bite the bullet and wipe one of my disks to rebuild the array. This took ~10 hours, but prior to beginning, DSM's Linux-based subsystem had very intelligently detected that 50% raw unused space was now available on the disk set, and offered to expand the volume to 100% available capacity.

Once it finished rebuilding the volume and onlined it, I investigated and could see that its LVM had created a second physical volume on each disk, added it to the volume group and then extended the logical volume to use all the newly available space, all without me having to do anything else. This meant I was able to double my DSM storage without having to rebuild the array four times, which is also beneficial for disk lifespan and means the process is finished far quicker.


I know that story's a little beyond the scope of your current situation, but I thought it worth mentioning to demonstrate the benefit of installing four smaller disks now, then planning the upgrade to larger disks once you have the means.

You can always clone one of the smaller disks to a larger disk and put it into the array in advance of upgrading the others, if money is a constraint. It'll still work, just behaving exactly like the smaller disk in terms of available capacity. However, building an SHR array like that will require you to rebuild the existing array or use new disks and transfer your data off beforehand. It may even be worth buying an 18TB external drive, copying your data off the NAS on to it, putting the other two disks in to a new blank SHR array, transferring your data off then shucking that 18TB disk to add to the NAS.


There's quite a few other possibilities too, the Synology user forums might give you some further inspiration. Although the DS416J is an older model than mine with a dual core ARM CPU, it still runs DSM. Underneath the skin it should have the same disk capabilities given it's still Linux.

Another alternative, if you have an old PC knocking about which is otherwise fine, and you want to 'end of life' your 2015 NAS: you might decide to put the new disk into a home-built TrueNAS, Unraid, or even an Xpenology machine. Xpenology is a very clever project - a custom bootloader and fork of DSM which lets you run Synology's software on just about any x86 hardware. That way you can save on the expensive Synology hardware but still use DSM, if you like the interface.

My next NAS won't be a Synology device, despite my NAS's convenience. Unless your storage needs are quite modest, you may find you eventually also outgrow any prebuilt NAS brand, unless you have tons of money to spend on their hardware and specific models of hard disk which are supported by them to guarantee full support should you have any problems.

For the moment, hope that's given you some ideas to what to do next. Please check back and let us know what you decide to do.


I do have 2 8TB and one 18TB, is there anything I could do with this in a raid? Both my 8TB are nearly full. To get the data protection what would I need to do to make all this work? What will the steps look like (migrating data, deleting and everything else) Thanks
 
Last edited:

USAFRet

Titan
Moderator
I do have 2 8TB and one 18TB, is there anything I could do with this in a raid? Both my 8TB are nearly full. To get the data protection what would I need to do to make all this work? What will the steps look like (migrating data, deleting and everything else) Thanks
"RAID" is not data protection.

A RAID 1 is only for physical drive redundancy, not data.


Within the Synology OS, you could use the backup feature to copy from the 2x 8TB to the 18TB.
Where is all your data currently?
 
  • Like
Reactions: Victel

Victel

Distinguished
Oct 31, 2016
137
3
18,595
"RAID" is not data protection.

A RAID 1 is only for physical drive redundancy, not data.


Within the Synology OS, you could use the backup feature to copy from the 2x 8TB to the 18TB.
Where is all your data currently?

I guess that's what I want then is the drive redundancy. My data is currently on the two 8tb. I receive my 18tb in the mail on Monday.
 

Victel

Distinguished
Oct 31, 2016
137
3
18,595
Then within the Syn OS, cause it to copy data from the 8TB drives to the 18TB.
It can do this on whatever schedule you want, all hands off.

No real need for a RAID 1 with the 2x 8TB.

I don't know is copying the data over to the 18tb what I want to do in order to benefit from a setup with all three drives? What does copying the data do exactly? What about the data redundancy?
 

USAFRet

Titan
Moderator
I don't know is copying the data over to the 18tb what I want to do in order to benefit from a setup with all three drives? What does copying the data do exactly? What about the data redundancy?
That IS redundancy.

The 8TB drives are your working space.
The 18TB is a second copy.

If anything happens to the data on the 8TB, or the physical drive, the data is safe on the 18TB.

That is a (mostly) true backup. Data residing on more than one device. More than one copy.

A RAID 1 with the 2x 8TB leaves you with only 8TB actual space. And it still needs an actual backup to somewhere else (the 18TB). A RAID 1 is really only warranted if you need 100% uptime. It is not data redundancy.
 
  • Like
Reactions: Victel

Victel

Distinguished
Oct 31, 2016
137
3
18,595
That IS redundancy.

The 8TB drives are your working space.
The 18TB is a second copy.

If anything happens to the data on the 8TB, or the physical drive, the data is safe on the 18TB.

That is a (mostly) true backup. Data residing on more than one device. More than one copy.

A RAID 1 with the 2x 8TB leaves you with only 8TB actual space. And it still needs an actual backup to somewhere else (the 18TB). A RAID 1 is really only warranted if you need 100% uptime. It is not data redundancy.
You're suggesting a bunch of drives with my data copied over. I can't get something more out of this setup? What about the data protection feature?
 

USAFRet

Titan
Moderator
You're suggesting a bunch of drives with my data copied over. I can't get something more out of this setup? What about the data protection feature?
What "data protection feature"?

Within the Syn OS, there are multiple options.
RAID 1 with the 8TBs.
This gives you 8TB actual space. No data redundancy.
Loss of one physical drive, the data is still viable.
But still needs a real backup. RAID 1 does nothing for accidental deletion, corruption, etc, etc.

RAID 0 with the 2x 8TB.
Gives 16TB space.
This is even worse than the RAID 1. Loss of either drives means loss of ALL data in the array, across both drives.

JBOD
All drives seen as one large space. 8+8+18.
Again, NO data redundancy. Still needs an actual backup to some other device.
I used to use this with my QNAP. I've since moved away from that.
 
  • Like
Reactions: Victel

Victel

Distinguished
Oct 31, 2016
137
3
18,595
What "data protection feature"?

Within the Syn OS, there are multiple options.
RAID 1 with the 8TBs.
This gives you 8TB actual space. No data redundancy.
Loss of one physical drive, the data is still viable.
But still needs a real backup. RAID 1 does nothing for accidental deletion, corruption, etc, etc.

RAID 0 with the 2x 8TB.
Gives 16TB space.
This is even worse than the RAID 1. Loss of either drives means loss of ALL data in the array, across both drives.

JBOD
All drives seen as one large space. 8+8+18.
Again, NO data redundancy. Still needs an actual backup to some other device.
I used to use this with my QNAP. I've since moved away from that.
Currently my drives are SHR. When I receive my 18tb in the mail what do I actually want to do? Do I just add it to my NAS and begin copying the data over manually? Is there some sort of intializing process I need to go through when adding it?
 

Satan-IR

Splendid
Ambassador
You're suggesting a bunch of drives with my data copied over. I can't get something more out of this setup? What about the data protection feature?
Best scenario is what USAFRet said above, have the two 8TB as "working drives" and the 18TB as a backup, second copy on another drive, or whatever you want to call it, which IS in fact redundancy.

Not as good as another copy on another physical drive in another location (somewhere othat than where you're Synology 4-BAY disk station is) but it's what I would do too if I had this setup.
 
  • Like
Reactions: Victel

USAFRet

Titan
Moderator
Currently my drives are SHR. When I receive my 18tb in the mail what do I actually want to do? Do I just add it to my NAS and begin copying the data over manually? Is there some sort of intializing process I need to go through when adding it?
You don't need to copy 'manually'.

I don't have a Synology, but there is a function to do this automatically, all hands off.
Daily, weekly, monthly...whatever you desire.


The SHR:
https://kb.synology.com/en-uk/DSM/tutorial/What_is_Synology_Hybrid_RAID_SHR

In theory, you could just add the 18TB to the SHR array, expanding the space.
And still have NO data redundancy. None.
The array is presented to the user and OS as a single space. Accidentally delete something, and its gone.

The real basic backup concept is 3-2-1.
3 copies of data, on at least 2 physical devices, 1 offsite or otherwise unavailable.

The SHR is only 'one'.
 
  • Like
Reactions: Victel

Victel

Distinguished
Oct 31, 2016
137
3
18,595
Best scenario is what USAFRet said above, have the two 8TB as "working drives" and the 18TB as a backup, second copy on another drive, or whatever you want to call it, which IS in fact redundancy.

Not as good as another copy on another physical drive in another location (somewhere othat than where you're Synology 4-BAY disk station is) but it's what I would do too if I had this setup.

I do have a second NAS that has a single bay. You recommend I put the two 8tb together and the copy of those in the single nas with the 18tb?
 

Victel

Distinguished
Oct 31, 2016
137
3
18,595
A second NAS?
Yes...put the 18TB in that. Look in the Syn OS to see how to copy (backup) from NAS 1 to NAS 2.
In the even of anything happening to NAS 1, your data still exists and is protected on NAS 2.
Will I have problems just swapping drives around in this way? Will they need initialized or anything?