bug-parted
[Top][All Lists]
Advanced

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

Re: Disk to the maxx: How to reclaim "lost space"?


From: Håkon Løvdal
Subject: Re: Disk to the maxx: How to reclaim "lost space"?
Date: Fri, 5 Dec 2008 13:21:23 +0100

Generally when resizing a partition, it is important to do things in
correct sequense.
For downsizing, you first shrink the file system and then reduce the
size of the partition.
For upsizing, you first increase the size of the partition and then
enlarge the file system.

In your case the partition your file system is reduced but your
partition is not, and now
you have changed your mind and want to go back to how it was
initially. This means
that there is nothing that needs to be done with the partition, only
the file system.

This can be done with the resize2fs command (run this from a boot disk/live cd,
I am not sure if ext3 supports live resizing). By default if you do not give a
specific size resize2fs will fill the file system to cover the whole
partition it
is contained in, which is exactly what you want.

You can get the latest version of resize2fs from
http://e2fsprogs.sourceforge.net/.

BR Håkon Løvdal

reply via email to

[Prev in Thread] Current Thread [Next in Thread]