Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 May 2012 14:05:15 +0100
From:      Norman Khine <norman@khine.net>
To:        freebsd-fs@freebsd.org
Subject:   Setting up ZFS on FreeBSD on 4 drives
Message-ID:  <CAKgQ7UL2Hq7e0QZuXZpUnwZ31jb3c9uxhYbQkrQEDDjetqqiBg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello,
I have a server with a total of 4 drives:

# dmesg | grep ad | grep device
ada0: <INTEL SSDSA2CT040G3 4PC10362> ATA-8 SATA 2.x device
ada1: <INTEL SSDSA2CT040G3 4PC10362> ATA-8 SATA 2.x device
ada2: <ST2000DM001-9YN164 CC4C> ATA-8 SATA 3.x device
ada3: <ST2000DM001-9YN164 CC4C> ATA-8 SATA 3.x device

ada0 and ada1 are 40Gb each
with ada2 and ada3 being 2Tb each

here are the full details:

http://pastie.org/3904764

i have followed several tutorials of setting up ZFS but have a question:

is it a good idea to have /var reside on the 2Tb drive and /usr on the 40Gb?

here is how i set it up http://pastie.org/3925356, and on line 63

zfs create -o compression=gzip -o exec=off -o setuid=off  pool0/ROOT/usr/src
zfs create -o compression=gzip -o setuid=off  pool0/ROOT/usr/ports
zfs create -o compression=off -o exec=off -o setuid=off
pool0/ROOT/usr/ports/distfiles
zfs create -o compression=off -o exec=off -o setuid=off
pool0/ROOT/usr/ports/packages
zfs create -o compression=lzjb pool0/ROOT/usr/obj

zfs create -o compression=on -o exec=on -o setuid=off pool1/ROOT/tmp

zfs create -o compression=lzjb  -o exec=off  -o setuid=off
pool1/ROOT/var/crash
zfs create -o compression=off -o exec=off -o setuid=off   pool1/ROOT/var/empty
zfs create -o compression=lzjb  -o exec=on -o setuid=off  pool1/ROOT/var/tmp

any advise of making this better much appreciated.


-- 
%>>> "".join( [ {'*':'@','^':'.'}.get(c,None) or
chr(97+(ord(c)-83)%26) for c in ",adym,*)&uzq^zqf" ] )



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKgQ7UL2Hq7e0QZuXZpUnwZ31jb3c9uxhYbQkrQEDDjetqqiBg>