Arne Schwabe wrote:
Hi,

I have a zpool in a degraded state:

[19:15]{1}a...@charon:~% pfexec zpool import

  pool: npool
    id: 5258305162216370088
 state: DEGRADED
status: The pool is formatted using an older on-disk version.
action: The pool can be imported despite missing or damaged devices.  The
        fault tolerance of the pool may be compromised if imported.
config:

        npool           DEGRADED
          raidz1        DEGRADED
            c3d0        ONLINE
            c7d0        ONLINE
            replacing   UNAVAIL  insufficient replicas
              c7d0s0/o  FAULTED  corrupted data
              c7d0      FAULTED  corrupted data


This output looks really busted. What were the original disks that you used? Looks like you may have lost one of them.

The following output will be useful:

# zdb -l /dev/dsk/c3d0s0
# zdb -l /dev/dsk/c7d0s0

Thanks,
George


When I try to import the pool the opensolaris box simply hangs. I can still ping it. But nothing else works. ssh only works to the point where the 3way handshake is established. The strange thing is, that there is no kernel panic or any log.

The last mmessage from truss zpool import npool are:

open("/dev/dsk/c7d0s0", O_RDONLY)               = 6
fxstat(2, 6, 0x08043250)                        = 0
modctl(MODSIZEOF_DEVID, 0x01980080, 0x0804324C, 0xFEA41239, 0xFE8E92C0) = 0
modctl(MODGETDEVID, 0x01980080, 0x0000002A, 0x080D18D0, 0xFE8E92C0) = 0
fxstat(2, 6, 0x08043250)                        = 0
modctl(MODSIZEOF_MINORNAME, 0x01980080, 0x00006000, 0x0804324C, 0xFE8E92C0) = 0
modctl(MODGETMINORNAME, 0x01980080, 0x00006000, 0x00000002, 0x0808DFC8) = 0
close(6)                                        = 0
ioctl(3, ZFS_IOC_POOL_STATS, 0x080423B0)        Err#2 ENOENT
ioctl(3, ZFS_IOC_POOL_TRYIMPORT, 0x08042420)    = 0
open("/usr/lib/locale/de_DE.UTF-8/LC_MESSAGES/SUNW_OST_OSLIB.mo", O_RDONLY) Err#2 ENOENT

I think the systems hangs on ZFS_IOC_POOL_TRYIMPORT

Any pointer where I could try to debug/diagnose the problem further? System is already at 110 but 109 behaved the same.

Arne
_______________________________________________
zfs-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

_______________________________________________
zfs-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to