I have an OpenSolaris snv_101 box with ZFS on it. (Sun Ultra 20 M2)
zpool name is rpool.  The

I have a 2nd hard drive in the box that I am trying to recover the ZFS 
data from (long story but that HD became unbootable after installing IPS 
on the machine)

Both drives have a pool named "rpool", so I can't import the rpool from 
the 2nd drive.

r...@hyperion:~# zpool status
   pool: rpool
  state: ONLINE
  scrub: none requested
config:

         NAME        STATE     READ WRITE CKSUM
         rpool       ONLINE       0     0     0
           c2t0d0s0  ONLINE       0     0     0

errors: No known data errors

r...@hyperion:~# zpool import
   pool: rpool
     id: 6530745808930953819
  state: ONLINE
action: The pool can be imported using its name or numeric identifier.
config:

         rpool       ONLINE
           c2t1d0s0  ONLINE

If I run 'zpool import rpool' I get "cannot import 'rpool': pool already 
exists" (which makes sense)

How can I import the rpool from the 2nd hard drive and have it mount on 
a different partition or something so I can recover the data from it?

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

Reply via email to