Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Zfs pool adding extra drives

  1. #1

    Zfs pool adding extra drives

    Hi everyone, this is my first post ever and my first time building a freenas system, so I am very scared/excited! Also I have a couple of questions:

    I am theming to build something that is similar to a drobo but running on freenas...right now my computer has enough bays and sata ports (on board and via sata card) to power 8 drives. However I only have 5 drives.

    Now doing my research I read that drives cannot be added (the physical number is set when the zpool is created) but the drives themselves can be removed and replaced with larger drives to increase capacity.

    Is there any truth to this? Can I potentially create a zpool with empty slots for drives anticipating adding new drives in the future? And is the process plug and play or does it require some sort of configuration?

    Very grateful for the help front you guys, thanks again.

  2. #2
    Super Moderator
    Join Date
    Mar 2012
    Location
    Chicago, IL
    Posts
    3,192
    You should read the stickies in the Noob section... I've answered that question there.
    Read my guide! It answers common questions newbies to FreeNAS have.

    If your question is answered in the FreeNAS manual, expect me to point out you couldn't be bothered to read it before posting. Someday I may not want to bother with a response either

  3. #3
    alright myabe i should just buy a drobo...its odd that someone hasnt created a software solution to allow for drive upgrades and replacement as needed...

  4. #4
    Super Moderator
    Join Date
    Mar 2012
    Location
    Chicago, IL
    Posts
    3,192
    Drobo's design is for a totally different customer base than FreeNAS. Drobos don't have ZFS nor the reliability that can come from a properly setup FreeNAS server. They're great for cheap server space and low performance/reliability compared to FreeNAS.
    Read my guide! It answers common questions newbies to FreeNAS have.

    If your question is answered in the FreeNAS manual, expect me to point out you couldn't be bothered to read it before posting. Someday I may not want to bother with a response either

  5. #5
    Junior Member
    Join Date
    Jan 2013
    Posts
    9
    You could create one Vdev with 4 drives now, and then create another Vdev with 4 drives later and that way expand your available storage. It's all in the guide.
    Last edited by zicoz; 02-04-2013 at 09:19 AM.
    SuperMicro X9SRL-f
    Intel(R) Xeon(R) CPU E5-2603 0 @ 1.80GHz
    16GB Kingston Memory KVR1333D3E9SK2
    3x IBM M1015 flashed to LSi and IT mode

  6. #6
    Senior Member fracai's Avatar
    Join Date
    Aug 2012
    Posts
    185
    Or create your 4 drive VDEV and then, one-by-one, replace the drives with larger versions.

    There's also a tutorial I've seen on manually partitioning each drive and building VDEVs from the partitions. Search online for "ZFS Drobo". This is the one that started me: http://forums.smallnetbuilder.com/showthread.php?t=5599

    It always seemed like too much work, not enough benefit, and likely to be constricting later on.
    i am jack's amusing sig file

  7. #7
    Super Moderator
    Join Date
    May 2011
    Location
    Missouri, USA
    Posts
    622
    Hi Smashmouthftball,

    Do a little research into the history of ZFS and you should get a better understanding about why this add-drives-to-a-pool thing exists. Basically ZFS is a big, beefy filesystem that started out in the enterprise where you just don't add drives one by one, you add them by the disk shelf or rack of disk shelves.

    It's a common concern for the user who wants to grow their storage drive by drive, but it is something that can be worked around given proper education and planning.

    -Will
    FreeNAS-9.1.0-ALPHA - 8 x Samsung F3 HD103SJ 7200RPM Drives
    ZFS raidz2 - Supermicro X9SCL-F - Intel i3-2100 Dual-Core 3.1Ghz
    IBM BR10i - 16GB DDR3-1333 ECC - Intel "PT" Quad-Port Gig-E NIC

  8. #8
    Senior Member joeschmuck's Avatar
    Join Date
    May 2011
    Location
    Dark Side of the Moon
    Posts
    1,347
    Or you could create another zpool vice adding another vdev (group of drives) into the same zpool. I rarely hear this option being offered up as a solution, maybe because there needs to be some understanding along with it as to the benefits and limitations.

  9. #9
    Super Moderator
    Join Date
    Mar 2012
    Location
    Chicago, IL
    Posts
    3,192
    Quote Originally Posted by joeschmuck View Post
    Or you could create another zpool vice adding another vdev (group of drives) into the same zpool. I rarely hear this option being offered up as a solution, maybe because there needs to be some understanding along with it as to the benefits and limitations.
    I think the main reason it's not offered up as a solution is that the people asking the question are usually noobs, so why give them answers that add even more complexity to their woes. It's like if my mom asks how to have her own webpage, I wouldn't tell her to make her own http server etc etc. I'd tell her to call one of those web hosting services that does most of the hard work for you and you just upload some html files.

    The answer is tailored to the person asking the question. Ergo, if you are asking the forum how to add 1 more disk to your vdev you definitely do not have a very firm grasp of the fundamentals. The last thing I'd try to tell them to do is make another vdev. I'd tell them to go read the manual or my guide on vdevs and let them understand why they can't do what they want and let them decide how to proceed.
    Read my guide! It answers common questions newbies to FreeNAS have.

    If your question is answered in the FreeNAS manual, expect me to point out you couldn't be bothered to read it before posting. Someday I may not want to bother with a response either

  10. #10
    Senior Member fracai's Avatar
    Join Date
    Aug 2012
    Posts
    185
    Quote Originally Posted by joeschmuck View Post
    Or you could create another zpool vice adding another vdev (group of drives) into the same zpool. I rarely hear this option being offered up as a solution, maybe because there needs to be some understanding along with it as to the benefits and limitations.
    I think one reason it isn't offered is that it just doesn't occur to the responder as an option. Certainly one of the benefits of ZFS is that you can throw a bunch of disks at it and treat them as one volume. Even if you create multiple datasets, they can grow independently and be resized without the constraits of repartitioning. Managing multiple pools is a way to increase the array size, but it also defeats some of the benefits. Further, if you're only adding the one drive (as most users are asking about), you're still not keeping the redundancy that made ZFS seem so shiny.

    So it is an option that should be offered, but it's another set of benefits and constraints that need to be considered as well.
    i am jack's amusing sig file

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •