DragonFly BSD
DragonFly commits List (threaded) for 2009-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 14 Oct 2009 18:22:16 -0700 (PDT)

commit 92ed14a37d1dd6414a6bacb80f63bffedca3ff45
Author: Matthew Dillon <dillon@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]