misc/125358: missing .. link in zfs snapshot

Kevet Duncombe dunc at visi.com
Mon Jul 7 07:40:06 UTC 2008


>Number:         125358
>Category:       misc
>Synopsis:       missing .. link in zfs snapshot
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 07 07:40:05 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Kevet Duncombe
>Release:        7.0-RELEASE
>Organization:
>Environment:
FreeBSD servo.metamaya.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 10:35:36 UTC 2008     root at driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
I noticed today that my zfs snapshots are missing the .. link. That seemed peculiar, so I asked in the zfs channel on IRC. Someone there checked a solaris system and reports that their snapshots  have the .. link, so I'm guessing it's a FreeBSD problem.

It's a nuisance because it confuses archivers/star-devel into thinking it can only do a partial dump, rather than a full filesystem dump. For what it's worth, I found that if I clone the snapshot, the clone has a .. link.
>How-To-Repeat:
root at servo# zfs snapshot tank/home at foo
root at servo# cd /home/.zfs/snapshot/foo
root at servo# ls -lda .*
ls: ..: Not a directory
drwxr-xr-x  9 1002  1002      10 Jul  3 02:59 ./
drwxrwxr-x  2 root  operator   2 Jun  4 20:28 .snap/

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list