03-27-04 10:36 PM
After doing much reading of textbooks and online resources I began the proce
ss of resizing my /var partition as it is used by many processes including e
-mail and databases in particular.
Before I began I printed out from parted and df.
The main bits of interest were:
(parted-output)
Disk label type: msdos
Minor Start End Type Filesystem Flags
6 5098.786 6118.505 logical ext3
7 6118.537 6502.873 logical linux-swap
and
(df -h output)
Filesystem Size Used Avail Use% Mounted on
none 121M 0 120M 0% /dev/shm
/dev/hda6 1004M 284M 669M 30% /var
Following an example from the gnu.org site for using parted I deleted the li
nux-swap file thus:
rm 7
I then resized the /var partition:
Resize 6 5098 8999
I then recreated the linux-swap:
mkpartfs 7 logical ext2 8999 9500
Everything went fine, or so I thought.
Machine re-booted, parted prints the new sizes for the partitions but, df -h
still shows old partition sizes.
Any idea how on earth I can get the new partition sizes correctly recognised
?
Thanks.
[ Post a follow-up to this message ]
|