From owner-freebsd-questions@FreeBSD.ORG Fri Nov 19 10:40:37 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1D08106566C for ; Fri, 19 Nov 2010 10:40:37 +0000 (UTC) (envelope-from fbsdq@peterk.org) Received: from poshta.pknet.net (poshta.pknet.net [216.241.167.213]) by mx1.freebsd.org (Postfix) with ESMTP id 6A21C8FC13 for ; Fri, 19 Nov 2010 10:40:37 +0000 (UTC) Received: (qmail 72731 invoked by uid 89); 19 Nov 2010 10:40:36 -0000 Received: from localhost (HELO pop.pknet.net) (127.0.0.1) by poshta.pknet.net with ESMTP; 19 Nov 2010 10:40:36 -0000 Received: from 216.241.170.11 (SquirrelMail authenticated user fbsdq@peterk.org) by pop.pknet.net with HTTP; Fri, 19 Nov 2010 03:40:36 -0700 Message-ID: <8edd28e167e5e4e6c525936400dbc892.squirrel@pop.pknet.net> In-Reply-To: References: <4CE52F49.4010602@sentex.net> <218D523D-A5BF-4E37-BC75-2FBF67C1D618@mac.com> <15996e2cfb833e0ed3fa9d19725b3a95.squirrel@pop.pknet.net> Date: Fri, 19 Nov 2010 03:40:36 -0700 From: "Peter" To: "Andy Wodfer" User-Agent: SquirrelMail/1.4.21 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-questions Subject: Re: FreeBSD and large harddrives X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Nov 2010 10:40:37 -0000 > On Fri, Nov 19, 2010 at 9:30 AM, Peter wrote: > >> I tend to stay away from raid cards. With ZFS pools all you need is ZFS >> and any OS [easily move drives around servers], vs. raid cards have to >> be >> the same if moving/replacing/card fails. >> >> With 'ZFS: do not give it all your HDD' >> [ http://www.freebsddiary.org/zfs-with-gpart.php ] >> You don't even need to have drives that are exactly the same. >> >> Completely not tied to any hardware.... >> > > Wow! I'm learning more and more and I'm really beginning to like ZFS! > > Question: What happens if 1 drive out of say 4 fails in a pool? And what > about hotswapping a (faulty) drive? Is this still possible with ZFS? Can I > actually replace a Raid 5 setup with a ZFS settup and have the same data > security if drives fail?' > > Cheers, > Andy Easily can be done. zpool mirror on a desktop, I recently just did a 'zpool offline' one of the drives, unplugged it from my sata port, plugged in another drive, and put it into the pool - all with desktop running. No esata, just cheap sata controller [biostar mobo] with AHCI enabled in BIOS and loader.conf. [My version of cheap esata and "offsite backups"] Make sure to use labels when adding drives to pool. With gpart labels, I can plug a drive into any port and FreeBSD/ZFS will pickup the label and no need to worry about putting drives into correct port/controller. You might want to try raidz instead of raid-5, but I've no experience with that except for what I've read. [ http://en.wikipedia.org/wiki/RAID-Z#RAID-Z ] ]Peter[