Mailinglist Archive: opensuse (4208 mails)

< Previous Next >
Re: [SLE] Resize reiserfs problems
  • From: Anders Johansson <andjoh@xxxxxxxxxx>
  • Date: Mon, 19 Jul 2004 18:06:59 +0200
  • Message-id: <1090253219.14421.16.camel@xxxxxxxxxxxxxxxxx>
On Mon, 2004-07-19 at 10:56 -0500, Misty Stanley-Jones wrote:
> I juggled partitions and resized my / partition to cover a larger area of the
> disk. However, after I did it, I get inconsistencies. According to t he
> YaST partitioner and according to fdisk, the resize did happen. According to
> 'df' it did not. Here is my output of fdisk:
> Disk /dev/hda: 80.0 GB, 80000000000 bytes
> 255 heads, 63 sectors/track, 9726 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
>
> Device Boot Start End Blocks Id System
> /dev/hda1 1 4 32098+ de Dell Utility
> /dev/hda2 5 9516 76405140 83 Linux
> /dev/hda3 9517 9726 1686825 82 Linux swap
>
> And here is what df says:
>
> Filesystem 1K-blocks Used Available Use% Mounted on
> /dev/hda2 17362216 13564696 2915552 83% /
> tmpfs 254048 8 254040 1% /dev/shm
>
> The df command is only seeing 18 gigs instead of 73 gigs! So is this a df
> poblem or did the resize not work?
>

I read those numbers as 1 block = 0.5K, so the partition is 38202570K or
about 36GB.

Did you resize the file system or just the partition? Perhaps you should
try

resize_reiserfs /dev/hda2

I assume you already have a full backup of your data, messing with
partitions can be dangerous stuff


< Previous Next >
Follow Ups
References