Project

General

Profile

Bug #6254

receiving incremental replication streams skews filesystem_count

Added by Lauri Tirkkonen over 5 years ago. Updated over 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
zfs - Zettabyte File System
Start date:
2015-09-21
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

gutsman ~ # zfs create -o filesystem_limit=1000 gutsman/foo            
gutsman ~ # zfs create -o filesystem_limit=1000 gutsman/bar
gutsman ~ # zfs create gutsman/foo/1
gutsman ~ # zfs create gutsman/foo/2
gutsman ~ # zfs snapshot -r gutsman/foo@2
gutsman ~ # zfs send -R gutsman/foo@2 | zfs recv -Fd gutsman/bar
gutsman ~ # zfs snapshot -r gutsman/foo@2.0                     
gutsman ~ # zfs get filesystem_count gutsman/foo gutsman/bar/foo       
NAME             PROPERTY          VALUE    SOURCE
gutsman/bar/foo  filesystem_count  2        local
gutsman/foo      filesystem_count  2        local
gutsman ~ # zfs send -R -i 2 gutsman/foo@2.0 | zfs recv -Fd gutsman/bar
gutsman ~ # zfs get filesystem_count gutsman/foo gutsman/bar/foo       
NAME             PROPERTY          VALUE    SOURCE
gutsman/bar/foo  filesystem_count  5        local
gutsman/foo      filesystem_count  2        local
gutsman ~ # zfs list -r gutsman/foo gutsman/bar/foo             
NAME                USED  AVAIL  REFER  MOUNTPOINT
gutsman/bar/foo     312K   412G    96K  /gutsman/bar/foo
gutsman/bar/foo/1   104K   412G    96K  /gutsman/bar/foo/1
gutsman/bar/foo/2   104K   412G    96K  /gutsman/bar/foo/2
gutsman/foo         288K   412G    96K  /gutsman/foo
gutsman/foo/1        96K   412G    96K  /gutsman/foo/1
gutsman/foo/2        96K   412G    96K  /gutsman/foo/2
#1

Updated by Lauri Tirkkonen over 5 years ago

  • Description updated (diff)
#2

Updated by Lauri Tirkkonen over 5 years ago

  • Category set to zfs - Zettabyte File System

Also available in: Atom PDF