From owner-freebsd-fs@FreeBSD.ORG Mon Jun 4 20:15:04 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4D8B4106566C for ; Mon, 4 Jun 2012 20:15:04 +0000 (UTC) (envelope-from simon@optinet.com) Received: from cobra.acceleratedweb.net (cobra-gw.acceleratedweb.net [207.99.79.37]) by mx1.freebsd.org (Postfix) with SMTP id F33E08FC08 for ; Mon, 4 Jun 2012 20:15:03 +0000 (UTC) Received: (qmail 99581 invoked by uid 110); 4 Jun 2012 20:15:03 -0000 Received: from ool-4571afe7.dyn.optonline.net (HELO desktop1) (simon@optinet.com@69.113.175.231) by cobra.acceleratedweb.net with SMTP; 4 Jun 2012 20:15:03 -0000 From: "Simon" To: "freebsd-fs@freebsd.org" , "Kaya Saman" Date: Mon, 04 Jun 2012 16:14:47 -0400 Priority: Normal X-Mailer: PMMail 2000 Professional (2.20.2717) For Windows 2000 (5.1.2600;3) In-Reply-To: <4FCD13CF.3010406@gmail.com> MIME-Version: 1.0 Message-Id: <20120604201504.4D8B4106566C@hub.freebsd.org> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Using ZFS as RAID0 - disk offline question 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: Mon, 04 Jun 2012 20:15:04 -0000 This isn't really ZFS related, rather just RAID The answer would apply to any standard implementation of RAID0 which is nothing more than striping across multiple disks. Should you sustain a disk failure in RAID0, you will lose all your data. Check out http://en.wikipedia.org/wiki/Standard_RAID_levels -Simon On Mon, 04 Jun 2012 21:00:15 +0100, Kaya Saman wrote: >Hi, >in ZFS when using a simple RAID 0 style array is there a way to recover >a pool after a disk has gone down? >Or remove a disk from the pool to shrink it? >To be more specific this is what I'm simulating at the moment: >zpool create ZPOOL_1 /mnt/disk1 /mnt/disk2 >zpool status shows disk1 and disk2 as being part of ZPOOL_1 and ZPOOL_1 >is ONLINE. >However, if I should ever want to remove disk2 from the pool or if disk2 >has gone down how would one go about getting the ZPOOL_1 back online? >I am hoping that there is a solution to just running the pool with 1 disk. >Or if the disk name changes ie. simulating a disk number to change after >moving it to a different controller or so internally. >I am just trying to see what would happen as RAIDZ or RAID1 is very good >however what about RAID0 in the situation above. >I guess one could call this as disaster recovery for the unprepared :-) >In actual fact I have done this physically on a Mini-ITX NAS system (of >course I have backups of everything) however, my point is to try to see >if one disk goes down if the ZPOOL will still be able to function >without the additional disk! - as commands such as remove and detach are >unavailable in this mode...... >Regards, >Kaya >_______________________________________________ >freebsd-fs@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-fs >To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"