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/lzovslzjb

Translate to de es fr it pt ja

Trackbacks

No Trackbacks

Comments

Display comments as Linear | Threaded

No comments

Add Comment

Standard emoticons like :-) and ;-) are converted to images.
E-Mail addresses will not be displayed and will only be used for E-Mail notifications.
To leave a comment you must approve it via e-mail, which will be sent to your address after submission.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA

Markdown format allowed
Form options