Ok makes sense, but can I just destroy my current pool in the failed state and 
then import it with the -f option and it should show up with all 4 drives...

pool: pool02
 state: UNAVAIL
status: One or more devices could not be opened.  There are insufficient
        replicas for the pool to continue functioning.
action: Attach the missing device and online it using 'zpool online'.
   see: http://illumos.org/msg/ZFS-8000-3C
  scan: none requested
config:

        NAME        STATE     READ WRITE CKSUM      CAP            Product 
/napp-it   IOstat mess
        pool02      UNAVAIL      0     0     0  insufficient replicas
          c12d0     ONLINE       0     0     0                       
          c13d0     ONLINE       0     0     0                       
          c14d0     UNAVAIL      0     0     0  cannot open                     
  
          c15d0     UNAVAIL      0     0     0  cannot open            


-----Original Message-----
From: Bob Friesenhahn [mailto:bfrie...@simple.dallas.tx.us] 
Sent: Wednesday, November 19, 2014 7:00 AM
To: Rune Tipsmark
Cc: omnios-discuss@lists.omniti.com
Subject: Re: [OmniOS-discuss] need to change c17d0 to c15d0

On Wed, 19 Nov 2014, Rune Tipsmark wrote:

> 
> Ok, no other option? I am physically not near and its “just” a test pool so I 
> can kill it and start over.
> 
> If I try the import option, should it  recognize the metadata of the devices 
> and reuse it?

Zfs puts identifying information on all the pool disks so that they may be 
properly imported by pool name without regard for device identifiers.  'zpool 
import' scans all of the available devices, searching for devices which are in 
that pool.

If you don't want to physically move the drives again, then just re-import the 
pool.

It is always a good idea to export a pool before moving its drives around and 
then import the pool afterward.  Usually it just takes a few seconds to import 
the pool.

Bob
--
Bob Friesenhahn
bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
_______________________________________________
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss

Reply via email to