Karl Dalen wrote:
I'm a new user of ZFS and I have an external USB drive which contains
a ZFS pool with file system. It seems that it does not get auto mounted
when I plug in the drive. I'm running osol-0811.

How can I manually mount this drive? It has a pool named rpool on it.
Is there any diagnostics commands that can be used to investigate the
contents of the pool or repair a damaged file system ?

rmformat shows that the physical name of the USB device is: /dev/rdsk/c4t0d0p0
If I try '# zpool import" I get:
  pool: rpool
    id: 3765122753259138111
 state: UNAVAIL
status: The pool was last accessed by another system.
action: The pool cannot be imported due to damaged devices or data.
   see: http://www.sun.com/msg/ZFS-8000-EY
config:
        rpool       UNAVAIL  newer version
          c4t0d0s0  ONLINE

Did you try this:

zpool import -f rpool someothername

I think there are two reasons it won't import:
        1) It was last accessed by another system (or maybe the same
         one but it had a different hostid at the time) so you need
         to use the -f flag.
        2) There is probably another pool called rpool (the one you
        are running from), right ?

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

Reply via email to