Zfs setup nas4free




















Seventh step is to locate the shared drive. You can try to use the Browse… button but sometimes the newly created share is not immediatley available.

So the alternative method is to enter the share name in the Folder field. Now you use this drive just like any other drive on your windows system. This site uses Akismet to reduce spam. Learn how your comment data is processed. Open a browser to this page to get the login Setting up ZFS filesystem It is recommended that you create a ZFS file system to take advantage of multiple disks, in this example there are two 4TB physical drives in the desktop server.

Leave a Reply Cancel reply. Sorry, your blog cannot share posts by email. Likewise with the cache drives. The great part is that this server was put together using spare parts in the lab. Just select the image once downloaded and let it run. If you do use a USB stick, a tip is to use the Embedded installation. The installer is good, so let it work. Now it is time to install to choose the installation media.

Again, 16GB is too big for this type of application, but it is what we had on hand. After that screen, click OK and wait for the installer to prompt you to restart. Remove the installation media and reboot the system.

And the web interface is fairly mature so most tasks can be completed easily using a browser post-installation. Overall the process should take you about 5 minutes. It is certainly one of the more straightforward NAS software installations out there today. There are many users turned off by command line installers.

NAS4Free is one of the more straightforward installations since one can use the default values for most of the prompts. Occasionally you may have to replace a hard disk in your zpool that has become defective. Power down NAS4Free, then identify and replace the defective disk with one of equal storage capacity using, if possible, the same SATA port [Pro-tip: Take the time to label your disks correctly e. It will make physically identifying the defective disk much easier!

If you were able to reuse the same SATA port, the device name should be same as the defective disk e. One of the many great features about using ZFS is its snapshot capability. A snapshot is a read-only reference to the state of a dataset at the moment the snapshot was taken.

It is a reference, and not copy, because at the moment it is taken, it takes up no additional space. However, as data within the dataset changes, either because files are modified or deleted, the snapshot consumes disk space by continuing to reference the old data. This behavior allows you to easily recover files if necessary, but in doing so prevents disk space from being freed until the snapshot is deleted.

Enter a name for the snapshot e. Here you can schedule a time the system should perform the snapshot and how long it should retain them, resulting in the oldest snapshot being deleted when the deadline is reached.

This allows you to simply navigate to the snapshot directory your interested in and copy files from that directory to the current filesystem. Another way you can recover files from snapshots is to clone one to another directory.

This approach has the advantage of allowing you to share out the cloned snapshot directory, say using CIFS or NFS, for some period of time until files are recovered. Note that this path must be expressed as a relative path. Also note that the directory where the snapshot will be cloned does not have to be created in advance, rather it will be created automatically for you when you clone the snapshot.

This operation traverses all the data in the zpool once and verifies that all blocks can be read. Ensure that the command is run as the root user and enter a description for the cron job if desired. If you have consumer-quality drives, consider a weekly scrubbing schedule. If you have data center-quality drives, consider a monthly scrubbing schedule. Also note that depending upon the amount of data in the zpool, a scrub can take a long time. Consequently, you may want to consider scheduling them for evenings or weekends to minimize the impact on performance.

Hi, very much nicely written article and provide the steps very clearly. Is it a good idea to keep reservation and quota the same value? Also do we have option to use dataset in iSCSI or the only option is volumes created under pool? Great post!

I found this very helpful, thank you! Also, thanks for showing what to do in-case of HDD failure, that was helpful too. It would be great if you showed what to do if the NAS installation itself became corrupt, or the device it was being stored on died. VenomouS, thanks for the kind comments. In fairness though, the developers over at nas4free probably have their hands full maintaining a really good NAS product.



0コメント

  • 1000 / 1000