ReiserFs Resize


Table of Contents

No way to resize reiserfs partition? 
No way to resize reiserfs partition? 
No way to resize reiserfs partition? 
Resize reiserfs partition 
Resize reiserfs partition up with resize_reiserfs 
Resize reiserfs partition down with gparted 
Example using resize_reiserfs 
lost data when resizing reiserfs 

No way to resize reiserfs partition? 

http://mirror.hamakor.org.il/archives/linux-il/08-2005/16737.html

There is a way - I did it. Just resize it with resize_reiserfs.

But backup your data first and run fsck —rebuild-tree after the fact.

If you are shrinking the partition, consider the —scan-whole-partition option of reiserfsck.

09 Aug 2005, Amos Shapira

No way to resize reiserfs partition? 

> There is a way - I did it. Just resize it with resize_reiserfs.

This is the way to go when enlarging a partition:

  1. Expand the partition with fdisk
  2. resize_reiserfs /dev/whatever

However shrinking a partition is probably more complicated: you should first use resize_reiserfs to shrink the filesystem (the on-disk data-structure) and then only use fdisk to shrink the partition (the space allocated on the disk).

This would have been easy if both would have used the same units. Or somewhat compatible units, for that fact.

Tzafrir Cohen

No way to resize reiserfs partition? 

> This would have been easy if both would have used the same units. Or
> somewhat compatible units, for that fact.

gparted[0] is supposed to help with this by combining both steps into one, making sure that the right numbers are passed to both programs. I don't remember why it didn't work for me, maybe it failed to work with reiserfs (as far as I remember I tried the version which comes with Ubuntu's live CD).

[0] - http://gparted.sourceforge.net/

10 Aug 2005, Amos Shapira