RESIZE_REISERFS(8)
π RESIZE_REISERFS(8) π
ok so like. this is the resizer tool for the ReiserFS filesystem, bestie. it lives in the System Manager's Manual section 8, and it's genuinely about to change your whole filesystem's size. no cap. π
β¨ NAME β¨
resize_reiserfs β resizer tool for the ReiserFS filesystem
πΈ SYNOPSIS πΈ
resize_reiserfs [ -s [+|-]size[K|M|G] ] [ -j dev ] [ -fqv ] device
π¦ DESCRIPTION π¦
okay so here's the tea: the resize_reiserfs tool resizes an unmounted reiserfs file system. she enlarges or shrinks a reiserfs file system located on a device so that it will have size bytes β or size=old_size +(-) size bytes if the + or - prefix is used. if you don't specify the -s option, the filesystem will be resized to fill the given device. the size parameter may have one of the optional modifiers K, M, G, which means the size parameter is given in kilo-, mega-, gigabytes respectively. π
the resize_reiserfs 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 cfdisk(8) for partitions, by deleting the partition and recreating it with a larger size (assuming there is free space after 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. π this is the part where you pay attention, fr fr.
the resize_reiserfs program allows to grow a reiserfs on-line if there is a free space on block device. π₯
if you wish to shrink a reiserfs partition, first use resize_reiserfs to shrink the file system. you may then use cfdisk(8) 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. π
π OPTIONS π
-s [+|-]sizeβ set the new size in bytes. yes the prefix matters, the+and-are literally the whole vibe here.-j devβ set the journal device name.-fβ force, do not perform checks. (bold. reckless. main character energy.)-qβ do not print anything but error messages. so she goes quiet unless something's wrong π-vβ turn on extra progress status messages (default).
π RETURN VALUES π
0β resizing successful. slay! β¨-1β resizing not successful. π
π EXAMPLES π
the following example shows how to test resize_reiserfs. 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 resize_reiserfs with a size parameter (in this case -1Gb):
df
umount /mnt
resize_reiserfs -s -1G /dev/hda8
mount /dev/hda8 /mnt
df /mnt
π«Ά AUTHOR π«Ά
this version of resize_reiserfs has been written by Alexander Zarochentcev <zam@namesys.com>. thank you for your service king π«‘
π§ BUGS π§
please report bugs to the ReiserFS developers <reiserfs-devel@vger.kernel.org>, providing as much information as possible β your hardware, kernel, patches, settings, all printed messages; check the syslog file for any related information. the more receipts you bring, the better bestie π
π SEE ALSO π
cfdisk(8), reiserfsck(8), debugreiserfs(8)
and that's the whole page bestie, you're so ready for this π this one's from Reiserfsprogs-3.6.27, dated January 2009 β yeah she's vintage, and she's still iconic. periodt. β¨
π¦ where this page comes from
- debian bookworm: reiserfsprogs 1:3.6.27-4
- debian trixie: reiserfsprogs 1:3.6.27-9 Β· GPL-2.0-only
- ubuntu jammy: reiserfsprogs 1:3.6.27-4build4
- ubuntu noble: reiserfsprogs 1:3.6.27-7.1build1 Β· GPL-2.0-only
- ubuntu questing: reiserfsprogs 1:3.6.27-9
- Copyright 1996-2004 Hans Reiser
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms