Bug 151330

Summary: [zfs] will unshare all zfs filesystem after execute a "zfs clone"
Product: Base System Reporter: &#38472;&#20809;&#20581; <sam.chen.hejun>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Open ---    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description &#38472;&#20809;&#20581; 2010-10-09 06:30:01 UTC
i am using FreeBSD ZFS+NFS as filesystem server, support nfs filesystem for other organization, i can successfully to create zpool and create zfs filesystem, set sherenfs=on to share nfs to another machine.

but today when i execute "zfs clone za/za2@empty za/za2/empty", then all nfs client got error:
df: `/backup': Input/output error

i ran "showmount -e" at freebsd server, i found nothing display, before clone it show all zfs filesystem what can be nfs mount at client.

Fix: 

at freebsd: ps aux|grep mountd
kill mountd session, and restart mountd, then execute "showmount -e", all nfs share point will display.
How-To-Repeat: 1. create a zpool name za1
2. zfs set sharenfs=on za1
3. make sure all nfs process has been started.execute "showmount -e" will display /za1 can be nfs mount.
4. go to another machine which install redhat linux 5.3.
5. mount nfs using oralce recommendation option:
mount -o rw,bg,hard,rsize=32768,wsize=32768,vers=3,nointr,timeo=600,tcp 192.168.56.130:/za1 /backup
6. at freebsd server, execute "zfs snapshot za1@empty", then execute "zfs clone za1@empty za1/empty", after that, execute "showmount -e", nothing display.
7. go to client machine, execute "df -k" will get Input/output error.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2010-11-05 11:04:47 UTC
Responsible Changed
From-To: freebsd-i386->freebsd-fs

This does not sound i386-specific.
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:50 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped