Menu

Clonezilla only creating 6MB worth of images

Help
2011-04-12
2013-04-05
  • John Brisco

    John Brisco - 2011-04-12

    The first clonezilla run went well. The contents of the image are:

    [root@washer 2011-03-01-16-img]# ls -lah
    total 21G
    drwxr-xr-x 2 root root 4.0K Mar  1 17:13 .
    drwxr-xr-x 6 root root 4.0K Apr 11 16:13 ..
    -rw-r--r-- 1 root root    4 Mar  1 17:13 disk
    -rw-r--r-- 1 root root 9.1K Mar  1 17:13 Info-dmi.txt
    -rw-r--r-- 1 root root  18K Mar  1 17:13 Info-lshw.txt
    -rw-r--r-- 1 root root 3.2K Mar  1 17:13 Info-lspci.txt
    -rw-r--r-- 1 root root  260 Mar  1 17:13 Info-packages.txt
    -rw-r--r-- 1 root root  272 Mar  1 16:59 lvm_logv.list
    -rw-r--r-- 1 root root   60 Mar  1 16:59 lvm_vg_dev.list
    -rw------- 1 root root 1.5K Mar  1 09:57 lvm_VolGroup00.conf
    -rw-r--r-- 1 root root   10 Mar  1 17:13 parts
    -rw------- 1 root root 5.8M Mar  1 16:59 sda1.ext3-ptcl-img.gz.aa
    -rw-r--r-- 1 root root   37 Mar  1 16:59 sda-chs.sf
    -rw-r--r-- 1 root root  31K Mar  1 16:59 sda-hidden-data-after-mbr
    -rw-r--r-- 1 root root  512 Mar  1 16:59 sda-mbr
    -rw-r--r-- 1 root root  332 Mar  1 16:59 sda-pt.parted
    -rw-r--r-- 1 root root  259 Mar  1 16:59 sda-pt.sf
    -rw-r--r-- 1 root root   17 Mar  1 17:13 swappt-VolGroup00-LogVol01.info
    -rw------- 1 root root 2.0G Mar  1 17:01 VolGroup00-LogVol00.ext3-ptcl-img.gz.aa
    -rw------- 1 root root 2.0G Mar  1 17:02 VolGroup00-LogVol00.ext3-ptcl-img.gz.ab
    -rw------- 1 root root 2.0G Mar  1 17:03 VolGroup00-LogVol00.ext3-ptcl-img.gz.ac
    -rw------- 1 root root 2.0G Mar  1 17:04 VolGroup00-LogVol00.ext3-ptcl-img.gz.ad
    -rw------- 1 root root 2.0G Mar  1 17:05 VolGroup00-LogVol00.ext3-ptcl-img.gz.ae
    -rw------- 1 root root 2.0G Mar  1 17:07 VolGroup00-LogVol00.ext3-ptcl-img.gz.af
    -rw------- 1 root root 2.0G Mar  1 17:08 VolGroup00-LogVol00.ext3-ptcl-img.gz.ag
    -rw------- 1 root root 2.0G Mar  1 17:10 VolGroup00-LogVol00.ext3-ptcl-img.gz.ah
    -rw------- 1 root root 2.0G Mar  1 17:11 VolGroup00-LogVol00.ext3-ptcl-img.gz.ai
    -rw------- 1 root root 2.0G Mar  1 17:12 VolGroup00-LogVol00.ext3-ptcl-img.gz.aj
    -rw------- 1 root root 883M Mar  1 17:13 VolGroup00-LogVol00.ext3-ptcl-img.gz.ak
    

    After a month of using this machine I'm trying to clone it again: I can no longer make images akin to this. Successive tries with Clonezilla yield something similar to:

    [root@washer 2011-04-11-15-img]# ls -lah
    total 6.0M
    drwxr-xr-x 2 root root 4.0K Apr 11 16:19 .
    drwxr-xr-x 3 root root 4.0K Apr 11 16:19 ..
    -rw-r--r-- 1 root root    4 Apr 11 16:19 disk
    -rw-r--r-- 1 root root 9.1K Apr 11 16:19 Info-dmi.txt
    -rw-r--r-- 1 root root  18K Apr 11 16:19 Info-lshw.txt
    -rw-r--r-- 1 root root 3.2K Apr 11 16:19 Info-lspci.txt
    -rw-r--r-- 1 root root  260 Apr 11 16:19 Info-packages.txt
    -rw-r--r-- 1 root root  154 Apr 11 16:19 lvm_logv.list
    -rw-r--r-- 1 root root   60 Apr 11 16:19 lvm_vg_dev.list
    -rw------- 1 root root 2.1K Apr 11 09:19 lvm_VolGroup00.conf
    -rw-r--r-- 1 root root   10 Apr 11 16:19 parts
    -rw------- 1 root root 5.8M Apr 11 16:19 sda1.ext3-ptcl-img.gz.aa
    -rw-r--r-- 1 root root   37 Apr 11 16:19 sda-chs.sf
    -rw-r--r-- 1 root root  31K Apr 11 16:19 sda-hidden-data-after-mbr
    -rw-r--r-- 1 root root  512 Apr 11 16:19 sda-mbr
    -rw-r--r-- 1 root root  332 Apr 11 16:19 sda-pt.parted
    -rw-r--r-- 1 root root  259 Apr 11 16:19 sda-pt.sf
    -rw-r--r-- 1 root root   17 Apr 11 16:19 swappt-VolGroup00-LogVol01.info
    

    Now none of the 2Gb chunks of the harddrive are being created. Total size 6Mb. Which makes the clone fairly useless.

    I use the basic option, device-image, savedisk. Also have tried advanced altering from the default option partclone>partimage>dd to straight to dd.

    I am using sshfs, the remote server (washer) has plenty of free space (79G) for another ~20Gb image. Since the first clone, the system trying to be cloned (oster) has had some lvm formatting changes which is the only thing I can think of that may affecting the clone.

    [root@oster ~]# df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/mapper/VolGroup00-LogVol00
                          125G   34G   88G  28% /
    /dev/sda1              99M   13M   82M  13% /boot
    tmpfs                 4.0G  1.1G  3.0G  26% /dev/shm
    shmfs                 4.0G  1.1G  3.0G  26% /dev/shm
    
    
    
    
    
    [root@oster ~]# lvm pvdisplay
      --- Physical volume ---
      PV Name               /dev/sda2
      VG Name               VolGroup00
      PV Size               148.95 GB / not usable 11.37 MB
      Allocatable           yes 
      PE Size (KByte)       32768
      Total PE              4766
      Free PE               13
      Allocated PE          4753
      PV UUID               bWdM2A-0Vwl-XJit-FHDH-k2d4-kWAW-0G5X2n
    
    
    
    
    
    [root@oster ~]# lvm lvdisplay
      --- Logical volume ---
      LV Name                /dev/VolGroup00/LogVol00
      VG Name                VolGroup00
      LV UUID                4NY0JQ-3aic-IDD2-9P18-41hc-Qq0W-cZK3qx
      LV Write Access        read/write
      LV snapshot status     source of
                             /dev/VolGroup00/snaps [active]
      LV Status              available
      # open                 1
      LV Size                129.00 GB
      Current LE             4128
      Segments               1
      Allocation             inherit
      Read ahead sectors     auto
      - currently set to     256
      Block device           253:1
       
      --- Logical volume ---
      LV Name                /dev/VolGroup00/LogVol01
      VG Name                VolGroup00
      LV UUID                gXv23V-OgCK-uXgP-mPfq-toXd-MuZb-Muem5F
      LV Write Access        read/write
      LV Status              available
      # open                 1
      LV Size                9.53 GB
      Current LE             305
      Segments               1
      Allocation             inherit
      Read ahead sectors     auto
      - currently set to     256
      Block device           253:4
       
      --- Logical volume ---
      LV Name                /dev/VolGroup00/snaps
      VG Name                VolGroup00
      LV UUID                aAUsjN-d6Yz-q2ed-DeJK-poLm-XRzm-dOhqtO
      LV Write Access        read/write
      LV snapshot status     active destination for /dev/VolGroup00/LogVol00
      LV Status              available
      # open                 0
      LV Size                129.00 GB
      Current LE             4128
      COW-table size         10.00 GB
      COW-table LE           320
      Allocated to snapshot  28.29% 
      Snapshot chunk size    4.00 KB
      Segments               1
      Allocation             inherit
      Read ahead sectors     auto
      - currently set to     256
      Block device           253:3
    
    
    
    
    
    [root@oster ~]# lvm lvs
      LV       VG         Attr   LSize   Origin   Snap%  Move Log Copy%  Convert
      LogVol00 VolGroup00 owi-ao 129.00G                                        
      LogVol01 VolGroup00 -wi-ao   9.53G                                        
      snaps    VolGroup00 swi-a-  10.00G LogVol00  28.29
    
    
    
    
    
    [root@oster ~]# lvm lvscan
      ACTIVE   Original '/dev/VolGroup00/LogVol00' [129.00 GB] inherit
      ACTIVE            '/dev/VolGroup00/LogVol01' [9.53 GB] inherit
      ACTIVE   Snapshot '/dev/VolGroup00/snaps' [10.00 GB] inherit
    

    Any ideas why clonezilla isn't producing a useful clone?
    Also, when clonezilla runs it spams stdout with output. Is this stored somewhere, such that after the run I can drop into the CZ cmd-prompt and read the output in vi ?

     
  • Steven Shiau

    Steven Shiau - 2011-04-19

    Which version of Clonezilla live did you use?
    If it's the latest stable, maybe you can give the latest testing one a try.
    Or it's recommended to do a fsck before you save them as an image.

    Steven.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.