[ZFS] recover destroyed zpool - what are the available options?

Beeblebrox zaphod at berentweb.com
Thu Apr 4 16:26:16 UTC 2013


>>test them with `zdb -l device`. When the output would be correct - you
guessed your slice! 

LABEL 1
--------------------------------------------
    version: 28
    name: 'bsdr'
    state: 2
    txg: 10
    pool_guid: 12018916494219117471
    hostid: 2193536600
    hostname: 'mfsbsd'
    top_guid: 17860002997423999070
    guid: 17860002997423999070
    vdev_children: 1
    vdev_tree:
        type: 'disk'
        id: 0
        guid: 17860002997423999070
        path: '/dev/ad6p2'
        phys_path: '/dev/ad6p2'
        whole_disk: 1
        metaslab_array: 30
        metaslab_shift: 31
        ashift: 9
        asize: 287855869952
        is_log: 0
        create_txg: 4

Do you mean that in this case 'asize 287855869952' is what I should look at?
But 287855869952 /1024 /1024 /2 => 137.260GB is far smaller than I recall
the geom part to be...



--
View this message in context: http://freebsd.1045724.n5.nabble.com/ZFS-recover-destroyed-zpool-what-are-the-available-options-tp5800299p5801588.html
Sent from the freebsd-questions mailing list archive at Nabble.com.


More information about the freebsd-questions mailing list