Here's what I did:
* had a t1000 with a zpool under /dev/dsk/c0t0d0s7 on solaris 10u4
* re-installed with solaris 10u6 (disk layout unchanged)
* imported zpool with zpool import -f (I'm forever forgetting to export them 
first) - this was ok
* re-installed with solaris 10u6 and more up-to-date patches (again forgetting 
to export it)

When I do zpool import i get the following:
# zpool import         
  pool: zpool
    id: 17419375665629462002
 state: FAULTED
status: The pool metadata is corrupted.
action: The pool cannot be imported due to damaged devices or data.
        The pool may be active on another system, but can be imported using
        the '-f' flag.
   see: http://www.sun.com/msg/ZFS-8000-72
config:

        zpool       FAULTED  corrupted data
          c0t0d0s7  ONLINE

So I thought I'd done something wrong, however checked the partition layout and 
it's not changed.  However after doing a bit of poking about, I've found some 
weird stuff - what zdb -l is showing and what's actually on the disk doesn't 
seem to tally - I can't find that transaction ID from zdb and there seems to be 
a mixture of version 4 and version 10 uberblocks on disk (and they all have 
bigger transaction IDs than zdb is showing).

Am I missing something?

-Steve

# zdb -l /dev/dsk/c0t0d0s7
--------------------------------------------
LABEL 0
--------------------------------------------
    version=4
    name='zpool'
    state=0
    txg=1809157
    pool_guid=17419375665629462002
    top_guid=12174008987990077602
    guid=12174008987990077602
    vdev_tree
        type='disk'
        id=0
        guid=12174008987990077602
        path='/dev/dsk/c0t0d0s7'
        devid='id1,s...@n5000cca321ca2647/h'
        whole_disk=0
        metaslab_array=14
        metaslab_shift=30
        ashift=9
        asize=129904410624
        DTL=24
--------------------------------------------
LABEL 1
--------------------------------------------
    version=4
    name='zpool'
    state=0
    txg=1809157
    pool_guid=17419375665629462002
    top_guid=12174008987990077602
    guid=12174008987990077602
    vdev_tree
        type='disk'
        id=0
        guid=12174008987990077602
        path='/dev/dsk/c0t0d0s7'
        devid='id1,s...@n5000cca321ca2647/h'
        whole_disk=0
        metaslab_array=14
        metaslab_shift=30
        ashift=9
        asize=129904410624
        DTL=24
--------------------------------------------
LABEL 2
--------------------------------------------
--------------------------------------------
LABEL 3
--------------------------------------------

-- (sample output from a little script i knocked up)

Uberblock Offset: 0020000 (131072)
Uber version: 4
Transaction group: 1831936
Timestamp: 2008-11-20:11:14:49
GUID_SUM: 9ab0d28ccc7d2e94

Uberblock Offset: 0020400 (132096)
Uber version: 4
Transaction group: 1831937
Timestamp: 2008-11-20:11:14:54
GUID_SUM: 9ab0d28ccc7d2e94
...
Uber version: 10
Transaction group: 114560
Timestamp: 2009-01-07:09:59:11
GUID_SUM: 9f8d9ef301489223

Uberblock Offset: 0e18400 (14779392)
Uber version: 10
Transaction group: 114561
Timestamp: 2009-01-07:09:59:41
GUID_SUM: 9f8d9ef301489223
...
-- 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to