I believe this is because sharemgr does an O(number of shares) operation whenever you try to share/unshare anything (retrieving the list of shares from the kernel to make sure that it isn't/is already shared). I couldn't find a bug on this (though it's been known for some time), so feel free to file a bug.
--matt zfsmonk wrote: > Anyone out there using sharenfs=on with a large amount > of filesystems? We have over 10000 filesystems all in one > pool. Everything is great until we turn on sharenfs > (zfs set sharenfs=on poolName). Once that is enabled, > zfs create poolName/filesystem takes about 5 minutes to > complete. If nfs sharing is turned off, completes right away. > > This happens on Solaris 807, b72 and b78. Has anyone seen this > behavior before? > > > This message posted from opensolaris.org > _______________________________________________ > zfs-discuss mailing list > zfs-discuss@opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss