Could anyone give me some possible problems that would have created the
following scenario?

Testing the conversion of a ZFS Pool on a hardware mirror to that same
ZFS Pool using ZFS mirroring, by breaking the mirror, attaching the 2nd
disk to the pool...

bash-3.00# zpool scrub zpool02
bash-3.00# zpool status
  pool: zpool02
 state: ONLINE
 scrub: scrub in progress, 14.70% done, 0h0m to go
config:

        NAME        STATE     READ WRITE CKSUM
        zpool02     ONLINE       0     0     0
          c1t2d0    ONLINE       0     0     0

errors: No known data errors
bash-3.00# zpool status
  pool: zpool02
 state: ONLINE
 scrub: scrub completed with 0 errors on Mon Aug 13 13:27:19 2007
config:

        NAME        STATE     READ WRITE CKSUM
        zpool02     ONLINE       0     0     0
          c1t2d0    ONLINE       0     0     0

errors: No known data errors

...Reboot here, goto LSI Logic Controller BIOS and break mirror...

bash-3.00# zpool attach zpool02 c1t2d0 c1t3d0
bash-3.00# zpool status
  pool: zpool02
 state: ONLINE
status: One or more devices is currently being resilvered.  The pool
will
        continue to function, possibly in a degraded state.
action: Wait for the resilver to complete.
 scrub: resilver in progress, 1.33% done, 0h6m to go
config:

        NAME        STATE     READ WRITE CKSUM
        zpool02     ONLINE       0     0     0
          mirror    ONLINE       0     0     0
            c1t2d0  ONLINE       0     0     0
            c1t3d0  ONLINE       0     0     0

errors: No known data errors
bash-3.00# zpool status
  pool: zpool02
 state: ONLINE
 scrub: resilver completed with 0 errors on Mon Aug 13 13:39:02 2007
config:

        NAME        STATE     READ WRITE CKSUM
        zpool02     ONLINE       0     0     0
          mirror    ONLINE       0     0     0
            c1t2d0  ONLINE       0     0     0
            c1t3d0  ONLINE       0     0     0

errors: No known data errors
bash-3.00# zpool scrub zpool02
bash-3.00# zpool status
  pool: zpool02
 state: ONLINE
 scrub: scrub completed with 0 errors on Mon Aug 13 13:40:02 2007
config:

        NAME        STATE     READ WRITE CKSUM
        zpool02     ONLINE       0     0     0
          mirror    ONLINE       0     0     0
            c1t2d0  ONLINE       0     0     0
            c1t3d0  ONLINE       0     0     0

errors: No known data errors
bash-3.00# zpool export zpool02
bash-3.00# zpool status
no pools available
bash-3.00# zpool import
  pool: zpool02
    id: 8492325208725543806
 state: FAULTED
action: The pool cannot be imported due to damaged devices or data.
config:

        zpool02     UNAVAIL   insufficient replicas
          mirror    UNAVAIL   corrupted data
            c1t2d0  ONLINE
            c1t3d0  ONLINE

bash-3.00# uname -a
SunOS sandbox01 5.10 Generic_118855-36 i86pc i386 i86pc

Simply put I was just trying to export and import for giggles, I didn't
imagine it would cause problems.  There was some desire to change the
pool name, but that was cosmetic and I didn't actually try it at the
point where the fault happened.   The pool had 1 zfs filesystem  - /opt
containing all the Solaris Software Collection CD packages...meaning
nothing important, but enough junk to take up a descent chunk of space.

Do I have any alternatives here other than to forcefully recreate the
pool, reinstall the software and go through the process again?
--
Sean
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to