I was testing zfs over iscsi (with commstar over a zvol) and got some errors. Target and initiator are on the same host.
I've copy-pasted an excerpt on zpool status hereafter. The pool (tank) containing the iscsi-shared zvol (tank/tsmvol) is healthy and show no errors. But the zpool (tsmvol) on the initiator side shows errors. The processes that where running to generate some IO load/volume are stuck and aren't killable. Zpool destroy tsmvol, zpool export tsmvol, zfs list stay stuck. I managed to open an ssh session by connecting as an user that has no homedir and thus doesn't run quota (which is stuck and non killable too). My questions are the following : 1 - why does the tsmvol pool show up as degraded when the only device it contains is itself degraded ? Shouldn't it show as faulted ? 2 - why are my load generating processes (plain old cat) unkillable ? Shouldn't they have been killed by ioerrors caused by the dead pool ? I guess this is what the failmode setting is for, so I'll set it for the rest of my tests. But I'm a bit puzzled about implications. 3 - how could there be errors in localhost transmission ? I followed the basic steps outlined in commstar's how to, are there some specific settings to set for localhost iscsi access ? Thanks for your help, Arnaud Excerpt of zpool status : pool: tank state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM tank ONLINE 0 0 0 raidz1-0 ONLINE 0 0 0 c10t0d0p0 ONLINE 0 0 0 c10t1d0p0 ONLINE 0 0 0 c10t2d0p0 ONLINE 0 0 0 c10t3d0p0 ONLINE 0 0 0 c10t4d0p0 ONLINE 0 0 0 c10t5d0p0 ONLINE 0 0 0 c10t6d0p0 ONLINE 0 0 0 raidz1-1 ONLINE 0 0 0 c10t7d0p0 ONLINE 0 0 0 c11t1d0p0 ONLINE 0 0 0 c11t2d0p0 ONLINE 0 0 0 c11t4d0p0 ONLINE 0 0 0 c11t5d0p0 ONLINE 0 0 0 c11t6d0p0 ONLINE 0 0 0 c11t7d0p0 ONLINE 0 0 0 logs c11t0d0p2 ONLINE 0 0 0 cache c11t0d0p3 ONLINE 0 0 0 errors: No known data errors pool: tsmvol state: DEGRADED 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 tsmvol DEGRADED 3 24,0K 0 c9t600144F05DF34C0000004B50D7D80001d0 DEGRADED 1 24,3K 1 too many errors errors: 24614 data errors, use '-v' for a list _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss