Recreating a ZFS pool from existing disks?

Steven Schlansker stevenschlansker at gmail.com
Mon Jul 9 19:37:12 UTC 2012


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"



More information about the freebsd-fs mailing list