Skip to content

Long night, a zfs and some questions after using zfs get all

I heard my main zfs pool is scrubbing again so i decided to take a look on it. If first started with refreshing my knowledge by using some zpool default commands.

zpool iostat 2 zpool status 2
Both upper commands displays important informations about your pool in an interval of 2 seconds. You can even add a "-v" if you want to know more ;-). After watching the scrubbing for a while, i also remember the existence of some zfs attributes.
zfs get all
Et voilà, all attributes are listed very well. I studied the attributes and was quite happy that i already configured a lot the right way. Compression was set to backup and tool, but not to image for e.g. The only thing i missed was the thing about the access time (atime). I really don't care about access time for my files, so it was time to disable this feature to gain some speed.
zfs set atime=off rpool
I was alos not shure if the following attributes are doing what i estimate of them.
sharenfs zoned snapdir utf8only normalization vscan nbmand sharesmb quota reservation
But after quickly asking the world wide web, i found a simple but usefull page called linux.die.net/man/8/zfs. This page lists all available (ZFS v28) attributes and adds usefull informations to it. I was also investigating the compression attribute. But after a while of surfing and testing on my own (by switching compression), i came to that point, that the default compression method (LZJB) is a good balancing act between speed and cpu usage. While using my browsers, i also stumbled over old bookmarks i want so share. hub.opensolaris.org/bin/view/Community+Group+zfs solarisinternals.com/ZFS Best Practices Guide solarisinternals.com/ZFS Evil Tuning Guide docs.oracle.com/cd/E19082-01/817-2271/ lildude.co.uk/zfs-cheatsheet denisy.dyndns.org/lzo_vs_lzjb

Trackbacks

Keine Trackbacks

Kommentare

Ansicht der Kommentare: Linear | Verschachtelt

Noch keine Kommentare

Kommentar schreiben

Die angegebene E-Mail-Adresse wird nicht dargestellt, sondern nur für eventuelle Benachrichtigungen verwendet.
Um einen Kommentar hinterlassen zu können, erhalten Sie nach dem Kommentieren eine E-Mail mit Aktivierungslink an ihre angegebene Adresse.

Um maschinelle und automatische Übertragung von Spamkommentaren zu verhindern, bitte die Zeichenfolge im dargestellten Bild in der Eingabemaske eintragen. Nur wenn die Zeichenfolge richtig eingegeben wurde, kann der Kommentar angenommen werden. Bitte beachten Sie, dass Ihr Browser Cookies unterstützen muss, um dieses Verfahren anzuwenden.
CAPTCHA

Markdown-Formatierung erlaubt
Formular-Optionen