Re: Now way to resize reiserfs partition?

From: Tzafrir Cohen (tzafrir_at_nonexisting.hamakor.org.il)
Date: Tue 09 Aug 2005 - 22:38:27 IDT


On Tue, Aug 09, 2005 at 09:57:34PM +1000, Amos Shapira wrote:
> 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         | tzafrir_at_jbr.cohens.org.il | VIM is
http://tzafrir.org.il |                           | a Mutt's  
tzafrir_at_cohens.org.il |                           |  best
ICQ# 16849755         |                           | friend
=================================================================
To unsubscribe, send mail to linux-il-request_at_linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request_at_linux.org.il


This archive was generated by hypermail 2.1.7 : Tue 09 Aug 2005 - 22:54:41 IDT