Now we need to use those disks to create a zPool.Ĭlick the ADD button and the new pool window pops up. Once done click the COLUMNS button and select Descriptions. On each disk, click the > on the right this expands the disk information and gives you the option to add a description. After all it would be very embarrassing to put out the wrong disk. This is not very helpful because it tells me the logical disk name but not the physical port.Īs my physical FreeNAS server is an old tower system I need to know what disk in FreeNAS maps to which physical port. Go to Storage and Disks to see a list of disks. For this post we will use a ZFS equivalent of a RAID 10 but I will demonstrate all the other RAID options. This is illustrated in the next article FreeNAS – Windows (CIFS) Shares on ZFS.In this post we will add disks to the FreeNAS server and configure them in to a zPool. Having a periodic snapshots is like having a time machine – you can go back and restore the data to a previous state. The lifetime will be 2 weeks, it will run between 9:00 and 18:00 every hour from Monday to Friday: The next thing will be to set up a periodic snapshot for the ZFS volume. Let’s set the permissions for the new dataset from Storage -> View Volumes -> Change Permissions: The next screen-shot shows creation of a dataset named Backup: If you wish to divide up a ZFS volume’s data into different shares, create a dataset for each share. NOTE: if your goal is to share an entire ZFS volume, you don’t have to create datasets. A dataset is similar to a folder in that you can set permissions it is also similar to a filesystem in that you can set quotas and compression. In contrast ZFS datasets allow for more granularity when configuring which users have access to which data. This allows you to use a zvol as an iSCSI device extent for example. With the new ZFS volume in place you can create either ZFS Volume or ZFS Dataset.Ī zvol (ZFS volume) is a feature of ZFS that creates a device block over ZFS. The default interval between consecutive runs is 35 days. ZFS has a repair tool called “scrub” which examines and repairs Silent Corruption and other problems. This will also automatically create a ZFS Scrub for the volume. This will show a pop-up where you type the volume name, select the disk (in this case ada0), the file system type ( ZFS) and click Add Volume button: From the left navigation expand Storage -> Volumes and click on Volume Manager. The next step is to create the file system on the USB hard-disk. The newly created group is associated with the user (through the Members button).: The next two screen-shots show just that: These will be used later when setting the shares owner. I will start with creating a group ( HomeUsers) and user ( john). The goal is to create the file system (ZFS) and some Windows (CIFS) shares on top of it that will be available for data storage on my local network. I use an old laptop and 120GB USB hard-drive. I thought it was too complicated and I was afraid it will use up too much space because of the snapshots capability.įew days ago I installed the latest beta of FreeNAS 8 on a USB stick ( here how it is done) and decided to give a try to ZFS finally. I always was curious about ZFS but haven’t played with it until very recently.
0 Comments
Leave a Reply. |