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

DragonFly-2.3.1.868.g90eca master sbin/hammer cmd_expand.c sys/vfs/hammer hammer_expand.c hammer_ioctl.h


From: Michael Neumann <mneumann@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 14 Jul 2009 07:03:55 -0700 (PDT)

commit 90ecab35525ea3637a59763d75df6712ff91728a
Author: Michael Neumann <mneumann@ntecs.de>
Date:   Tue Jul 14 15:55:02 2009 +0200

    Expand HAMMER filesystem step 1/2
    
    Format the volume and increase other volumes' vol_count field.
    The space of the new volume is not yet given to the filesystem (that's step 2).
    
    Example:
    
    	newfs_hammer -L TEST /dev/da0
    	mount_hammer /dev/da0 /hammer
    	hammer expand /hammer /dev/da1
    	umount /hammer
    	mount_hammer /dev/da0:/dev/da1 /hammer
    
    	# the following fails (wrong number of volumes)
    	mount_hammer /dev/da0 /hammer

Summary of changes:
 sbin/hammer/cmd_expand.c       |   51 +++++++++++-
 sys/vfs/hammer/hammer_expand.c |  189 +++++++++++++++++++++++++++++++++++++++-
 sys/vfs/hammer/hammer_ioctl.h  |    3 +
 3 files changed, 239 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/90ecab35525ea3637a59763d75df6712ff91728a


-- 
DragonFly BSD source repository



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