From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 489B413878D for ; Fri, 1 Nov 2013 13:49:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 69576E096B; Fri, 1 Nov 2013 13:48:57 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 49408E084A for ; Fri, 1 Nov 2013 13:48:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 86E8F33EFC6 for ; Fri, 1 Nov 2013 13:48:55 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Flag: NO X-Spam-Score: -1.537 X-Spam-Level: X-Spam-Status: No, score=-1.537 tagged_above=-999 required=5.5 tests=[AWL=-1.004, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.531, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=no Received: from smtp.gentoo.org ([IPv6:::ffff:127.0.0.1]) by localhost (smtp.gentoo.org [IPv6:::ffff:127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sdHpyaAovGBb for ; Fri, 1 Nov 2013 13:48:49 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 66BCE33EFCF for ; Fri, 1 Nov 2013 13:48:49 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VcF5h-0004AK-8I for gentoo-user@gentoo.org; Fri, 01 Nov 2013 14:48:45 +0100 Received: from rrcs-71-40-157-251.se.biz.rr.com ([71.40.157.251]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Nov 2013 14:48:45 +0100 Received: from wireless by rrcs-71-40-157-251.se.biz.rr.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Nov 2013 14:48:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: James Subject: [gentoo-user] ZFS formating Date: Fri, 1 Nov 2013 13:48:23 +0000 (UTC) Message-ID: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 71.40.157.251 (Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Firefox/17.0 SeaMonkey/2.14) X-Archives-Salt: f9383135-554a-4782-8126-56b866b2ee99 X-Archives-Hash: 431f20ce0b4c25bbed8d2fe0f5a929e9 Hello, > So after readaing quite a bit about ZFS, I still have some simple question(s). Can you install ZFS on a single drive? Does that make sense or is it "illogical/dumb" to do so? Is the latest version of SystemRescue the best media to use to format disks with ZFS? Caveats? Last, after looking at the thread from 17Sep2013, I have culled. These bookmarks as the best resources to follow (any others?) : http://wiki.gentoo.org/wiki/ZFS Just emerge zfs and its depndancies. Special/additional Flags recommended but not in the aforementioned resource listing? turn off readahead. ZFS' own readahead and the kernel's clash - badly. set it with blockdev to 8 (for example). Doesn't turn it off. Just makes it none-obstrusive. Turn off kernel's readahead for a visible performance boon. use noop as io-scheduler. > Has anyone tried hardened and ZFS together? I did - I had some problems, but I'm not sure if they were caused by the combination of ZFS and hardened. There were some issues updating kernel and ZFS (most likely due to ZFS on root and me using ~arch hardened-sources and the live ebuild for zfs). There are some hardened options that are known to be not working (constify was one of them but that should be patched now). I think another one was HIDESYM. There is a (more or less regularly updated blogpost by prometheanfire (installation guide zfs+hardened+luks [1]). So you could ask him or ryao (he seems to support hardened+zfs at least to a certain degree). Very interesting! What I want to experiment with is Pentoo on ZFS and then downloading all the sources to create a secure gentoo installation (hardened)_ by using Pentoo-amd64-2013.0_RC1.9.iso as the starting point. Since the pentoo-installer script does not offer ZFS (yet), I thought I'd just use SystemRescue (systemrescuecd-x86-3.8.1.iso) to set up ZFS? I do not need luks, for this test system. I have recently stopped using the option to built ZFS into the kernel as I ran into problems with vdevs reported as corrupt on the system I was trying this on. They weren't corrupt and mounted fine in System Rescue Cd with modules, and the problem disappeared when I switched to modules. Plan carefully how you are going to create the vdev's before you add them to a pool. Precisely my point, on a single 2T drive, or should I add (required) a second 2T drive for this experiment. After I get this to work, I have a 4 drive system to set up for testing...... http://wiki.illumos.org/display/illumos/ZFS+and+Advanced+Format+disks Ok, so I have a single 2T seagate, or a pair of seagate 2T or 4 Green 2T WD drives to use for testing. I just thoght a single drive rig would be fastest until I correct all of the missteps (if it can go wrong in an install, I'll find it). Just do ashift=12 and you're good to go. So to recoup, my twist is to use the latest Pentoo install media, becuase it is streamlined and yeilds a hardened system on top of ZFS. Anyone, care to splice in comments, suggestions or clarifications before I invest some days in this venture? curiously, James