[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Resized ext3 partition, but filesystem remains the same
From: |
Dell Sanders |
Subject: |
Resized ext3 partition, but filesystem remains the same |
Date: |
Wed, 16 Feb 2005 22:13:36 +0000 (GMT) |
Hi,
Last night, I tried to resize my 2.5 GB ext3 linux
root partition to include an extra 2 GB of
unpartitioned disk space directly after /dev/hda3.
Unfortunately, I didn't RTFM properly and ran parted
while /dev/hda3 was mounted as root. I issued the
following commands -
=======================================================
(parted) resize 3 4690.854 9193.447
(parted) print
Disk geometry for /dev/hda: 0.000-19077.187 megabytes
Disk label type: msdos
Minor Start End Type Filesystem
Flags
1 0.031 4690.854 primary ntfs
boot
3 4690.854 9193.447 primary ext3
2 9193.447 19077.187 extended lba
5 9193.478 10001.403 logical linux-swap
6 10001.435 16206.196 logical ntfs
7 16206.227 19077.187 logical fat32
=======================================================
With fdisk, I see -
=======================================================
255 heads, 63 sectors/track, 2432 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id
System
/dev/hda1 * 1 598 4803403+ 7
HPFS/NTFS
/dev/hda2 1173 2432 10120950 f
W95 Ext'd (LBA)
/dev/hda3 599 1172 4610655 83
Linux
/dev/hda5 1173 1275 827316 82
Linux swap
/dev/hda6 1276 2066 6353676 7
HPFS/NTFS
/dev/hda7 2067 2432 2939863+ b
W95 FAT32
Partition table entries are not in disk order
=======================================================
df -h shows me the following -
=======================================================
Filesystem Size Used Avail Use% Mounted on
/dev/hda3 2.5G 2.0G 356M 85% /
tmpfs 189M 0 189M 0% /dev/shm
/dev 2.5G 2.0G 356M 85% /.dev
none 5.0M 524K 4.5M 11% /dev
/dev/fd0 1.4M 51K 1.2M 5%
/media/floppy0
/dev/hda7 2.8G 1.4G 1.5G 50% /mnt/fat32
=======================================================
It seems to me that the partition /dev/hda3 has been
resized to 4.5 GB, but the filesystem remains
restricted to 2.0 GB. Apart from that, the system runs
fine.
How can I grow my ext3 filesystem to fit the entire
/dev/hda3?
Other info :
OS: Linux 2.6.8 (Debian Sarge)
parted -v : GNU Parted 1.6.11 with HFS shrink patch
12.5
-Slath
___________________________________________________________
ALL-NEW Yahoo! Messenger - all new features - even more fun!
http://uk.messenger.yahoo.com
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Resized ext3 partition, but filesystem remains the same,
Dell Sanders <=