× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

RN316 raid options

notspam
Aspirant

RN316 raid options

Just bought a new RN316 6-disk readynas on facebook. Owner bought it new but never opened the box so lucky me. I am not familiar with x-raid and my understanding of raid is more traditional. Also never owned a NAS with more than 2 disks. Currently I have 4x 2TB and 2x 3TB in the RN316. I wonder if I can use flex-raid to create:-

2x 2TB as raid1

2x 2TB as raid1

2x 3TB as raid1

Total 7TB. My goal is redundancy and easy retrieval when one disk is down.

I skimmed the user manual but nothing popped-out at me giving me answer to my question. Would appreciate if someone can tell me yes I can do that or no I can't. 

 

 

 

 

 

Message 1 of 9
StephenB
Guru

Re: RN316 raid options


@notspam wrote:

 I wonder if I can use flex-raid to create:-

2x 2TB as raid1

2x 2TB as raid1

2x 3TB as raid1

Total 7TB. My goal is redundancy and easy retrieval when one disk is down.

 


You can do this.  You'd need to switch to FlexRAID, delete the existing volume, and then create new ones.

 


@notspam wrote:

I am not familiar with x-raid and my understanding of raid is more traditional


X-RAID uses normal mdadm software RAID underneath - it just simplifies expansion.

 

4x2TB+2x3TB XRAID would give you an 11 TB volume (the normal capacity rule for single redundancy is "sum the disks and subtract the largest).  It would be set up as a 6x2TB RAID-5 group spanning all disks, and a 2x1TB RAID-1 group using the remaining space on the two 3 TB drives.  The BTRFS file system is then configured to use both groups, so they are concatenated into a single volume.

 

Note the NAS uses TiB units when reporting space, so you'd see 10 TB reported for the space with XRAID.  2x2TB RAID-1 would be reported as 1.8 TB, and 2x3 TB would be reported as 2.73 TB.

 

Both FlexRAID and X-RAID would give you full access to the volume(s) when there is a single disk failure.  Your proposed setup would actually handle more failures in some situations, and recovery would be simpler if the volume were to fail.  But of course you are giving up some capacity in return.

 

In general, RAID is not enough to keep your data safe, so you should set up a backup plan.

 

Also, I always recommend a UPS.  That ensures that the NAS will shut down properly if the power fails.  Lost (cached) writes can result in an out-of-sync volume(s), and loss of some data.

 


@notspam wrote:

Currently I have 4x 2TB and 2x 3TB in the RN316.

 


Many mechanical drives in the 2-6TB size range use SMR (shingled magnetic recording).  They aren't good choices for RAID, particularly with the BTRFS file system. Write speeds can become glacially slow when you do sustained writes (including the initial volume sync).

 

Generally WD Red Plus or Seagate Ironwolf are good choices.  Enterprise drives are of course also ok.  Avoid desktop drives and WD Reds.  Both Seagate and WD should identify SMR drives on their datasheets.

 

 

Message 2 of 9
Sandshark
Sensei

Re: RN316 raid options

One of the features of XRAID (well, really the BTRFS file system underneath) is that all drives do not need to be the same size to fully utilize them (as long as there are at least two of each size).  That may differ from your experience with RAID and may make you re-examine your plan.  With three separate volumes, you have to allocate content to each one separately, where you don't with one RAID5 volume.

 

In the event of a hardware failure that corrupts a volume or the loss of two drives, recovery of most of the data would likely be easier with three volumes.  But you really shouldn't be relying on RAID for that anyway.  Unless what's on there is just backups (it exists elsewhere), then you really should have a backup plan. 

 

And, as @StephenB said, XRAID is not some exotic Netgear-unique RAID.  It's standard Linux MDADM RAID with a BTRFS file system on top.  So RAID recovery techniques for Linux RAID and BTRFS work fine with it.  XRAID is nothing more than some logic that does the RAID manipulation, especially expansion, for you.  (Nothing more italicized, because I'm sure the logic isn't trivial.)

Message 3 of 9
notspam
Aspirant

Re: RN316 raid options

Thanks Stephen and Sandshark. I really must go back and read-up much more.

I thought what I wanted to do ie 2x2TB, 2x2TB, 2x3TB as 3 sets of raid1 are simple and reasonably effective. The idea is one disk in each set can fail without compromising data. I treat this 6-disk NAS as 3x 2-disk NASs like my other RN102. If that is not possible then I guess I would be better off buying 3x 2-disk NAS than one big 6-disk NAS. Frankly I bought this RN316 on a whim as it was so cheap on facebook and did not have time to investigate.

Message 4 of 9
StephenB
Guru

Re: RN316 raid options


@notspam wrote:

I treat this 6-disk NAS as 3x 2-disk NASs like my other RN102. If that is not possible then I guess ...


It's totally possible, and I outlined what you would need to do.

 

Switch to FlexRaid, destroy the current volume, and create 3 new RAID-1 volume.

Message 5 of 9
notspam
Aspirant

Re: RN316 raid options

Hi Stephen, I switched to flex-raid and destroyed it. Then I successfully created raid1 for 2x 2TB as VOL1. I proceeded to create another raid1 for the next 2x 2TB as VOL2 but dashboard is giving me this error. The error message is incorrect as it detects all hdds and there are no hardware errors. Not sure what to do next. 

 

notspam_0-1704411556898.png

 

Message 6 of 9
StephenB
Guru

Re: RN316 raid options


@notspam wrote:

Hi Stephen, I switched to flex-raid and destroyed it. Then I successfully created raid1 for 2x 2TB as VOL1. I proceeded to create another raid1 for the next 2x 2TB as VOL2 but dashboard is giving me this error. The error message is incorrect as it detects all hdds and there are no hardware errors. Not sure what to do next. 

 


Not an error I've seen before.

 

Try creating the third volume, and see if that works.  Either way, I'd then power down the NAS, and remove the power cord for a couple of minutes, and then power up the NAS again.

Message 7 of 9
notspam
Aspirant

Re: RN316 raid options

Just reporting back that after waiting for a day, I have been successful in creating Vol2. I think the NAS locks up when it is syncing Vol1 so giving error. All good now I managed to create 2x raid1 volumes on 2x 2TB + 2x 2TB drives.

Thank you for all your help. 

Message 8 of 9
Sandshark
Sensei

Re: RN316 raid options

Yes, you have to wait until the sync on one volume is complete before you can create another.

Message 9 of 9
Top Contributors
Discussion stats
  • 8 replies
  • 621 views
  • 5 kudos
  • 3 in conversation
Announcements