Resizing a ReiserFS filesystem is pretty easy. ReiserFS filesystems can be both shrunk and grown.

  1. The resize has to be done whilst the file system is not mounted.
  2. Resize the filesystem using the resize_reiserfs command. To shrink the filesystem at a given device node by 65GB:

tony@omega:~$ sudo resize_reiserfs -s -65G /dev/mapper/data-media 
resize_reiserfs 3.6.19 (2003 www.namesys.com)

You are running BETA version of reiserfs shrinker.
This version is only for testing or VERY CAREFUL use.
Backup of you data is recommended.

Do you want to continue? [y/N]:y

tony@omega:~$ sudo resize_reiserfs /dev/mapper/data-media 
resize_reiserfs 3.6.19 (2003 www.namesys.com)

[[ReiserFS]] report:
blocksize             4096
block count           26214400 (9175040)
free blocks           19341445 (2302605)
bitmap block count    800 (280)

Syncing..done


resize_reiserfs: Resizing finished successfully.

LogicalVolumeManagement/ResizeReiserFS (last edited 2010-07-25 11:22:18 by AdamTrickett)