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

File system size after copying partition with etch beta 3 installer



Hello

i am not sure if this this the right place to ask. If there is a better
place, let me know.

i bought a new hard disk, and copied the partition from the old hard
disk to the new hard disk with the etch beta 3 installer copy partition
function.. The new hd is 160 GB, the old one 60 GB. Booting and
fsck.ext3 is fine.

Both hds have the same partitioning, except that the first primary
partition differs in size. This is the partition i copied. Now see
below: df reports the "1K-Blöcke" (1K-blocks) on the NEW hd which
corresponds to the old drive. fdisk shows the right number of blocks,
which is much bigger.

So probably etch installer uses dd to copy the data? The whole
filesystem is copied? How can i repair that, so that the filesystem is
extended to the size of the partition without re-defining and
re-installing the data? Is it possible?

cc@~> df
Dateisystem          1K-Blöcke   Benutzt Verfügbar Ben% Eingehängt auf
/dev/hda1             56743596  33683816  20177356  63% /

fdisk:

Disk /dev/hda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1       19080   153260068+  83  Linux
/dev/hda2           19081       19457     3028252+   5  Extended
/dev/hda5           19081       19457     3028221   82  Linux swap / Solaris

Best regards,
Christoph



Reply to: