DragonFly-2.3.1.868.g90eca master sbin/hammer cmd_expand.c sys/vfs/hammer hammer_expand.c hammer_ioctl.h
Michael Neumann
mneumann at crater.dragonflybsd.org
Tue Jul 14 07:05:21 PDT 2009
commit 90ecab35525ea3637a59763d75df6712ff91728a
Author: Michael Neumann <mneumann at 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
More information about the Commits
mailing list