From owner-freebsd-fs@FreeBSD.ORG Mon Jul 9 19:57:55 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 AA0A1106564A for ; Mon, 9 Jul 2012 19:57:55 +0000 (UTC) (envelope-from ayoung@mosaicarchive.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 691C58FC16 for ; Mon, 9 Jul 2012 19:57:55 +0000 (UTC) Received: by obbun3 with SMTP id un3so1187992obb.13 for ; Mon, 09 Jul 2012 12:57:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=ubb8hH4ZWEE8vdkA1W1q08gMwqnstGSWJFp4rPuQeZ8=; b=Om+/EMEzKMS/mUhflixi696PxcYvbdOyzDmwqZhB11MhDflgOMMY37G2aOkUwDPU7P c5BCD1/5TZhtxC7smhtd4ufl0AqLZO+EhxZno8MJ3NcaXiaOwGe0CcrWGhPw+3H6Qr5O efLp0JOCZdgRAuRnT96QfoinKqtAjqS82tLF5MhontBnwMTw7cefX1Ng8YLcqnN2uNWQ 2WoWzvv6Tk57YbF4i7YENarqsOOHtufZqUHmKLEcBaxRtqR3C9R4av8fOAj48DqTBnLp S1X0ZJKANrMltrS3b0n5pBz7fkbQkEjEdL8F7TtWLq7Qj2KmenhffdkPxoGY+hbx6UQx /UQA== MIME-Version: 1.0 Received: by 10.60.171.174 with SMTP id av14mr42911609oec.61.1341863874857; Mon, 09 Jul 2012 12:57:54 -0700 (PDT) Received: by 10.76.79.165 with HTTP; Mon, 9 Jul 2012 12:57:54 -0700 (PDT) X-Originating-IP: [69.84.144.6] In-Reply-To: <949F13D2-F847-4AF4-AC2F-EACD3B735CC8@gmail.com> References: <949F13D2-F847-4AF4-AC2F-EACD3B735CC8@gmail.com> Date: Mon, 9 Jul 2012 15:57:54 -0400 Message-ID: From: Andy Young To: Steven Schlansker X-Gm-Message-State: ALoCoQnlysYgyniGgtG4hWh3XD7MeljaEPHT5n3tA0eLkrRJ4mIuJsON5MTPXSFzUqL+rv3YzTUa Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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:57:55 -0000 Thanks Steven! That was way too easy. I avoided import, assuming I had to have exported it to begin with. Andy On Mon, Jul 9, 2012 at 3:37 PM, Steven Schlansker < stevenschlansker@gmail.com> wrote: > 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. > > > > Is there a way to recreate a zpool directly from the disks? > > > > Thanks! > > > > -- > > 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" > > -- Andrew Young Mosaic Storage Systems, Inc http://www.mosaicarchive.com/ Follow us on: Twitter , Facebook , Google Plus , Pinterest