Project

General

Profile

Bug #6254

Updated by Lauri Tirkkonen almost 7 years ago

<pre> 
      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 
 </pre> 

Back