2. Add a new vdev to your pool with the SAME level of redundancy, if you started with a 6 disk raidz2 and want to add 4 disks in a raidz2.
@matthewowen01: Does it have to be the same level of redundancy? What if you create a volume/zpool with a single RAIDZ vdev consisting of 4 disks, then later you add (as an example) a 2-disk mirror vdev to the same zpool? I think that should work, and ZFS will stripe new data across both the existing RAIDZ vdev and also the new RAID1/mirrored vdev.
HiZFS supports 2 ways of increasing a pools size.
expanding a pool is quite easy as long as you're comfortable with the cli. you need to choose how you want to increase your size. you have 2 options: 1. replace every disk with a larger one, if you started with 500 GB drives and want to move to 2 TB drives. 2. Add a new vdev to your pool with the SAME level of redundancy, if you started with a 6 disk raidz2 and want to add 4 disks in a raidz2.
let me know what you currently have and which way you want to go. I've done them both and they are no more difficult than the other.
I guess what you are mentioning in your second point is a "zpool add pool vdev" command, aren't you? From what I've read, modifying the zpools using CLI causes the internal FreeNAS ZFS database to desynchronize from the actual ZFS zpools configuration and it is NOT recommended since there is no way to resynchronize.
But maybe I'm wrong (actually, I hope to be).
29) Can I use the Web interface and also use the command line interface to ZFS in FreeNas?
The answer depends on what you do to your ZFS pool.
The GUI interface relies an a small database for its current settings, which resides on your USB drive. Changes to the ZFS file system made in the GUI are written to this database, however the reverse is not true. When you issue commands from the command line, these commands do not update the GUI database. This means that the actual state of ZFS may be different from what the GUI assumes.
An example:
Exporting a pool from the command line, does not mean the GUI knows it has been exported.
Not sure if this is the place to ask this but...
jfr2006: You mention that the existing version of ZFS in FreeNAS does not support expanding a RAIDZ1 from eg 3 -> 4 disks.
Is that supported in newer versions of ZFS and are there plans to include that version in FreeNAS?
I am planning on building a FreeNAS box and I am still confused about adding drives later.
If I start with (2) 1.5TB and (2) 2TB drives in RAID-Z I will have a 4.5TB ZFS pool correct?
What if later I replace the (2) 1.5TB drives one at a time with (2) 2TB drives? Will I be able to expand to a 6TB Z-pool?
Well that is good. Now what if after I have all (4) 2TB drives in RAID-Z I add a PCIe 2.0 x4 SATA card and attach drives to that, can I expand the volume further?Yes :)
Doesn't sound like you're confused ;)
Well that is good. Now what if after I have all (4) 2TB drives in RAID-Z I add a PCIe 2.0 x4 SATA card and attach drives to that, can I expand the volume further?
Only by adding another vdev (similar group of disks) to the existing pool or adding separate pool.
(There has GOT TO BE a video or diagram that demonstrates this somewhere! Very few people get the concept) ;)
...if I add 2 more drives (start with a 4 drive raid-z 2tb each) those are a seperate vdev but in the same pool?
Do they not have redundancy?