From owner-freebsd-fs@FreeBSD.ORG Tue Dec 9 16:41:55 2008 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 B5A941065670 for ; Tue, 9 Dec 2008 16:41:55 +0000 (UTC) (envelope-from freebsd-fs@tychl.net) Received: from mail.tychl.net (unknown [IPv6:2001:470:1f01:716::1]) by mx1.freebsd.org (Postfix) with ESMTP id 85D9D8FC08 for ; Tue, 9 Dec 2008 16:41:55 +0000 (UTC) (envelope-from freebsd-fs@tychl.net) Received: from localhost (localhost [127.0.0.1]) by mail.tychl.net (Postfix) with ESMTP id C3B091CB4D; Tue, 9 Dec 2008 11:41:31 -0500 (EST) X-Virus-Scanned: amavisd-new at tychl.net Received: from mail.tychl.net ([192.168.0.2]) by localhost (masq.tychl.net [127.0.0.1]) (amavisd-new, port 10024) with SMTP id 4VQR0TlX31EC; Tue, 9 Dec 2008 11:41:30 -0500 (EST) Received: from [172.16.1.94] (unknown [172.16.1.94]) by mail.tychl.net (Postfix) with ESMTP id C1DA91CB4C; Tue, 9 Dec 2008 11:41:29 -0500 (EST) Message-ID: <493E9FB8.2090808@tychl.net> Date: Tue, 09 Dec 2008 11:41:28 -0500 From: Nick Gustas User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: Bryan Alves References: <92f477740812082155y3365bec7v5574206dd1a98e26@mail.gmail.com> In-Reply-To: <92f477740812082155y3365bec7v5574206dd1a98e26@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org Subject: Re: ZFS resize disk vdev 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: Tue, 09 Dec 2008 16:41:55 -0000 Bryan Alves wrote: > I'm thinking about using a hardware raid array with ZFS, using a single disk > vdev zpool. I want the ability to add/remove disks to an array, and I'm > still unsure of the stability of zfs as a whole. I'm looking for an easy > way to resize and manage disks that are greater than 2 terabytes. > > If I have a single block device, /dev/da0, on my system that is represented > by a zfs disk vdev, and the size of this block device grows (because the > underlying hardware raid expands), will zfs correctly expand? And will it > correctly expand in place? > If you have ZFS on the raw da0 and not on partition, it will expand with a zpool export/import or a reboot after the hardware is done expanding the array. If you put ZFS on a partition, you'll first need to extend the partition after the expansion finishes. I have a friend running ZFS on a 24 port 3ware controller that has expanded his system from a 4 disk raid-5 to a 17 disk raid-6, 1 to 2 disks at a time. Obviously he's well past 2TB at this point. Performance isn't as good as it would be natively, but it's faster than needed and the only option at the moment. No troubles yet other than a disk failure or two, the system has been in use since Sep 2007. > zpool status pool: threeware state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM threeware ONLINE 0 0 0 da0 ONLINE 0 0 0 errors: No known data errors