Cindy/Casper,

Thanks for the pointer, luckily I'd not done the detach before sending the email, split seems the way to go.


thanks again

Matt

On 03/29/12 05:13 PM, Cindy Swearingen wrote:
Hi Matt,

There is no easy way to access data from a detached device.

You could try to force import it on another system or under
a different name on the same system with the remaining device.

The easiest way is to split the mirrored pool. See the
steps below.

Thanks,

Cindy


# zpool status pool
  pool: pool
 state: ONLINE
scan: scrub repaired 0 in 0h0m with 0 errors on Wed Mar 28 15:58:44 2012
config:

        NAME                       STATE     READ WRITE CKSUM
        pool                       ONLINE       0     0     0
          mirror-0                 ONLINE       0     0     0
            c0t20000014C3F04F4Fd0  ONLINE       0     0     0
            c0t20000014C3F04F38d0  ONLINE       0     0     0

errors: No known data errors
# zpool split pool pool2
# zpool import pool2
# zpool status pool pool2
  pool: pool
 state: ONLINE
scan: scrub repaired 0 in 0h0m with 0 errors on Wed Mar 28 15:58:44 2012
config:

        NAME                     STATE     READ WRITE CKSUM
        pool                     ONLINE       0     0     0
          c0t20000014C3F04F4Fd0  ONLINE       0     0     0

errors: No known data errors

  pool: pool2
 state: ONLINE
scan: scrub repaired 0 in 0h0m with 0 errors on Wed Mar 28 15:58:44 2012
config:

        NAME                     STATE     READ WRITE CKSUM
        pool2                    ONLINE       0     0     0
          c0t20000014C3F04F38d0  ONLINE       0     0     0

errors: No known data errors
#



On 03/29/12 09:50, Matt Keenan wrote:
Hi,

Is it possible to access the data from a detached device from an
mirrored pool.

Given a two device mirrored pool, if you zpool detach one device. Can
the data on the removed device be accessed in some means. From what I
can see you can attach the device back to the original pool, but this
will simply re-silver everything from the already attached device back
onto this device.

If I attached this device to a different pool it will simply get
overwritten.

Any ideas ?

cheers

Matt
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to