From owner-freebsd-stable@FreeBSD.ORG Tue Jun 1 13:40:38 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA525106564A for ; Tue, 1 Jun 2010 13:40:38 +0000 (UTC) (envelope-from michal@ionic.co.uk) Received: from mail1.sharescope.co.uk (pm1.ionic.co.uk [85.159.80.19]) by mx1.freebsd.org (Postfix) with ESMTP id 7AF218FC19 for ; Tue, 1 Jun 2010 13:40:37 +0000 (UTC) Received: from localhost (unknown [127.0.0.1]) by mail1.sharescope.co.uk (Postfix) with ESMTP id 9E5C5FC0B5 for ; Tue, 1 Jun 2010 13:40:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at sharescope.co.uk Received: from mail1.sharescope.co.uk ([127.0.0.1]) by localhost (mail1.sharescope.co.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dmtxRCLEDBJo for ; Tue, 1 Jun 2010 14:40:33 +0100 (BST) Received: from [192.168.2.37] (office.ionic.co.uk [85.159.85.2]) (Authenticated sender: chris@sharescope.co.uk) by mail1.sharescope.co.uk (Postfix) with ESMTPSA id 3D3ACFC0A2 for ; Tue, 1 Jun 2010 14:40:33 +0100 (BST) Message-ID: <4C050DCF.3050105@ionic.co.uk> Date: Tue, 01 Jun 2010 14:40:31 +0100 From: Michal User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-stable@freebsd.org X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Adding a second device to my zfs pool X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 13:40:38 -0000 I am having problems getting my head around a small ZFS issue. If I build a fileserver, say for example a 20 x 1TB disk server with zfs and create a file server, it can work fine and I can have RADIZ or RAIDZ2 or whatever. I could create 4 groups of 5 1TB HDD's and do all things like that...It's shared using iSCSI or samba or whatever, desktops and servers can see the files, everything works fine. But one day I run out of space, so I think right, build an exact copy of the one I have so I have another 20 TB server, given me 40TB, but I want nothing to change for the desktops/servers and as far as they know nothing as happened. But my problem is I could set that second server up, but how do I add the space to my existing pools? I create my RAIDZ2 zpools of hard drives, the raid works and everything, but now I want to increase my existing storage. I could go to my first server and simply add the storage to my groups, thus increasing the size...but then if that server fails I will lose all data? will I not? Basically I'm having trouble finding information on what happens when you add a second file server to increase your space. I see lots of guides and documents for 1 device and adding more HDD's to that device, but not when you need to add a second device (run out of HDD space in the device for example) Thanks