Zfs: Difference between revisions

Jump to navigation Jump to search
135 bytes added ,  5 years ago
No edit summary
Line 49: Line 49:
This will create a new mount point at <code>/data</code> backed by the volumes attached at <code>/dev/vdb</code> and <code>/dev/vdc</code>. The filesystem will have a size slightly smaller than the combined sizes of all attached volumes.
This will create a new mount point at <code>/data</code> backed by the volumes attached at <code>/dev/vdb</code> and <code>/dev/vdc</code>. The filesystem will have a size slightly smaller than the combined sizes of all attached volumes.


Turn on and choose a compression algorithim
ZFS can compress data as it is written to the file system and uncompress it when it is read. To turn on and choose a compression algorithim for a zpool use the following command.
<source lang="console">
<source lang="console">
[name@server]$ sudo zfs set compression=lz4 data
[name@server]$ sudo zfs set compression=lz4 data
cc_staff
1,486

edits

Navigation menu