From owner-freebsd-fs@FreeBSD.ORG Thu May 17 13:05:16 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C380106566C for ; Thu, 17 May 2012 13:05:16 +0000 (UTC) (envelope-from norman@khine.net) Received: from mail-gg0-f182.google.com (mail-gg0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 598C78FC0C for ; Thu, 17 May 2012 13:05:16 +0000 (UTC) Received: by ggnm2 with SMTP id m2so2214478ggn.13 for ; Thu, 17 May 2012 06:05:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :x-gm-message-state; bh=xDSBcEskUo/Xf5klc7YK60etp+MKR8aqobEPNcKHAx8=; b=BRc3WXfOQP1/C0Kzap+WOu4PoYG4qnDUAbqt0LP5CyCfv4jYikb31rouqAmk6ozt/T rCMchY/hvWklYjpuxbpx+pn8pHt25kaByUr5E/o+5YMx0R7PinfZRbi5aT5mD/hFx3Rx F0YOSgI98SFdNxTRImdtOujFwCu8Lyadudop521r+RgsxBFVdj4JvubiAEHmZXS9GJeJ 0WDPIEvNx45zzCalVw+QR8FHwGHP4tfO7+C0XwaZW+OUuKwb1g+9m6jk/RDd6oeQHMAE mNYAm5EXWbTuMRZmcIqAmVECo3a0rw3wCZpCT/mbduVCsokVGAIl/ADINrfS0iHe6NWz BGEA== MIME-Version: 1.0 Received: by 10.42.150.8 with SMTP id y8mr4389627icv.10.1337259915195; Thu, 17 May 2012 06:05:15 -0700 (PDT) Received: by 10.50.131.226 with HTTP; Thu, 17 May 2012 06:05:15 -0700 (PDT) Date: Thu, 17 May 2012 14:05:15 +0100 Message-ID: From: Norman Khine To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQlMGnOhg6CHxHbXKVfz//4r3Zq7xiasCh4uk+ZU9ifb6snlqXryXIKxNHrc3iQzL+VTyKov Subject: Setting up ZFS on FreeBSD on 4 drives X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 May 2012 13:05:16 -0000 Hello, I have a server with a total of 4 drives: # dmesg | grep ad | grep device ada0: ATA-8 SATA 2.x device ada1: ATA-8 SATA 2.x device ada2: ATA-8 SATA 3.x device ada3: 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" ] )