[[fester:create_pool]]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

fester:create_pool [2016/06/11 13:44] (current)
dan created
Line 1: Line 1:
 +====== Creating a FreeNAS Volume ======
 +
 +There are many different ways to organise the storage of your FreeNAS server. I can’t tell you what is best for you because it depends on various factors, how many vdevs and Zpools you want, how many data storage drives you have available, etc.  Review [[https://​forums.freenas.org/​index.php?​members/​cyberjock.22572/​|cyberjock]]'​s [[https://​forums.freenas.org/​index.php?​threads/​slideshow-explaining-vdev-zpool-zil-and-l2arc-for-noobs.7775/​|guide to ZFS for newbies]] if you aren't thoroughly familiar with it.
 +
 +Whatever way you decide to arrange things make sure you build in some sort of redundancy. This goes for the vdevs as well.
 +
 +__Remember, if one vdev fails in a Zpool it takes the whole Zpool with it.__
 +
 +This is how I arranged mine.
 +
 +Go to the “Storage” page.
 +
 +{{:​fester:​a498b5b6cf563286a07cf54dd573f267.png}}
 +
 +Now click on the “Volumes” button (1) if it is not already selected.
 +
 +Then click on the “Volume Manager” button (2). This will open up another smaller window.
 +
 +You have two options at this point.
 +
 +You can stay in this window and supply some details to the FreeNAS OS and it will suggest a redundancy option which you can accept or change.
 +
 +The other option is to use manual setup (Fester always uses manual setup, it’s just my preference).
 +
 +Now click on the “Manual setup” button (3).
 +
 +{{:​fester:​a75f221f88fff40300297d7a3be7bed9.png}}
 +
 +Give your volume a name in the “Volume name” text box (1). If you cannot think of anything then “Tank” seems to be popular amongst FreeNAS users (I don’t know why?).
 +
 +If you want the Zpool to use encryption then tick the “Encryption” box (2). But only do this if your processor supports AES-NI encryption and you have enabled it in the BIOS, otherwise don’t use it. Remember to save a recovery key.
 +
 +Now select the storage drives you want to form part of the Zpool in the “Member disks” selection box (3). To select all available disks click on the first drive, hold down the “Shift” key and with the key held down click on the last disk.
 +
 +Leave “Deduplication” set to **off** (4) (unless you understand deduplication and have plenty of RAM in your system).
 +
 +If you did not select all the available storage drives in the “Member disks” section then you will have the option of choosing the function of the unused disks in the “ZFS Extra” section. This is where you can designate a disk/s as a spare device that will immediately be utilised when one of your disks fail, or as an extra cache or log for ZFS and the FreeNAS OS. I always use all the available drives so this section has disappeared by this point.
 +
 +If you selected all available drives in the “Member disk” section then you will see a section entitled “Group Type”. In the “Group Type” section, select with the appropriate radio button the type of redundancy you wish to utilise in the Zpool (5) (Fester likes Raid-Z2 as this allows two devices to fail and the zpool is still operable. If a third device fails the zpool is trashed).
 +
 +Now click the “Add Volume” button (6).
 +
 +{{:​fester:​c6e0c56122e3f62cd4b7d46c9ab22403.png}}
 +
 +When the operation completes often the FreeNAS GUI may not update to reflect the change, so you don’t see your newly created volume listed under “Volumes”.
 +
 +If this happens to you just navigate away from the page and then navigate back to it and the page will be forced to update. You should now see the volume listed.
 +
 +If all goes well you should get something like this.
 +
 +{{:​fester:​ea7c23bad23d4341dd603da54cb65181.png}}
 +
 +That’s the FreeNAS storage volume created.
  
  • fester/create_pool.txt
  • Last modified: 2016/06/11 13:44
  • by dan