1

I successfully cloned my hard drive from 250gb to 1Tb using -k1 on expert mode. but when I explore the folders, why is it still acting like a 250 gb hard drive. It is still showing that 180gb available as it was showing same when it was 250gb any idea what I am missing?

I am running centos linux

0

3 Answers 3

4

Clonezilla copied the data from your original disk to the target disk exactly, including your partition table. You now have to resize your partition.

You can either use something like gparted, or you can use fdisk if you're feeling lucky to expand the partition to take up the entire disk and then resize your filesystem with resize2fs or the like.

3
  • 1
    I love gparted for things like this. Jul 16, 2010 at 19:21
  • I have Gparted installed Clonezilla made LVM bigger, but I need help to make the size of /dev/mapper/VG0-var bigger LVM is got the biggest space.But there is no partition called /dev/mapper/VG0-var so how do I resize /dev/mapper/VG0-var any ideas more than welcome. thanks
    – malesef
    Jul 16, 2010 at 19:26
  • 1
    Ok, so you need to first increase the partition and do pvresize to make the PV the full disk size, then lvextend and resize each LV that you need to add space to. This should do the trick... lvextend -L +1G /dev/VG0/var ; resize2fs /dev/VG0/var
    – baumgart
    Jul 18, 2010 at 13:10
1

GParted is a good partition program but it did not work in my case, since I had to deal with LVM file system.

By guidance of 'baumgart' the lifesaver, I managed to resize /dev/VG0/var with the following three steps:

  1. pvresize --setphysicalvolumesize 700G /dev/sda1 (resize sda1 to 700Gigabytes)

  2. lvextend -L +500G /dev/VG0/var (add 500Gigabytes top on existing)

  3. resize2fs /dev/VG0/var

This is done after clonezilla expert mode -k1 is applied.

0

Use a tool like Parted Magic to resize the partition and take advantage of the full space.

1
  • I have Gparted installed Clonezilla made LVM bigger, but I need help to make the size of /dev/mapper/VG0-var bigger LVM is got the biggest space.But there is no partition called /dev/mapper/VG0-var so how do I resize /dev/mapper/VG0-var any ideas more than welcome. thanks
    – malesef
    Jul 16, 2010 at 19:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .