Skip to content
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.

Commit

Permalink
Add some more default "zpool create" options
Browse files Browse the repository at this point in the history
  • Loading branch information
pypt committed Aug 30, 2021
1 parent 33c2819 commit 04bc9c6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions doc/deploying.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,12 @@ sudo chmod 600 /zfspool

# Create a single "space" ZFS pool for all data
# (replace /zfspool with a path to your disk device)
sudo zpool create -o ashift=12 space /zfspool
sudo zpool create -o ashift=12 -o autotrim=on -O compression=lz4 -O acltype=posixacl -O dnodesize=auto -O normalization=formD -O relatime=on -O xattr=sa space /zfspool

# Create "space/mediacloud" ZFS filesystem for Media Cloud data
sudo zfs create space/mediacloud

# Enable compression and optimize the filesystem (and its descendants)
sudo zfs set compression=lz4 space/mediacloud
sudo zfs set recordsize=16K space/mediacloud
sudo zfs set primarycache=metadata space/mediacloud
sudo zfs set atime=off space/mediacloud
Expand Down

0 comments on commit 04bc9c6

Please sign in to comment.