Asset ID: |
1-71-1427055.1 |
Update Date: | 2012-07-24 |
Keywords: | |
Solution Type
Technical Instruction Sure
Solution
1427055.1
:
Sun Storage 7000 Unified Storage System: How to retrieve a lost pool
Related Items |
- Sun Storage 7410 Unified Storage System
|
Related Categories |
- PLA-Support>Sun Systems>DISK>NAS>SN-DK: 7xxx NAS
- .Old GCS Categories>Sun Microsystems>Storage - Disk>Unified Storage
|
How to retrieve a lost pool
In this Document
Applies to:
Sun Storage 7410 Unified Storage System - Version Not Applicable to Not Applicable [Release N/A]
Information in this document applies to any platform.
How to retrieve a lost pool
Goal
Symptom : "configuration storage show" does not show the pool anymore.
Sometimes, zpool commands like the old "format" solaris command, which are under akd control, won't show any of the data disks anymore.
Fix
Solution :
Look at the following requirements first.
Caution 1 : Do NOT manipulate the zpools using Solaris 'shell' commands.
Caution 2 : Appliance firmware revision Q3.4 needed - akd pool import code has changed
We have to be in Q3.4. If not, upgrade first.
Never import the pool if you are in a older revision
It is worth to upgrading first to Q3.4, and then import the pool
If the current revision is under Q3.2.1, remember to upgrade in two steps, first upgrade to Q3.2.1, then Q3.4
Once those points have been checked, do the following :
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 very long. A bit of patience ... once done, see which new option you have :
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 recovered 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
--------------------------------------------------------------------------------------
NB : NEVER use 'native' Solaris commands - stay under the control of akd (use BUI/CLI).
Attachments
This solution has no attachment