Last night I was trying to setup nfs to share a pool. It was working fine until 
I started to have trouble writing. I did a zpool status to see if everything 
was ok, and I got this.

  pool: spool
 state: UNAVAIL
status: One or more devices are faulted in response to IO failures.
action: Make sure the affected devices are connected, then run 'zpool clear'.
   see: http://www.sun.com/msg/ZFS-8000-HC
 scrub: none requested
config:

        NAME          STATE     READ WRITE CKSUM
        spool         UNAVAIL      0    10     0  insufficient replicas
          raidz1-0    ONLINE       0     0     0
            c8t0d0    ONLINE       0     0     0
            c8t1d0    ONLINE       0     0     0
            c8t2d0    ONLINE       0     0     0
          raidz1-1    UNAVAIL      0    20     0  insufficient replicas
            c8t516d0  REMOVED      0     0     0
            c8t548d0  REMOVED      0     0     0
            c8t580d0  REMOVED      0     0     0
        spares
          c8t3d0      AVAIL   
          c8t612d0    AVAIL   

errors: Permanent errors have been detected in the following files:

        spool/mythtv:<0x0>
        spool/mythtv:<0x2>
        spool/mythtv:<0x3>

After doing zpool clear it resilvered to the spares. 

  pool: spool
 state: ONLINE
 scrub: resilver completed after 5h7m with 0 errors on Sun Jan  3 03:28:02 2010
config:

        NAME            STATE     READ WRITE CKSUM
        spool           ONLINE       0     0     0
          raidz1-0      ONLINE       0     0     0
            c8t0d0      ONLINE       0     0     0
            c8t1d0      ONLINE       0     0     0
            c8t2d0      ONLINE       0     0     0
          raidz1-1      ONLINE       0     0     0
            spare-0     ONLINE       0     0     0
              c8t516d0  ONLINE       0     0     0
              c8t3d0    ONLINE       0     0     0  194G resilvered
            spare-1     ONLINE       0     0     0
              c8t548d0  ONLINE       0     0     0
              c8t612d0  ONLINE       0     0     0  194G resilvered
            c8t580d0    ONLINE       0     0     0
        spares
          c8t3d0        INUSE     currently in use
          c8t612d0      INUSE     currently in use

errors: No known data errors

I then tried to figure out why it was using the spares when it says c8t516d0 
and c8t548d0 are online. So, I tried doing zpool detach spool c8t3d0. There was 
a lot of hd activity for a short period, then nothing. But the zpool command 
never exited. When I run zpool status or zpool list they just hang, even df 
hangs. I can still access the pool though and all my files. My motherboard has 
an ich10 with 6 sata ports. 4 drives are connected to it internally, then i 
have an external enclosure with a sil3726 port multiplier with 4 drives in it 
connected to my motherboard's sata port through a sata-esata pci bracket. I am 
using snv_130.
-- 
This message posted from opensolaris.org

Reply via email to