Displaying 5 results from an estimated 5 matches for "zfs_ioc_dataset_list_next".
2007 Jul 14
3
zfs list hangs if zfs send is killed (leaving zfs receive process)
...but the zfs receive doesn''t want to die... In the meantime my zfs list command just hangs.
Here is the tail end of the truss output from a "truss zfs list":
ioctl(3, ZFS_IOC_OBJSET_STATS, 0x08043484) = 0
ioctl(3, ZFS_IOC_SNAPSHOT_LIST_NEXT, 0x08045788) Err#3 ESRCH
ioctl(3, ZFS_IOC_DATASET_LIST_NEXT, 0x08046950) = 0
ioctl(3, ZFS_IOC_OBJSET_STATS, 0x0804464C) = 0
ioctl(3, ZFS_IOC_DATASET_LIST_NEXT, 0x08045788) Err#3 ESRCH
ioctl(3, ZFS_IOC_SNAPSHOT_LIST_NEXT, 0x08045788) = 0
ioctl(3, ZFS_IOC_OBJSET_STATS, 0x08043484) = 0
ioctl(3, ZFS_IOC_SNAPSHOT_LIST_NEXT, 0x08045788) Err#3 ESRCH
ioct...
2007 Dec 08
0
/dev/zfs ioctl performance
...n tell. The pool contains 150 filesystems, including snapshots. It is an active server, and generally has several users writing to the disk at any one time.
Below is a snippet of output from a "truss -d zfs list":
...
0.0283 open("/dev/zfs", O_RDWR) = 3
...
1.7142 ioctl(3, ZFS_IOC_DATASET_LIST_NEXT, 0x08045D38) = 0
2.6371 ioctl(3, ZFS_IOC_OBJSET_STATS, 0x08043E98) = 0
2.7222 ioctl(3, ZFS_IOC_DATASET_LIST_NEXT, 0x08044D88) = 0
4.6572 ioctl(3, ZFS_IOC_OBJSET_STATS, 0x08042EE8) = 0
...
As you can see, it spends quite a bit of time waiting for the return of ioctl calls on /dev/zfs. Since the...
2006 Dec 11
6
Can''t destroy corrupted pool
Ok, so I''m planning on wiping my test pool that seems to have problems
with non-spare disks being marked as spares, but I can''t destroy it:
# zpool destroy -f zmir
cannot iterate filesystems: I/O error
Anyone know how I can nuke this for good?
Jim
This message posted from opensolaris.org
2008 Oct 09
0
"zfs set sharenfs" takes a long time to return.
....000 1
zone_lookup .000 3
-------- ------ ----
sys totals: 33.556 6081241 10260
usr time: 41.354
elapsed: 386.130
Looking at exactly which ioctls get called:
5991763 MNTIOC_GETMNTENT
6782 TCGETA
6892 ZFS_IOC_DATASET_LIST_NEXT
3466 ZFS_IOC_OBJSET_STATS
2 ZFS_IOC_POOL_CONFIGS
1 ZFS_IOC_SET_PROP
1 ZFS_IOC_SHARE
8 ZFS_IOC_SNAPSHOT_LIST_NEXT
Is anyone else experiencing this, or does anyone have any ideas on how to solve it? Is this solved in more recently snv releases? (And are there changelogs posted somewhere...
2009 Apr 01
4
ZFS Locking Up periodically
I''ve recently re-installed an X4500 running Nevada b109 and have been
experiencing ZFS lock ups regularly (perhaps once every 2-3 days).
The machine is a backup server and receives hourly ZFS snapshots from
another thumper - as such, the amount of zfs activity tends to be
reasonably high. After about 48 - 72 hours, the file system seems to lock
up and I''m unable to do anything