Does zfs send maintain an internal state or lock?
I attempted to restart a send that was interrupted when the sending system
rebooted and the send hangs. Here''s the last few lines of the truss
output:
# zfs send -i tue live/fs at wed | ssh staging zfs receive -F -v tank/backup/fs
at wed
6074: open("/dev/zfs", O_RDWR) = 3
6074: fstat64(3, 0x08047AD0) = 0
6074: stat64("/dev/pts/0", 0x08047BE0) = 0
6074: open("/etc/mnttab", O_RDONLY) = 4
6074: fstat64(4, 0x08047AA0) = 0
6074: open("/etc/dfs/sharetab", O_RDONLY) = 5
6074: fstat64(5, 0x08047AA0) = 0
6074: open("/etc/mnttab", O_RDONLY) = 6
6074: fstat64(6, 0x08047AB0) = 0
6074: sysconfig(_CONFIG_PAGESIZE) = 4096
6074: ioctl(1, TCGETA, 0x08047B74) Err#22 EINVAL
6074: brk(0x08140000) = 0
6074: ioctl(3, ZFS_IOC_OBJSET_STATS, 0x080456E0) = 0
6074: brk(0x08150000) = 0
6074: ioctl(3, ZFS_IOC_OBJSET_STATS, 0x080461E0) = 0
6074: ioctl(3, ZFS_IOC_OBJSET_STATS, 0x08043D20) = 0
6074: ioctl(3, ZFS_IOC_SEND, 0x08044D90) (sleeping...)
--
Ian