NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

Desmoquattro83's avatar
Apr 18, 2016
Solved

RN31600 and RAID1 with 5 disks

Hello all.

I just bought a RN31600 and need to use it with 5 disks in RAID1 mode. However, as long as i put more than 2 disks in, the option only allows to create raid5 or raid6 with my 5 drives.

I need RAID1 only, as i need to have one disk outside that gets swapped from time to time to rebuild itself and bring one outside of the office.

I know some of you will say it's not a good idea, but it's the way i want things.

So my question is : is there any way to force the readynas to create a raid1 array with my 5 disks? 

thanks !

  • Retired_Member's avatar
    Retired_Member
    Apr 18, 2016

    Creating a RAID1 on 5 HDDs is possible from SSH though.

    Don't know if I should advise that, it depends on your experience in Linux systems.

    I tried it on my unit and it worked:

     

    ## Switch to Flex-RAID from GUI
    ## Destroy the current volume from GUI (obviously, this wipes all data there is on it)
    
    # mdadm --create --verbose /dev/md127 --level=mirror --raid-devices=5 /dev/sd[a-e]3
    [...]
    # cat /proc/mdstat
    Personalities : [raid0] [raid1] [raid10] [raid6] [raid5] [raid4]
    md127 : active raid1 sde3[4] sdd3[3] sdc3[2] sdb3[1] sda3[0]
          483536832 blocks super 1.2 [5/5] [UUUUU]
          [>....................]  resync =  1.4% (6895616/483536832) finish=114.8min speed=69136K/sec
    
    
    # mkfs.btrfs -L `hostid`:data /dev/md127
    [...]
    # mount /dev/md127 /data
    mount: mount point /data is not a directory
    # ls -al /data
    lrwxrwxrwx 1 root root 9 Apr 18 03:50 /data -> /dev/null
    # rm /data
    # mkdir /data
    # mount /dev/md127 /data
    # mount | grep md127
    [...]
    # df -h
    [...]
    
    ## Check that volume is seen from GUI
    ## Reboot gracefully from GUI to finalize procedure (so ReadyNAS OS mounts everything it needs,     

     

21 Replies

Replies have been turned off for this discussion
  • Retired_Member's avatar
    Retired_Member

    Hi,

     

    As far as I know, RAID1 on 5 HDDs is not supported on ReadyNAS, even in Flex-RAID.

    Maybe log a feature request?

    If you're idea is to swap a HDD from time to time, RAID6 would allow you to do just that no? And you would have much bigger volume than a RAID1 (RAID1 on 5 HDDs will give you capacity of one HDD, RAID6 on 5 HDDs will give you capacity of 3 HDDs).

    I do think it's not a good idea to do it this way, but RAID6 would do what you need.

  • anna_arun's avatar
    anna_arun
    NETGEAR Expert

    Raid 1 does not function that way  , Raid 1 with 5 Drives is not possible .Raid 1 or Raid 1+0 (Raid10) needs multiples of 2 Drives . Each HDD has a Mirror copy . 

    Best you can do is Raid 10 with 4 Drives and use one drive as hot spare or use 6 Drives on Raid10

     

    • Retired_Member's avatar
      Retired_Member

      RAID1 with 1 HDD and 4 mirrors is a perfectly valid RAID. It's just not possible on ReadyNAS...

      RAID1 and RAID10 are two different things.

      • Desmoquattro83's avatar
        Desmoquattro83
        Aspirant

        Agreed. Mirroring with RAID1 is perfect for me on 5 disks, and lower range ReadyNAS allow this ! (i already have a 314 which allows this on 3 disks inside + 1 disk outside.)

        With RAID5 or RAID6, am I able to swap whatever drive i want from time to time .?

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More