ZFS snapshot automount -- not creating '..' directory links correctly?

Matthew Seaman matthew at FreeBSD.org
Fri Jul 22 06:26:46 UTC 2016


On 21/07/2016 11:50, Andriy Gapon wrote:
> On 21/07/2016 12:42, Matthew Seaman wrote:
>> Hi,
>>
>> Ever since I upgraded to 11.0-BETA1, my tarsnap backups have been
>> misbehaving.  While corresponding with Colin, and trying to diagnose the
>> problem I discovered that there seems to be a problem with the '..' link
>> in an automounted snapshot.
>>
>> It's easy to reproduce:
>>
>> # zfs create zroot/empty
>> # zfs snapshot zroot/empty at 20160721-1011
>>
>> # cd /empty/.zfs/snapshot/20160721-1011
>> # stat -f "%N: %HT%SY" \
>>     /empty /empty/.zfs /empty/.zfs/snapshot \
>>     /empty/.zfs/snapshot/20160721-1011 . ..
>> /empty: Directory
>> /empty/.zfs: Directory
>> /empty/.zfs/snapshot: Directory
>> /empty/.zfs/snapshot/20160721-1011: Directory
>> .: Directory
>> stat: ..: stat: Not a directory
>>
>> This is on:
>>
>> # uname -a
>> FreeBSD lucid-nonsense.infracaninophile.co.uk 11.0-BETA1 FreeBSD
>> 11.0-BETA1 #2 r302482: Sat Jul  9 15:37:08 BST 2016
> 
> This is fixed in 302994.
> Sorry about the breakage.
> 
>> root at lucid-nonsense.infracaninophile.co.uk:/usr/obj/usr/src/sys/GENERIC
>> amd64
>>
>> Attempting the same test on a 10.3-STABLE machine returned '..' as a
>> directory perfectly happily.

Thanks for that.  I upgraded and now my backups are working properly again.

	Cheers,

	Matthew



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 931 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20160722/98f73d6e/attachment.sig>


More information about the freebsd-fs mailing list