On Sat, Apr 30, 2005 at 06:03:20PM +0300, Gil Freund wrote: > On 4/30/05, Amos Shapira <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I have to shrink a bit my single Reiserfs 3.6 filesystem to make room > > for Ubuntu (which I'd like to install, not just experiment). > > I have good experience with resize_reiserfs. However I did this on > LVM. Parted scared me :)
This is true when you enlarge a partition. What you do then is first resize the partition and then the file system. Note: The file system need not occupy all the partition. Here the partition is the whole block, whereas the filesystem is the part occupied by '+'-s. before: ----------- |+++++++++| ----------- setting the partition: -------------------- |+++++++++| | -------------------- and resizing the filesystem itself (resize_reiserfs , resize2fs, whatever): -------------------- |++++++++++++++++++| -------------------- When you reduce the partition's size you need to do that process in the reverse order. resize*fs can easily resize the filesystem to the limites of the partition because it knows what they are. However fdisk can't tell whwere the filesystem ends. It is not its job. parted, OTOH, insists on doing too much: not only chaniging the partition size, but also messing with the filesystem resizing. What I would like is a simple tool to "reduce the partittion to the limits of the filesystem". -- Tzafrir Cohen | [EMAIL PROTECTED] | VIM is http://tzafrir.org.il | | a Mutt's [EMAIL PROTECTED] | | best ICQ# 16849755 | | friend ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
