Hello all,
I have a customer asking the following question. Does anyone have any
suggestions? I have searched SunSolve
and have not had any luck finding documentation to assist this customer.
Any assistance would be greatly appreciated!
Thank you in advance,
Chris
-------------------------Customer's problem
statement----------------------------------------
I'm unable to import a mirrored ZFS pool. The system was shut down with
a functional mirrored ZFS pool using c1t0d0s6 and c1t1d0s6. Solaris was
then re-installed from DVD media using c1t0d0 as the root disk. The
root disk was repartitioned during install, which destroyed slice 6
formerly used as a Zpool mirror component. I need to recover data from
the mirrored Zpool using the one remaining mirror.
Based on this behavior, I'm also concerned that a system with a mirrored
ZFS root disk could be difficult to recover. Example: Server X boots
from mirrored zpool "rpool". Server X is shutdown for maintenance, and
1 of the 2 disks in the mirrored Zpool fails when the server is powered
back on. Now the mirrored zpool is unable to be imported and the server
fails to boot. What is the recovery procedure?
# zpool import
pool: local
id: xxxxxxxxxxxxxxx
state: UNAVAIL
status: The pool is formatted using an older on-disk version.
actiion: The pool cannot be imported due to damaged devices or data.
config:
local UNAVAIL insufficient replicas
mirror UNAVAIL corrupted data
c1d0s6 ONLINE
c1t1d0s6 ONLINE
# zpool import -o failmode=continue -f local
cannot import 'local': invalid vdev configuratiion
# zdb -l /dev/rdsk/c1t1d0s6
---------------------------------------------------------------------
LABEL 0
---------------------------------------------------------------------
version=4
name='local'
state=0
txg=4
pool_guid=xxxxxxxxx
top_guid=xxxxxxxxxx
guid=xxxxxxxxx
vdev_tree
type='mirror'
id=0
guid=xxxxxxxx
metaslab_array=14
metaslab_shift=31
ashift=9
asize=xxxxxxxxxxxx
children[0]
type='disk'
id=0
guid=xxxxxxxxxxxx
path='/dev/dsk/c1d0s6'
devid='id1,c...@xxxxxxxxxxxxxxx/g'
whole_disk=0
children[1]
type='disk'
id=1
guid=xxxxxxxxxxxx
path='/dev/dsk/c2d0s6'
devid='id1,c...@xxxxxxxxxxxxxxx/g'
whole_disk=0
< --- The remaining 3 labels on this disk are also valid --- >
--
Christopher West, OS Administration
Email: christopher.w...@sun.com
Phone: 1-800-USA-4SUN
My Working Hours : 8am-5pm MT, Monday thru Friday
My Manager <Email>: Michael Ventimiglia <ve...@sun.com>
===========================================
TO REACH THE NEXT AVAILABLE ENGINEER:
1. Call 1-800-USA-4SUN choose opt 2 and enter your SR number.
2. Wait for my voice mail message to begin.
3. Press "0" during my message to reach the next available engineer.
4. You will hear hold music until the next engineer answers.
============================================
Submit, check and update tickets at http://www.sun.com/osc
============================================
This email may contain confidential and privileged material for the sole
use of the intended recipient. Any review or distribution by others is
strictly prohibited. If you are not the intended recipient please
contact the sender and delete all copies.
============================================
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss