From owner-freebsd-fs@FreeBSD.ORG Mon Jul 9 19:37:12 2012 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 664501065679 for ; Mon, 9 Jul 2012 19:37:12 +0000 (UTC) (envelope-from stevenschlansker@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 35A878FC15 for ; Mon, 9 Jul 2012 19:37:12 +0000 (UTC) Received: by pbbro2 with SMTP id ro2so21109273pbb.13 for ; Mon, 09 Jul 2012 12:37:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=L41vWSsZSNxXzpFR9T9emwZLn61sFe0qErsCpYbkyUI=; b=KjXY1quoRP40Zr5ACAdLmbTJ5Eb0ELmu+aiFQuG2olFLlqDK3+yCP4DenkllEzCSyz Ysyp8Qs+d5uI0A8LoM0T+coTnUiPieJJZ8g5IOsef++7g/vjOOKs7vMLUjF4SEBnYPTw u0lBLXzmb4LXF4UgBUEjbuuWdWsWkI0nvqdyD38zLuL64nkKD+/yPEOzE1U4uS9qRrfs Ljj4fklSMVG4+ekSqEfjlt0WRz2aAHW6sv2XNk1T5amQESpNLvFN84nQCmYBRrV0HeX4 3rSXOFWIFNMxeiL1ckMCPjTaMP7kjgv72fNAOkkUwIUXC1uSkCR4ObcwrdbmCqF2AIkO mOsA== Received: by 10.68.242.7 with SMTP id wm7mr62520188pbc.98.1341862631854; Mon, 09 Jul 2012 12:37:11 -0700 (PDT) Received: from sexy.corp.trumpet.io ([207.86.77.58]) by mx.google.com with ESMTPS id ob9sm28261545pbb.28.2012.07.09.12.36.59 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 09 Jul 2012 12:37:02 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=iso-8859-1 From: Steven Schlansker In-Reply-To: Date: Mon, 9 Jul 2012 12:37:00 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <949F13D2-F847-4AF4-AC2F-EACD3B735CC8@gmail.com> References: To: Andy Young X-Mailer: Apple Mail (2.1278) Cc: freebsd-fs@freebsd.org Subject: Re: Recreating a ZFS pool from existing disks? 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, 09 Jul 2012 19:37:12 -0000 Take a look at "zpool import" Without arguments, it will list the importable pools. With a pool name = or id, it will add the offline pool to the system and bring it online. On Jul 9, 2012, at 12:35 PM, Andy Young wrote: > One of our servers has a hard drive that contains the OS and then a = set of > 24 drives that were organized into two ZFS pools. I replaced the = system > drive this morning assuming, perhaps misguidedly, that I could easily > recreate the two ZFS pools from the 24 drives. (You could do this = pretty > easily with RAID6 in Linux as I recall) When I looked closer at zpool > however, its not obvious how to do this. I tried using zpool create = but it > complained that the drives were already part of another pool. >=20 > Is there a way to recreate a zpool directly from the disks? >=20 > Thanks! >=20 > --=20 > Andrew Young > _______________________________________________ > 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"