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-2107343.1
Update Date:2018-01-05
Keywords:

Solution Type  Technical Instruction Sure

Solution  2107343.1 :   Oracle ZFS Storage Appliance: How to Recover Client Side Zpool using ZFSSA LUN Snapshot Rollback  


Related Items
  • Sun ZFS Storage 7120
  •  
Related Categories
  • PLA-Support>Sun Systems>DISK>ZFS Storage>SN-DK: 7xxx NAS
  •  




In this Document
Goal
 How to successfully recover a client side zpool built on top of a ZFS Storage Appliance LUN using Snapshot Rollback on the ZFS Storage Appliance.
Solution
References


Created from <SR 3-12091048101>

Applies to:

Sun ZFS Storage 7120 - Version All Versions and later
7000 Appliance OS (Fishworks)

Goal

How to successfully recover a client side zpool built on top of a ZFS Storage Appliance LUN using Snapshot Rollback on the ZFS Storage Appliance.

 

In many Solaris environments it's common for zpools to be built on top of LUN's that are presented from the ZFS Storage Appliance.

 

An example of this is non-global zones that have their rpools hosted on FC or iSCSI LUNs.

Solution

Client side zpools built on top of a ZFS Storage Appliance LUNs will not be aware if a rollback of a LUN based snapshot is performed by a storage admin.

 

Whenever a snapshot rollback is performed on a ZFS Storage Appliance LUN the client side initiator will be disconnected and the block data on the LUN will be reverted back to a previous state which can lead to cases where the client side zpool will then report as corrupted.


To ensure the client side zpools are not impacted they should be exported before any rollback on the ZFS Storage Appliance is performed.

After the rollback is complete the client side zpool can then be imported again.

 

1. Export the client side zpool from the client server:

clientxyz# zpool export test-pool

 

2. Perform the rollback of the LUN on the ZFS Storage Appliance:

zfssahead01:shares default/test@rollbacktest-Jan01-2016-> rollback
Rolling back will revert data to snapshot, destroying newer data. Active
initiators will be disconnected.

Continue? (Y/N)

 

3. Once rollback completes import client side zpool again:

clientxyz# zpool import test-pool

 

 

References

http://docs.oracle.com/cd/E69262_01/html/E69254/goksq.html#scrolltoc

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