[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

parted and cfdisk




Hi,

	I've tried to use parted to resize my /usr partition. Yes, I
know this is dangerous but I decided to try.
	Well, it seems that parted did a good job! At least I can boot
my computer again with no data loss yet!
	But, even with parted and cfdisk reporting the new partition
size, a mount (or df) command only shows the old size. Look bellow:

-----------------------------
(parted) print
Disk geometry: 1-788, 8032k cylinders
Minor    Start    End      Type            Filesystem     Flags
1        1        97       primary         ext2           boot
2        98       398      primary         ext2
...
(parted)
-------------------------------

cfdisk reports
-------------------------------
    Name    Flags     Part Type  FS Type       [Label]  Size (MB)

------------------------------------------------------------------------------
    hda1     Boot        Primary   Linux ext2       797.86
    hda2                 Primary   Linux ext2       2475.81
    ....
----------------------------------


paracleto:~# df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/hda1               766848    356756    371136  49% /
/dev/hda2              1438920   1265396    100432  93% /usr
....
------------------------------------

	What's going on here? How can I make the kernel
(mount/df) recognize the new partition size?
	I did e2fsck -f /dev/hda2 (unmounted) with no help!
	Thanks for any info!

[]s,
Mario O.de Menezes            "Many are the plans in a man's heart, but
    IPEN-CNEN/SP                 is the Lord's purpose that prevails"
http://curiango.ipen.br/~mario                 Prov. 19.21
                   http://www.revistalinux.com.br



Reply to: