5 Replies Latest reply: Sep 16, 2013 7:03 AM by e2901df4-c0c5-4ad1-939f-6ddb48d14964 RSS

    Unable to destroy ZFS pool

    itowl
      Hello everyone,

      is there any way how to remove suspended ZFS pool when underlying storage has been removed from the OS?

      # zpool status test
      pool: test
      state: SUSPENDED
      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
      scan: none requested
      config:

      NAME STATE READ WRITE CKSUM
      test UNAVAIL 0 0 0 experienced I/O failures
      c2t50060E8016068817d2 UNAVAIL 0 0 0 experienced I/O failures

      All the zpool operations hang on the system :
      # ps -ef |grep zpool
      root 5 0 0 May 16 ? 151:42 zpool-rpool
      root 19747 1 0 Jun 02 ? 0:00 zpool clear test
      root 12714 1 0 Jun 02 ? 0:00 zpool destroy test
      root 9450 1 0 Jun 02 ? 0:00 zpool history test
      root 13592 1 0 Jun 02 ? 0:00 zpool destroy test
      root 19684 1 0 May 30 ? 0:00 zpool destroy -f test
      root 9166 0 0 May 30 ? 0:07 zpool-test
      root 18514 1 0 Jun 02 ? 0:00 zpool destroy -f test
      root 3327 0 0 May 30 ? 4:25 zpool-OScopy
      root 7332 1 0 May 30 ? 0:00 zpool clear test
      root 5016 1 0 Jun 02 ? 0:00 zpool online test c2t50060E8016068817d2
      root 25080 1 0 Jun 01 ? 0:00 zpool clear test
      root 23451 1 0 01:26:57 ? 0:00 zpool destroy test

      Disk is not more visible on the system:
      # ls -la /dev/dsk/c2t50060e8016068817d2*
      /dev/dsk/c2t50060e8016068817d2*: No such file

      Any suggestions how to remove the pool without preforming reboot?
      Thanks in advance for any help