Bug 219646 - "ls: fts_read: no such file or directory" in zfs snapshot dir
Summary: "ls: fts_read: no such file or directory" in zfs snapshot dir
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 11.0-STABLE
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Andriy Gapon
URL: https://svnweb.freebsd.org/base?view=...
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-29 23:21 UTC by g_amanakis
Modified: 2017-06-01 11:50 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description g_amanakis 2017-05-29 23:21:27 UTC
Currenlty in FreeBSD 11.1-PRERELEASE r313908+8edeb87b91f if I take a snapshot of in a zfs filesystem, then cd into the snapshots dir, and "ls -lR" or "find" from there (i.e. without cd into the actual snapshot), I get not results. Only an error with "fts_read: no such file or directory".

Steps to reproduce:
1) zfs snapshot tank@snap1
2) cd /tank/.zfs/snapshot
3) ls -lR
4) Output: 
total 0
ls: fts_read: No such file or directory


I cannot tell how far behind in the code this goes. Could someone test reproducibility?

Thank you,
George
Comment 1 Andriy Gapon freebsd_committer freebsd_triage 2017-05-30 05:32:59 UTC
Please see if r319096 helps with that issue.
I am going to MFC that change soon.
Comment 2 g_amanakis 2017-05-30 20:17:26 UTC
Yes, r319096 resolves it. Any chance of getting this into 11.1-RELEASE since it is high impact and low risk?
Comment 3 Andriy Gapon freebsd_committer freebsd_triage 2017-06-01 11:50:17 UTC
This is in stable/11 now, base r319415.