QUESTION Add a new hard drive to an existing ZFS RAIDZ system

Discussion in 'Storage' started by leenux_tux, Jul 16, 2012.

  1. Offline

    leenux_tux FreeNAS Aware

    Member Since:
    Sep 3, 2011
    Messages:
    145
    Message Count:
    145
    Likes Received:
    4
    Trophy Points:
    18
    Occupation:
    Senior (AKA "OLD"!!) Technical Consultant
    Location:
    UK
    leenux_tux, Jul 16, 2012

    Hello Forum,

    I have a question regarding adding a new hard drive to an existing ZFS RAIDZ pool. Currently my storage is set up like so.....

    3 X 1TB RAIDZ with 1 X 1TB as a hot spare, all 4 drives are identical. System boots from a USB thumbdrive.

    On top of this I have
    1 X ISCSI volume (500GB) which I use for VMWare
    5 X NFS/CIFS volumes for backups, music, movies, iso images etc (reason for mixture of CIFS and NFS is so that both Windows and Linux systems can access the files easily)

    I have come to the realization that the "spare" drive could be better used as part of the RAIDZ setup. What I want to do is add the hot spare to the pool, thereby giving me more available disk space. Has anyone been through this process ? I have a horrible feeling that you can't simply add a new drive to a RAIDZ pool and have to save everything off, destroy the pool and re-create with the 4 drives instead of 3 ? If this is the case will saving off the config enable me to quickly recreate my volumes/users/settings etc ??

    Thanks in advance
  2. Offline

    cyberjock Forum Guard Dog/Admin

    Member Since:
    Mar 25, 2012
    Messages:
    13,701
    Message Count:
    13,701
    Likes Received:
    707
    Trophy Points:
    113
    cyberjock, Jul 16, 2012

  3. Offline

    leenux_tux FreeNAS Aware

    Member Since:
    Sep 3, 2011
    Messages:
    145
    Message Count:
    145
    Likes Received:
    4
    Trophy Points:
    18
    Occupation:
    Senior (AKA "OLD"!!) Technical Consultant
    Location:
    UK
    leenux_tux, Jul 16, 2012

    noobsauce80, thank you for the info and guide. Gives me a better understanding of the challenge I have !!

    Looks like getting some 2TB drives, replace one, wait for ZFS to rebuild, then replace another and so on......

    Leeux_tux
  4. Offline

    cyberjock Forum Guard Dog/Admin

    Member Since:
    Mar 25, 2012
    Messages:
    13,701
    Message Count:
    13,701
    Likes Received:
    707
    Trophy Points:
    113
  5. Offline

    survive Super Moderator

    Member Since:
    May 28, 2011
    Messages:
    830
    Message Count:
    830
    Likes Received:
    20
    Trophy Points:
    18
    Occupation:
    Senior Systems Engineer
    Location:
    Missouri, USA
    survive, Jul 16, 2012

    Hi leenux_tux,

    You might want to consider doing a pair of mirrors (RAID-10ish) instead of raidz. You will get more performance out of the drives and not have to deal with the additional parity overhead on the Atom-based system.

    -Will

Share This Page