Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jul 2008 07:36:24 GMT
From:      Kevet Duncombe <dunc@visi.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/125358: missing .. link in zfs snapshot
Message-ID:  <200807070736.m677aODD005679@www.freebsd.org>
Resent-Message-ID: <200807070740.m677e5Tv013397@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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@servo# zfs snapshot tank/home@foo
root@servo# cd /home/.zfs/snapshot/foo
root@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807070736.m677aODD005679>