Recreating a ZFS pool from existing disks?

Andy Young ayoung at mosaicarchive.com
Mon Jul 9 19:57:55 UTC 2012


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 at 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 at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> > To unsubscribe, send any mail to "freebsd-fs-unsubscribe at freebsd.org"
>
>


-- 
Andrew Young
Mosaic Storage Systems, Inc
http://www.mosaicarchive.com/

Follow us on:
Twitter <https://twitter.com/#!/MosaicArchive>,
Facebook<http://www.facebook.com/MosaicArchive>
, Google Plus<https://plus.google.com/b/102077382489657821832/https://plus.google.com/b/104681960235222388167/104681960235222388167/posts>
, Pinterest <http://pinterest.com/mosaicarchive/>


More information about the freebsd-fs mailing list