Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-1427055.1
Update Date:2018-01-05
Keywords:

Solution Type  Technical Instruction Sure

Solution  1427055.1 :   Sun Storage 7000 Unified Storage System: How to retrieve a lost but healthy pool from the appliance BUI/CLI  


Related Items
  • Sun ZFS Storage 7420
  •  
  • Oracle ZFS Storage ZS5-2
  •  
  • Sun Storage 7110 Unified Storage System
  •  
  • Oracle ZFS Storage ZS3-2
  •  
  • Sun Storage 7210 Unified Storage System
  •  
  • Oracle ZFS Storage ZS4-4
  •  
  • Sun Storage 7410 Unified Storage System
  •  
  • Oracle ZFS Storage ZS5-4
  •  
  • Sun ZFS Storage 7120
  •  
  • Oracle ZFS Storage ZS3-4
  •  
  • Sun Storage 7310 Unified Storage System
  •  
  • Sun ZFS Storage 7320
  •  
  • Oracle ZFS Storage Appliance Racked System ZS4-4
  •  
  • Oracle ZFS Storage ZS3-BA
  •  
  • Sun Storage 7720 Unified Storage System
  •  
Related Categories
  • PLA-Support>Sun Systems>DISK>ZFS Storage>SN-DK: 7xxx NAS
  •  
  • _Old GCS Categories>Sun Microsystems>Storage - Disk>Unified Storage
  •  


How to retrieve a lost pool

In this Document
Goal
Solution
 Step 1 : Discover the pool
 Step 2 : List the results
 Step 3 : Select the pool and type done to finish importing it


Applies to:

Sun Storage 7720 Unified Storage System - Version All Versions and later
Sun Storage 7310 Unified Storage System - Version All Versions and later
Sun ZFS Storage 7420 - Version All Versions and later
Sun Storage 7210 Unified Storage System - Version All Versions and later
Sun ZFS Storage 7320 - Version All Versions and later
7000 Appliance OS (Fishworks)
Sun Storage 7000 Unified Storage System: How to retrieve a lost but healthy pool from the appliance BUI/CLI

Goal

Symptom : CLI "configuration storage show" does not show a previously-configured (existing) pool.

To discuss this information further with Oracle experts and industry peers, we encourage you to review, join or start a discussion in the My Oracle Support Community - Disk Storage ZFS Storage Appliance Community

Solution

Solution :
Look at the following requirements first.

Caution 1 : Do not manipulate the zpools using Solaris 'shell' commands.

Step 1 : Discover the pool

sundaddy01:configuration storage> 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"
sundaddy01:configuration storage discover> done| / - \ | /

This step can be long.  

 

sundaddy01:configuration storage> help
Choose pool. Pick a pool to import based on discovered storage.
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", "script" or "properties".
show => Show information pertinent to the current context
abort => Abort this task (potentially resulting in a misconfigured system)
done => Finish operating on "select"
get [prop] => Get value for property [prop]. ("help properties" for valid properties.) If [prop] is not specified, returns values for all properties.
set [prop] => Set property [prop] to [value].("help properties"for valid properties.) For properties taking list values, [value] should be a comma-separated list of values.

Step 2 : List the results

Then we can list the discovered pool - its properties may not yet be available.

sundaddy01:configuration storage select> ls
ID STATE PREVNAME PROFILE DATA SPARE CACHE LOG
pool = pool-000 degraded pool-0 raidz2 174 13 0 1 NEWNAME
name = pool-0

Step 3 : Select the pool and type done to finish importing it

Type done to import this pool :

sundaddy01:configuration storage select> done
/ -/ - \ |
sundaddy01:configuration storage select>


Here it is : now the import is over, the pool has been imported by AKD with its old name and properties.

sundaddy01:configuration storage> ls
Properties:
pool = pool-0
status = degraded
owner = sundaddy01
profile = raidz2
log_profile = log_stripe
cache_profile = cache_stripe
scrub = resilver in progress for 1h39m, 2.17% done, 75h11m to go


NEVER use 'native' Solaris commands to do that - stay under the control of AKD (Always use the BUI/CLI).

 


Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback