Jump to content

Can you add a HDD to an existing RaidZ or RaidZ2 array in FreeNas

zeto402

If not is there an alternate option as far as software raid goes

Link to comment
Share on other sites

Link to post
Share on other sites

Yes, you should be able to just pop the drive in and add it to the array.

 

Apparently that's no the case. Weird. 
 

https://docs.google.com/file/d/0BzHapVfrocfwSzNDTzZhNXp1dDQ/edit

 

Anyway, no you can't just add a single drive and everything work.

Your options:

  1. Upgrade each drive in the array using the rebuild option. (i.e. you have an array of 4 drives, each 1TB, then you pop in a 2TB, rebuild, another, rebuild, etc etc until all are 2TB and you double your space).
  2. Make a new array with more space (the extra drive), and move everything to that one while decommissioning your old array.

You can't just expand the RAIDZ array with a single drive though, sadly.

† Christian Member †

For my pertinent links to guides, reviews, and anything similar, go here, and look under the spoiler labeled such. A brief history of Unix and it's relation to OS X by Builder.

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

so many things can happen in raid, I just connect all my HDDs separately, had a raid once, and that was enough.

Spoiler

CPU: R5 1600 @ 4.2 GHz; GPU: Asus STRIX & Gigabyte g1 GTX 1070 SLI; RAM: 16 GB Corsair vengeance 3200 MHz ; Mobo: Asrock Taichi x470; SSD: 512 gb Samsung 950 Pro Storage: 5x Seagate 2TB drives; 1x 2TB WD PurplePSU: 700 Watt Huntkey; Peripherals: Acer S277HK 4K Monitor; Logitech G502 gaming mouse; Corsair K95 Mechanical keyboard; 5.1 Logitech x530 sound system

 01000010 01101001 01101110 01100001 01110010 01111001 00100000 01100100 01101111 01100101 01110011 01101110 00100111 01110100 00100000 01101101 01100001 01101011 01100101 00100000 01111001 01101111 01110101 00100000 01110000 01110010 01101111 00101110

 

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

Your options:

  • Upgrade each drive in the array using the rebuild option. (i.e. you have an array of 4 drives, each 1TB, then you pop in a 2TB, rebuild, another, rebuild, etc etc until all are 2TB and you double your space).
  • Make a new array with more space (the extra drive), and move everything to that one while decommissioning your old array.
You can't just expand the RAIDZ array with a single drive though, sadly.

What about adding another vdev to the pool? Obviously not just a single drive (since

if you have a vdev consisting of only one drive and that drive fails, your entire

pool will be dead), but if my memory isn't failing me it's possible to add vdevs

to an existing pool, or not?

So: Leave the RAIDZ array as it is, but add another vdev to the pool, preferrably

at least a RAIDZ-2 one.

BUILD LOGS: HELIOS - Latest Update: 2015-SEP-06 ::: ZEUS - BOTW 2013-JUN-28 ::: APOLLO - Complete: 2014-MAY-10
OTHER STUFF: Cable Lacing Tutorial ::: What Is ZFS? ::: mincss Primer ::: LSI RAID Card Flashing Tutorial
FORUM INFO: Community Standards ::: The Moderating Team ::: 10TB+ Storage Showoff Topic

Link to comment
Share on other sites

Link to post
Share on other sites

What about adding another vdev to the pool? Obviously not just a single drive (since

if you have a vdev consisting of only one drive and that drive fails, your entire

pool will be dead), but if my memory isn't failing me it's possible to add vdevs

to an existing pool, or not?

So: Leave the RAIDZ array as it is, but add another vdev to the pool, preferrably

at least a RAIDZ-2 one.

You can indeed add vdevs to an existing pool. But yeah, if you have a non redundant vdev (ie a single drive) and it fails, it will bring down your whole pool since data is striped across top level vdevs (and there's no way to change that). You could also just make a new pool with a single drive in it for now.

 

(I'm in the process of working on a ZFS tutorial that will hopefully answer questions like this)

Workstation: 3930k @ 4.3GHz under an H100 - 4x8GB ram - infiniband HCA  - xonar essence stx - gtx 680 - sabretooth x79 - corsair C70 Server: i7 3770k (don't ask) - lsi-9260-4i used as an HBA - 6x3TB WD red (raidz2) - crucia m4's (60gb (ZIL, L2ARC), 120gb (OS)) - 4X8GB ram - infiniband HCA - define mini  Goodies: Røde podcaster w/ boom & shock mount - 3x1080p ips panels (NEC monitors for life) - k90 - g9x - sp2500's - HD598's - kvm switch

ZFS tutorial

Link to comment
Share on other sites

Link to post
Share on other sites

You can indeed add vdevs to an existing pool. But yeah, if you have a non redundant vdev (ie a single drive) and it fails, it will bring down your whole pool since data is striped across top level vdevs (and there's no way to change that). You could also just make a new pool with a single drive in it for now.

 

(I'm in the process of working on a ZFS tutorial that will hopefully answer questions like this)

Thought so. I haven't done any ZFS administration work in a few months, only the

periodical scrub, so I wasn't quite certain anymore.

BUILD LOGS: HELIOS - Latest Update: 2015-SEP-06 ::: ZEUS - BOTW 2013-JUN-28 ::: APOLLO - Complete: 2014-MAY-10
OTHER STUFF: Cable Lacing Tutorial ::: What Is ZFS? ::: mincss Primer ::: LSI RAID Card Flashing Tutorial
FORUM INFO: Community Standards ::: The Moderating Team ::: 10TB+ Storage Showoff Topic

Link to comment
Share on other sites

Link to post
Share on other sites

Is there a software raid that would allow this

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×