After some errors were logged as to a problem with a ZFS file system,
I ran zfs status followed by zfs status -v...
# zpool status
pool: ehome
state: ONLINE
status: One or more devices has experienced an error resulting in data
corruption. Applications may be affected.
action: Restore the file in question if possible. Otherwise restore the
entire pool from backup.
see: http://www.sun.com/msg/ZFS-8000-8A
scrub: none requested
config:
NAME STATE READ WRITE CKSUM
ehome ONLINE 6.28K 2.84M 0
c2t0d0p0 ONLINE 6.28K 2.84M 0
errors: 796332 data errors, use ''-v'' for a list
[ elided ]
# zpool status -v
pool: ehome
state: ONLINE
status: One or more devices has experienced an error resulting in data
corruption. Applications may be affected.
action: Restore the file in question if possible. Otherwise restore the
entire pool from backup.
see: http://www.sun.com/msg/ZFS-8000-8A
scrub: none requested
config:
NAME STATE READ WRITE CKSUM
ehome ONLINE 3.03K 2.09M 0
c2t0d0p0 ONLINE 3.03K 2.09M 0
<< HANGS HERE>>
From another window do a truss of zfs status...
ioctl(3, ZFS_IOC_ERROR_LOG, 0x08041DE0) Err#12 ENOMEM
ioctl(3, ZFS_IOC_ERROR_LOG, 0x08041DE0) Err#12 ENOMEM
ioctl(3, ZFS_IOC_ERROR_LOG, 0x08041DE0) Err#12 ENOMEM
ioctl(3, ZFS_IOC_ERROR_LOG, 0x08041DE0) Err#12 ENOMEM
ioctl(3, ZFS_IOC_ERROR_LOG, 0x08041DE0) Err#12 ENOMEM
ioctl(3, ZFS_IOC_ERROR_LOG, 0x08041DE0) Err#12 ENOMEM
One would think it would get the message....
After a reboot, a move of the drive to another UFS port on the laptop,
a zfe export of ehome and a zfs import of ehome, it is back on line
with zero errors....