Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question

3 Answers 3

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.

share|improve this answer
1  
I love gparted for things like this. –  steve.lippert Jul 16 '10 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 '10 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 '10 at 13:10

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.

share|improve this answer

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

share|improve this answer
    
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 '10 at 19:26

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.