tool resizes an unmounted reiserfs file system. It enlarges or shrinks an
reiserfs file system located on a
so that it will have
bytes or size=old_size +(-)
bytes if the + or - prefix is used.
option is not specified, the filesystem will be resized to fill the
parameter may have one of the optional modifiers
K, M, G,
which means the
parameter is given in kilo-, mega-, gigabytes respectively.
program does not manipulate the size of the device. If you wish to
enlarge a filesystem, you must make sure you expand the underlying
device first. This can be done using
for partitions, by deleting the partition and recreating it with a
larger size (assuming there is free space
the partition in question). Make sure you re-create it with the
same starting disk cylinder as before! Otherwise, the resize operation
will certainly not work, and you may lose your entire filesystem.
program allows to grow a reiserfs on-line if there is a free
space on block
If you wish to shrink a reiserfs partition, first use
to shrink the file system. You may then use
to shrink the device. When shrinking the size of the device, make sure
you do not make it smaller than the reduced size of the reiserfs filesystem.
Set the new size in bytes.
Set the journal device name.
Force, do not perform checks.
Do not print anything but error messages.
Turn on extra progress status messages (default).
-1Resizing not successful.
The following example shows how to test
Suppose 2Gb reiserfs filesystem is created on the device /dev/hda8
and is mounted on /mnt.
For shrinking the device we need to unmount it first, then run
size parameter (in this case -1Gb):
This version of
has been written by Alexander Zarochentcev <firstname.lastname@example.org>.
Please report bugs to the ReiserFS developers <email@example.com>, providing
as much information as possible--your hardware, kernel, patches, settings, all printed
messages; check the syslog file for any related information.