Go to main content

Oracle® ZFS Storage Appliance Administration Guide, Release OS8.7.x

Exit Print View

Updated: November 2018
 
 

Importing an Existing Storage Pool (CLI)

The import action allows you to import an unconfigured storage pool. A storage pool can be unconfigured because of an inadvertent action, factory reset, or service operation to recover user data. Importing a storage pool required iterating over all attached storage devices and discovering any existing state. This can take a significant amount of time, during which no other storage configuration activities can take place.

Before You Begin

Do not perform a pool configuration operation while a disk firmware upgrade is occurring. To check if an upgrade is in progress, navigate to maintenance system updates.

  1. Go to configuration storage.
  2. Enter import.
    hostname:configuration storage (pool0)> import
    
    Search for storage. Begin the process of searching for existing storage pools.
    
    Subcommands that are valid in this context:
    
       help [topic]         => Get context-sensitive help. If [topic] is specified,
                               it must be one of "builtins", "commands", "general",
                               "help" or "script".
    
       show                 => Show information pertinent to the current context
    
       abort                => Abort this task (potentially resulting in a
                               misconfigured system)
    
       done                 => Finish operating on "discover"
    
    hostname:configuration storage (pool0) discover>
    
  3. Enter done.
  4. Enter show.
    hostname:configuration storage (pool0)> show
    Pools:
    
       POOL             OWNER         DATA PROFILE  LOG PROFILE  STATUS   ERRORS
    -> pool0          hostname        mirror        log_stripe   online   0
       pool1          hostname        -             -            exported -
    
    Properties:
                              pool = pool0
                            status = online
                            errors = 0
                             owner = hostname
                           profile = mirror
                       log_profile = log_stripe
                     cache_profile = cache_stripe
                             scrub = none requested
    
  5. Enter set pool= and the name of the pool you want to import.

    Note -  If you have a single pool, the pool name is not displayed, but it is selected.
    hostname:configuration storage select> set pool=pool1
                                pool = pool1

    A message reminds you to verify that storage is correctly attached and functioning.

  6. Enter done.

Related Topics