Skip to contentSkip to conversation

resize_reiserfs, free space in front....

DISCUSSION julius Junghans 2 participants 2 messages Nov 20, 2005

lore
Share & tools
lore
#0 lore raw

Hi,

i would like to grow my reserfs partition, the unsued space is in front of my root partition, between swap and root partition. as stated in the resize_reiserfs manpage:

.......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.....

the same starting cylinder wouldnt change anything in my case... is it possible what i want todo with resize_reiserfs?
- if yes then the manpage should be updated.

greets
julius

#1 lore raw

Reiserfs partitions, when resized; the beginning MUST stay fixed. This limitation also applies to ext2/3 filesystems. The only filesystem I know of in which the front of the filesystem can be moved is FAT; which can't be practically used for linux, IIRC.

The solution is to make partitions as early on the disk as you'll ever need and put everything else at the tail end (e.g. FAT at the tail end). IIRC, LVM should also be able to manage around this; although I don't remember perfectly.

Quoted 13 lines · julius Junghans

Hi,

i would like to grow my reserfs partition, the unsued space is in front of my root partition, between swap and root partition.
as stated in the resize_reiserfs manpage:

.......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.....

Quoted 7 lines

the same starting cylinder wouldnt change anything in my case... is it possible what i want todo with resize_reiserfs?
- if yes then the manpage should be updated.

greets
julius

--
~Mike
- Just my two cents
- No man is an island, and no man is unable.