ZFS

From HackerNet
Revision as of 20:54, 17 December 2015 by Helikopter (talk | contribs) (Created page with "ZFS är filsystem kombinerat med volymhanterare. Det körs främst på BSD men finns även till Linux. =Installation= ''Ubuntu'' sudo apt-add-repository -y ppa:zfs-native/st...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

ZFS är filsystem kombinerat med volymhanterare. Det körs främst på BSD men finns även till Linux.

Installation

Ubuntu

sudo apt-add-repository -y ppa:zfs-native/stable
sudo apt-get update && sudo apt-get -y install ubuntu-zfs

Konfiguration

Pool

zpool create POOL raidz1 \
        /dev/disk/by-id/ata-WDC_WD \
        /dev/disk/by-id/ata-WDC_WD \
        /dev/disk/by-id/ata-WDC_WD \
        -o ashift=12 -o failmode=continue
 zfs set atime=off POOL

Show

zpool list
zpool status

Dataset

zfs create POOL/test

Compression

zfs set compression=on POOL/test

Dedup

zfs set dedup=on POOL/test

Scrub

zpool scrub

IO intensive