git: HAMMER - Add additional warnings for v2/v3 upgrades, fix bug in snaprm

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Oct 14 18:23:03 PDT 2009


commit 92ed14a37d1dd6414a6bacb80f63bffedca3ff45
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Oct 14 18:19:15 2009 -0700

    HAMMER - Add additional warnings for v2/v3 upgrades, fix bug in snaprm
    
    * Add warnings related to backup scripts when upgrading from V2 to V3.
      The synctid directive does not generate a snapshot.  You should generate
      a real snapshot to properly track them.
    
      Also, removing a snapshot softlink does not remove the meta-data and
      thus the pruning code will continue to prune around that snapshot.
      The snaprm directive should be used when removing snapshot softlinks
      to also remove the meta-data.
    
    * Snaprm now uses the current directory when removing a transaction id
      and no target directory was specified.
    
    * Snaprm now makes it clear that a failure to remove meta-data when
      removing a softlink is just a warning, not a fatal error.

Summary of changes:
 sbin/hammer/cmd_snapshot.c |   14 ++++++++++++--
 sbin/hammer/hammer.8       |   24 ++++++++++++++++++++++++
 2 files changed, 36 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/92ed14a37d1dd6414a6bacb80f63bffedca3ff45


-- 
DragonFly BSD source repository





More information about the Commits mailing list