Various snippets of UNIX code that might just be a waste if I keep them to myself. This blog is very much a work in progress and is mainly for myself. Yes, I should probably host code on one of those fancy code hosting web sites and I probably will eventually.
Thursday, April 10, 2014
FreeBSD: simple ZFS configuration
FYI: zfs addition to unx-flogster
just a simple listing of what is done ... for my reference really
create data zpool
flogster:~ # zpool create data /dev/da1
create file system
flogster:~ # zfs create data/nagios
change filesystem mount point away from default
flogster:~ # zfs set mountpoint=/nagios data/nagios
get rid of mountpoint for data file system created by default
flogster:~ # zfs set mountpoint=none data
and make sure zfs is enabled for the running system
flogster:~ # fgrep zfs /etc/rc.conf
zfs_enable="YES"
unix:~ # zfs set compression=lz4 data
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment