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

Thread: How do i create a Jbod?

  1. #1
    Junior Member
    Join Date
    Mar 2012
    Posts
    24

    How do i create a Jbod?

    Hello can someone please explain how to create a volume that i can just add disks to as and when i please? I believe the term is called concatenated or JBOD?

    I have 2 drives at the moment, a 1 and a 2 TB. I want them to appear as one drive on the Freenas server, but i would also like to be able to add more drives when they are needed without formatting all of the disks. If someone could help me with this it would be a huge help! I have looked for and followed guides, but i found very few and all of them have different interfaces with different buttons to the one im using (i have the latest i think).

    Chris

  2. #2
    Super Moderator
    Join Date
    May 2011
    Location
    Missouri, USA
    Posts
    622
    Hi Chris230291,

    Do you want any sort of redundancy (protection against drive failure)?

    -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

  3. #3
    Junior Member
    Join Date
    Mar 2012
    Posts
    24
    WOW thanks for the quick reply Will!

    Hmm well this is something im unsure of. I would be annoyed if i was to loose all of the data across all of the drives, but if one disk failing means that only the files on that disk are lost, im cool with that.

    Thanks,
    Chris.

  4. #4
    Senior Member
    Join Date
    Aug 2011
    Location
    Portland, OR area
    Posts
    420
    If you concatenate disks together, a failure of 1 disk means an unrecoverable failure of the volume (read: all data lost).

    I would suggest you start with something like RAIDZ, where you have a minimum of 3 spindles, and 1 is used for parity/checksum. This leaves you with the capacity of 2x. For example, if you have 3x2T in your ZFS pool as a RAIDZ, you would have ~4T of storage available. You would be able to have 1 failure (at a time) w/o losing any data (just be sure to replace the failed disk before another failure happens).
    --
    Louis Kowolowski louisk@cryptomonkeys.org
    Cryptomonkeys: http://www.cryptomonkeys.org/~louisk
    PGP: 7105 235D E7F0 47BA A2B5 CBBB DC62 C399 5600 3848

    FreeNAS 8.31
    Dell R610 2.4GHz Xeon (16cores), 24GB RAM, 3x 32G SSD, PERC5
    PowerVault MD1000 8x SATA 2.0TB striped mirrors in ZFS
    4x 1G LACP, Cisco 2960G

  5. #5
    Junior Member
    Join Date
    Mar 2012
    Posts
    24
    Thanks for the reply louisk.

    So one disk failure means i cant recover data from the "good" disks? I thought one drive was filled, then it moved on to the next? This is ideally what i want, rather than spreading files across all of the drives. The data is only media (DVD's and Blu Rays) so a loss isn't a big deal as such, but a complete loss would be a massive kick in the balls as i would need to re rip everything. I think i might be in a little over my head here, but please try to bear with me.

    Also i think i better explain what i want at the end of this incase that interferes with how i set this up. I Basically just want the Volume/s to show up in OS X, Linux and also be discoverable by DLNA and UPnP devices (xbox, blu ray players, smart TV's). I want everything to be readable by everyone, but only i can write.

    Thank you,
    Chris

  6. #6
    Senior Member
    Join Date
    Aug 2011
    Location
    Portland, OR area
    Posts
    420
    If you spread a single filesystem across multiple disks with no parity, a failure of 1 disk causes the filesystem to be unusable. The solution for that is to either:
    have multiple independant file systems (such as 1 per disk)
    or have multiple disks with parity and a single filesystem

    The cheapest way to do this would be with RAIDZ, and 3 spindles.

    I would suggest that you setup a RAIDZ volume in ZFS (minimum of 3 spindles, max of 8 per vdev, you can have more than 1 vdev is you wish).
    Share this volume with CIFS. OSX and Linux can both read CIFS just fine.

    DLNA is not supported in a stable build of FreeNAS yet, so I would suggest you wait. Its currently in BETA, and I would expect in a couple months, it will become available.
    --
    Louis Kowolowski louisk@cryptomonkeys.org
    Cryptomonkeys: http://www.cryptomonkeys.org/~louisk
    PGP: 7105 235D E7F0 47BA A2B5 CBBB DC62 C399 5600 3848

    FreeNAS 8.31
    Dell R610 2.4GHz Xeon (16cores), 24GB RAM, 3x 32G SSD, PERC5
    PowerVault MD1000 8x SATA 2.0TB striped mirrors in ZFS
    4x 1G LACP, Cisco 2960G

  7. #7
    Junior Member
    Join Date
    Mar 2012
    Posts
    24
    Sorry, that went right over my head. Im going to look some words up.

  8. #8
    Junior Member
    Join Date
    Mar 2012
    Posts
    24
    Ok thanks i now understand all of that.

    What you suggested sounds good but i only have 2 drives, a third drive has data on it that i want to save. Could i use a small USB drive to make up the numbers, then remove it once i have transfered the data over off of the third drive and added that drive to the volume?

    I can just use a media sharing client on my computer for the DLNA until theres a release.

    Thanks,
    Chris

  9. #9
    Senior Member
    Join Date
    Aug 2011
    Location
    Portland, OR area
    Posts
    420
    They would need to all be the same size (if you have a RAIDZ with 3 spindles, all 3 have to be the same size, but if you have 2x RAIDZ, you could have 3 of 1 size, and 3 of another size).

    Once you add a volume, you can't remove it.
    --
    Louis Kowolowski louisk@cryptomonkeys.org
    Cryptomonkeys: http://www.cryptomonkeys.org/~louisk
    PGP: 7105 235D E7F0 47BA A2B5 CBBB DC62 C399 5600 3848

    FreeNAS 8.31
    Dell R610 2.4GHz Xeon (16cores), 24GB RAM, 3x 32G SSD, PERC5
    PowerVault MD1000 8x SATA 2.0TB striped mirrors in ZFS
    4x 1G LACP, Cisco 2960G

  10. #10
    Super Moderator
    Join Date
    May 2011
    Location
    Missouri, USA
    Posts
    622
    Hi Chris23029,

    Just to clarify, if you have drives of different sizes ZFS will use the smallest size drives e.g. 1 X 1TB, 1 X 2TB & 1 X3TB in raidz they would "act" like 1TB drives (and give you ~1.8TB of storage).

    If you swap a 3TB drive for the 1TB drive in the above example the drives would suddenly all act like 2TB drives giving you ~4TB of space and when you swapped out the 2TB all the available space would become available.

    -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

Posting Permissions

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