What is ZFS and Why Should I Use it?

No matter how much hard drive space you have, ZFS will be suitable for managing it.

Maximum integrity

Everything you do inside of ZFS uses a checksum to ensure file integrity.

An Introduction to the Z File System (ZFS) for Linux

When you need more memory in your box, you put in another stick and you’re done.

Here are the commands for installing ZFS on some of the most popular Linux distributions.

Solaris and FreeBSD should already come with ZFS installed and ready to use.

/wordpress/wp-content/uploads/2013/11/2-testzfs.jpg

Configuring ZFS

Now, let’s say we put six more hard drives into our computer.

will show us the six hard drives we just installed.

They’re currently unusable since they don’t contain any kind of partition table.

/wordpress/wp-content/uploads/2013/11/3-dfh1hdd.jpg

1 KB would automatically go to sdb, 1 KB to sdc, and 1 KB to sdd.

This makes writing and reading data fast, but also means we have a single point of failure.

If just one hard drive fails, we will lose our 3 KB file.

/wordpress/wp-content/uploads/2013/11/4-fdisk.jpg

This time, let’s use our three disks to create a RAID-Z pool.

To lose all of the information in your storage pool, two disks would have to die.

/wordpress/wp-content/uploads/2013/11/5-zpoollist.jpg

/wordpress/wp-content/uploads/2013/11/6-zpoollist.jpg

/wordpress/wp-content/uploads/2013/11/7-raidz.jpg

/wordpress/wp-content/uploads/2013/11/8-raidz2.jpg