Hi Michael,
Thanks for providing such an image for me to test. However, I can _NOT_
reproduce the problem here... It just works here. Very weird... I
attached a screen copy/paste file which contains the whole process I
have done.
The VMware I tested here is Workstation 6.5.3 build-185404, 32-bit
version. I use Clonezilla live 1.2.2-31 to test it here.
Basically I use most of the default settings, I only different I did is
 to save the image on the NFS server. Maybe that's different to yours?
Where did you save the image to?

Steven.

Michael Mohr wrote:
> To facilitate testing I created a CentOS 5.3 VM, trying to stick to the
> defaults as closely as possible.  The three items I changed during setup
> were:
> 
> (1) I chose to "remove all partitions on the selected drive" during
> partitioning;
> (2) I de-selected Gnome from the meta-package list;
> (3) I set the root password to "zmanda"
> 
> All other options were left at default values.  I rebooted the VM once
> to ensure that the operating system booted and that everything was
> working as expected.  I turned off SELinux and disabled the firewall
> during the firstboot setup in case it matters, then gracefully shut it
> down.  I've tarred up this VM for you to test with;  I expect it to be
> available within approximately 1 hour here:
> 
> ftp://ftp.zmanda.com/outgoing/cz-centos53-test.tar.gz
> 
> I am aware that clonezilla 1.2.2-31 was released this morning, so I
> downloaded it.  This time, instead of setting up PXE booting, I
> downloaded and burned the CD ISO image from sourceforge (which I had
> hoped would be better supported):
> 
> $ md5sum clonezilla-live-1.2.2-31.iso 
> a1f4cc6669717f96de62fc5ee4396484  clonezilla-live-1.2.2-31.iso
> 
> I then proceeded in the same manner I described in my original email
> through the selection boxes and ended up with precisely the same results
> -- clonezilla hangs without an error message while it is scanning the
> VGs.
> 
> On the off chance that something was wrong with the NFS server, network,
> or other hardware I then consecutively installed and tested backup and
> recovery for the following operating systems:
> 
> * Windows XP
> * Windows Server 2003 R2
> 
> Both of the above operating systems were successfully imaged by
> Clonezilla to the NFS server.  After the imaging was complete,  I zeroed
> the first 500MB of the hard disk with 'dd' (using systemrescuecd).  I
> then rebooted into Clonezilla and restored the saved image from NFS.  I
> was subsequently able to reboot each machine into Windows and load
> google/yahoo in IE.
> 
> Imaging with LVM present has now failed on three different physical
> machines (2 laptops and one rack mount server) as well as several VMWare
> virtual machines.  The tested operating systems include several recent
> versions of Fedora and CentOS.
> 
> I've attached a screen capture depicting the point at which Clonezilla
> fails to this email.  Please let me know if there is something I can do
> differently to help resolve this.
> 
> TIA,
> Mike
> 
> On Tue, 2009-10-06 at 09:23 +0800, Steven Shiau wrote:
>> Hi,
>> How about share the vmware disk which you have tested with us?
>> It's easier for us to reproduce that problem.
>> Thanks.
>>
>> Steven.
>>
> 
> 
> ------------------------------------------------------------------------
> 
> 
> ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay 
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Clonezilla-live mailing list
> Clonezilla-live@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/clonezilla-live

-- 
Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org>
National Center for High-performance Computing, Taiwan.
http://www.nchc.org.tw
Public Key Server PGP Key ID: 1024D/9762755A
Fingerprint: A2A1 08B7 C22C 3D06 34DB  F4BC 08B3 E3D7 9762 755A
debian:~# clonezilla
NCHC Free Software Labs, Taiwan


┌─────────────────────────────────┤
 Clonezilla 
├─────────────────────────────────┐
│ *Clonezilla is free (GPL) software, and comes with ABSOLUTE NO WARRANTY*    
   │
│  ///Hint! From now on, if multiple choices are available, you have to press 
   │
│ space key to mark your selection. An asterisk (*) will be shown when the    
   │
│ selection is done///                                                        
   │
│  Two modes are available, you can                                           
   │
│  (1) clone/restore a disk or partition using an image                       
   │
│  (2) disk to disk or partition to partition clone/restore.                  
   │
│  Select mode:                                                               
   │
│                                                                             
   │
│    device-image                      work with disks or partitions usin     
   │
│    device-device                     work directly from a disk or parti     
   │
│                                                                             
   │
│                                                                             
   │
│                     <Ok>                         <Cancel>                   
   │
│                                                                             
   │
└────────────────────────────────────────────────────────────────────────────────┘



Clonezilla mode is device-image

NCHC Free Software Labs, Taiwan


┌──────────────────────┤ Mount 
Clonezilla image directory 
├──────────────────────┐
│ Before cloning, you have to assign where the Clonezilla image will be saved 
   │
│ to or read from. We will mount that device or remote resources as           
   │
│ /home/partimag. The Clonezilla image will be saved to or read from          
   │
│ /home/partimag.                                                             
   │
│                                                                             
   │
│      local_dev    Use local device (E.g.: hard drive, USB drive)            
   │
│      ssh_server   Use SSH server                                            
   │
│      samba_server Use SAMBA server (Network Neighborhood server)            
   │
│      nfs_server   Use NFS server                                            
   │
│      enter_shell  Enter command line prompt. Do it manually                 
   │
│      skip         Use existing /home/partimag (Memory! *NOT RECOMMENDED*)   
   │
│                                                                             
   │
│                                                                             
   │
│                     <Ok>                         <Cancel>                   
   │
│                                                                             
   │
└────────────────────────────────────────────────────────────────────────────────┘



ocsroot device is nfs_server
Network is already configured! Available IP address on this machine: 
192.168.120.3
Preparing the mount point /home/partimag...
Mounting remote directory on NFS (Ver 3) server as /home/partimag...

NCHC Free Software Labs, Taiwan






            ┌────────────────────┤ 
NFS version 
├─────────────────────┐
            │ Which version of NFS service do you want to mount?     │
            │                                                        │
            │                     nfs  NFS v2, v3                    │
            │                     nfs4 NFS v4                        │
            │                                                        │
            │                                                        │
            │             <Ok>                 <Cancel>              │
            │                                                        │
            
└────────────────────────────────────────────────────────┘







NCHC Free Software Labs, Taiwan






┌──────────────────────────────┤
 Mount NFS server 
├──────────────────────────────┐
│ IP address or FQDN of the server. E.g. 192.168.120.254 or                   
   │
│ hostname.domainname.org:                                                    
   │
│                                                                             
   │
│ 
192.168.120.254_______________________________________________________________ 
│
│                                                                             
   │
│                     <Ok>                         <Cancel>                   
   │
│                                                                             
   │
└────────────────────────────────────────────────────────────────────────────────┘







NFS server is: 192.168.120.254

NCHC Free Software Labs, Taiwan






┌──────────────────────────────┤
 Mount NFS server 
├──────────────────────────────┐
│ The directory where the Clonezilla image will be saved to or read from, Ex  
   │
│ /home/partimag/:                                                            
   │
│                                                                             
   │
│ 
/home/partimag/_______________________________________________________________ 
│
│                                                                             
   │
│                     <Ok>                         <Cancel>                   
   │
│                                                                             
   │
└────────────────────────────────────────────────────────────────────────────────┘







The path in nfs server is: /home/partimag/
Mouting NFS server by:
mount -t nfs 192.168.120.254:/home/partimag/ /home/partimag
The file system disk space usage
*****************************************************.
Filesystem            Size  Used Avail Use% Mounted on
aufs                  252M  6.2M  246M   3% /
tmpfs                 252M     0  252M   0% /lib/init/rw
proc                     0     0     0   -  /proc
sysfs                    0     0     0   -  /sys
udev                   10M  576K  9.5M   6% /dev
tmpfs                 252M  4.0K  252M   1% /dev/shm
devpts                   0     0     0   -  /dev/pts
/dev/hda              104M  104M     0 100% /live/image
tmpfs                 252M  6.2M  246M   3% /live/cow
tmpfs                 252M     0  252M   0% /live
fusectl                  0     0     0   -  /sys/fs/fuse/connections
tmpfs                 252M     0  252M   0% /tmp
192.168.120.254:/home/partimag/
                      932G  535G  398G  58% /home/partimag
*****************************************************.
Press "Enter" to continue......
done!
Setting the TERM as screen

NCHC Free Software Labs, Taiwan






  ┌───────────────┤ Clonezilla - Opensource 
Clone System (OCS) ├───────────────┐
  │ Choose the mode to run the following wizard about advanced parameters:    
 │
  │                                                                           
 │
  │             Beginner Beginner mode: Accept the default options            
 │
  │             Expert   Expert mode: Choose your own options                 
 │
  │                                                                           
 │
  │                                                                           
 │
  │                    <Ok>                        <Cancel>                   
 │
  │                                                                           
 │
  
└────────────────────────────────────────────────────────────────────────────┘






Choose the mode for ocs-sr

NCHC Free Software Labs, Taiwan

┌──────────────────────────┤
 Clonezilla: Select mode 
├───────────────────────────┐
│ *Clonezilla is free (GPL) software, and comes with ABSOLUTE NO WARRANTY*    
   │
│  This software will overwrite the data on your hard drive when restoring! 
It   │
│ is recommended to backup important files before restoring!***               
   │
│  ///Hint! From now on, if multiple choices are available, you have to press 
   │
│ space key to mark your selection. An asterisk (*) will be shown when the    
   │
│ selection is done///                                                        
   │
│  Select mode:                                                               
   │
│                                                                             
   │
│              savedisk         Save_local_disk_as_an_image                   
   │
│              saveparts        Save_local_partitions_as_an_image             
   │
│              restoredisk      Restore_an_image_to_local_disk                
   │
│              restoreparts     Restore_an_image_to_local_partitions          
   │
│              recovery-iso-zip Create_recovery_Clonezilla_live               
   │
│              exit             Exit. Enter command line prompt               
   │
│                                                                             
   │
│                                                                             
   │
│                     <Ok>                         <Cancel>                   
   │
│                                                                             
   │
└────────────────────────────────────────────────────────────────────────────────┘

*****************************************************.
Clonezilla image dir: /home/partimag
*****************************************************.

NCHC Free Software Labs, Taiwan







        ┌┤ Clonezilla - Opensource Clone System (OCS) | Mode: savedisk 
├┐
        │ Input a name for the saved image to use                       │
        │                                                               │
        │ centos-5-LVM_________________________________________________ │
        │                                                               │
        │                <Ok>                    <Cancel>               │
        │                                                               │
        
└───────────────────────────────────────────────────────────────┘







Excluding busy partition or disk...

NCHC Free Software Labs, Taiwan





┌────────┤ Clonezilla - Opensource Clone System (OCS) | 
Mode: savedisk ├─────────┐
│ Choose local disk as source.                                                
   │
│  The disk name is the device name in GNU/Linux. The first disk in the 
system   │
│ is "hda" or "sda", the 2nd disk is "hdb" or "sdb"... Press space key to 
mark   │
│ your selection. An asterisk (*) will be shown when the selection is done:   
   │
│                                                                             
   │
│    [*] sda  12.9GB_VMware_Virtual_S_No_disk_serial_no                       
   │
│                                                                             
   │
│                                                                             
   │
│                     <Ok>                         <Cancel>                   
   │
│                                                                             
   │
└────────────────────────────────────────────────────────────────────────────────┘





Selected device [sda] found!
The selected devices: sda
Shutting down the Logical Volume Manager
  Shutting Down logical volume: /dev/VolGroup00/LogVol00
  Shutting Down logical volume: /dev/VolGroup00/LogVol01
  Shutting Down volume group: VolGroup00
Finished Shutting down the Logical Volume Manager
*****************************************************.
PS. Next time you can run this command directly:
/opt/drbl/sbin/ocs-sr -q2 -c -j2 -z1 -i 2000 -p true savedisk "centos-5-LVM" 
"sda"
This command is also saved as this file name for later use if necessary: 
/tmp/ocs-centos-5-LVM-2009-10-06-18-04
Press "Enter" to continue...
Activating the partition info in /proc... done!
Selected device [sda] found!
The selected devices: sda
Searching for data partition(s)...
Excluding busy partition or disk...
Unmouted partitions (including extended or swap): sda1 sda2
Collecting info... done!
Searching for swap partition(s)...
Excluding busy partition or disk...
Unmouted partitions (including extended or swap): sda1 sda2
Collecting info... done!
The data partition to be saved:   sda1 sda2
The swap partition to be saved:
Activating the partition info in /proc... done!
Selected device [sda1] found!
Selected device [sda2] found!
The selected devices: sda1 sda2
Getting /dev/sda1 info...
Getting /dev/sda2 info...
*****************************************************.
The following step is to save the hard disk/partition(s) on this machine as an 
image:
*****************************************************.
Machine: VMware Virtual Platform
sda (12.9GB_VMware_Virtual_S_No_disk_serial_no)
sda1 (107MB_ext3(In_VMware_Virtual_S)_No_disk_serial_no)
sda2 (12.8GB_lvm2pv(In_VMware_Virtual_S)_No_disk_serial_no)
*****************************************************.
-> "/home/partimag/centos-5-LVM".
Are you sure you want to continue? ? (y/n) y
OK, let's do it!!
Shutting down the Logical Volume Manager
  Shutting Down volume group: VolGroup00
Finished Shutting down the Logical Volume Manager
Checking the integrity of partition table in the disk /dev/sda...
Reading the partition table for /dev/sda...RETVAL=0
*****************************************************.
The first partition of disk /dev/sda starts at 63.
Saving the hidden data between MBR (1st sector, i.e. 512 bytes) and 1st 
partition, which might be useful for some recovery tool, by:
dd if=/dev/sda of=/home/partimag/centos-5-LVM/sda-hidden-data-after-mbr skip=1 
bs=512 count=62
62+0 records in
62+0 records out
31744 bytes (32 kB) copied, 0.00510506 s, 6.2 MB/s
*****************************************************.
done!
Saving the MBR data for sda...
1+0 records in
1+0 records out
512 bytes (512 B) copied, 0.000512286 s, 999 kB/s
*****************************************************.
*****************************************************.
Starting saving /dev/sda1 as /home/partimag/centos-5-LVM/sda1.XXX...
/dev/sda1 filesystem: ext3.
*****************************************************.
Checking the disk space...
*****************************************************.
Use partclone with gzip to save the image.
Image file will be split with size limit 2000 MB.
*****************************************************.
If this action fails or hangs, check:
* Is the disk full ?
*****************************************************.
Partclone v0.1.9 (Rev:323M) http://partclone.org
Starting to clone device (/dev/sda1) to image (-)
Reading Super Block
Calculating bitmap...
Elapsed: 00:00:01, Remaining: 00:00:00, Completed: 99.63%, Rate:   6.24MB/min,
Total Time: 00:00:00, Ave. Rate:    0.0MB/min, 100.00%% completed!
File system: EXTFS
Device size: 107 MB
Space in use: 16 MB
Block size: 1024 Byte
Used block count: 15376
Elapsed: 00:00:03, Remaining: 00:00:00, Completed: 97.55%, Rate: 307.20MB/min,
Total Time: 00:00:03, Ave. Rate:    0.4MB/min, 100.00%% completed!
Syncing... OK!
Partclone successfully cloned the device (/dev/sda1) to the image (-)
Checking the disk space...
>>> Time elapsed: 2.86 secs (~ .047 mins), average speed: 330.0 MB/min
*****************************************************.
Finished saving /dev/sda1 as /home/partimag/centos-5-LVM/sda1.ext3-ptcl-img.gz
*****************************************************.
Setting up the Logical Volume Manager
  /dev/cdrom: open failed: Read-only file system
  Attempt to close device '/dev/cdrom' which is not open.
  2 logical volume(s) in volume group "VolGroup00" now active
Parsing LVM layout...
  /dev/cdrom: open failed: Read-only file system
  Attempt to close device '/dev/cdrom' which is not open.
VolGroup00 /dev/sda2 w7V82D-qsXy-bSEC-mcFy-t2qH-PVcN-BqBywK
Parsing logical volumes...
/dev/VolGroup00/LogVol00  Linux rev 1.0 ext3 filesystem data, 
UUID=820abba-5886-4991-b320-c0574047b7ee (large files)
/dev/VolGroup00/LogVol01  Linux/i386 swap file (new style), version 1 (4K 
pages), size 262143 pages, no label, UUID=0-0-0-0-00
Saving the VG config...
  Volume group "VolGroup00" successfully backed up.
done!
Saving /dev/VolGroup00/LogVol00 as filename: VolGroup00-LogVol00. Filesystem: 
Linux rev 1.0 ext3 filesystem data, UUID=820abba-5886-4991-b320-c0574047b7ee 
(large files)
*****************************************************.
*****************************************************.
Starting saving /dev/VolGroup00/LogVol00 as 
/home/partimag/centos-5-LVM/VolGroup00-LogVol00.XXX...
/dev/VolGroup00/LogVol00 filesystem: ext3.
*****************************************************.
Checking the disk space...
*****************************************************.
Use partclone with gzip to save the image.
Image file will be split with size limit 2000 MB.
*****************************************************.
If this action fails or hangs, check:
* Is the disk full ?
*****************************************************.
Partclone v0.1.9 (Rev:323M) http://partclone.org
Starting to clone device (/dev/VolGroup00/LogVol00) to image (-)
Reading Super Block
Calculating bitmap...
Elapsed: 00:00:02, Remaining: 00:00:00, Completed: 99.97%, Rate:  85.50MB/min,
Total Time: 00:00:02, Ave. Rate:    0.1MB/min, 100.00%% completed!
File system: EXTFS
Device size: 11677 MB
Space in use: 1379 MB
Block size: 4096 Byte
Used block count: 336579
Elapsed: 00:02:43, Remaining: 00:00:00, Completed: 99.83%, Rate: 506.60MB/min,
Total Time: 00:02:43, Ave. Rate:    0.6MB/min, 100.00%% completed!
Syncing... OK!
Partclone successfully cloned the device (/dev/VolGroup00/LogVol00) to the 
image (-)
Checking the disk space...
>>> Time elapsed: 166.06 secs (~ 2.767 mins), average speed: 498.0 MB/min
*****************************************************.
Finished saving /dev/VolGroup00/LogVol00 as 
/home/partimag/centos-5-LVM/VolGroup00-LogVol00.ext3-ptcl-img.gz
*****************************************************.
*****************************************************.
Saving /dev/VolGroup00/LogVol01 as filename: VolGroup00-LogVol01. Filesystem: 
Linux/i386 swap file (new style), version 1 (4K pages), size 262143 pages, no 
label, UUID=0-0-0-0-00
Saving swap /dev/VolGroup00/LogVol01 info in 
/home/partimag/centos-5-LVM/swappt-VolGroup00-LogVol01.info...
Warning! UUID and LABLE of swap dev /dev/VolGroup00/LogVol01 are nothing!
*****************************************************.
Saving hardware info by lshw...
Saving DMI info...
Saving package info...
*****************************************************.
*****************************************************
*****************************************************
This program is not started by Clonezilla server, so skip notifying it the job 
is done.
Finished!
Now syncing - flush filesystem buffers...


# ls -alFh /home/partimag/centos-5-LVM
drwxr-xr-x  2 root root 4.0K 2009-10-07 09:08 ./
drwxr-xr-x 60 root root 4.0K 2009-10-07 09:09 ../
-rw-r--r--  1 root root    4 2009-10-07 09:08 disk
-rw-r--r--  1 root root  15K 2009-10-07 09:08 Info-dmi.txt
-rw-r--r--  1 root root 9.8K 2009-10-07 09:08 Info-lshw.txt
-rw-r--r--  1 root root  285 2009-10-07 09:08 Info-packages.txt
-rw-r--r--  1 root root  244 2009-10-07 09:05 lvm_logv.list
-rw-r--r--  1 root root   60 2009-10-07 09:05 lvm_vg_dev.list
-rw-------  1 root root 1.4K 2009-10-07 09:05 lvm_VolGroup00.conf
-rw-r--r--  1 root root   10 2009-10-07 09:08 parts
-rw-------  1 root root 5.6M 2009-10-07 09:05 sda1.ext3-ptcl-img.gz.aa
-rw-r--r--  1 root root   36 2009-10-07 09:05 sda-chs.sf
-rw-r--r--  1 root root  31K 2009-10-07 09:05 sda-hidden-data-after-mbr
-rw-r--r--  1 root root  512 2009-10-07 09:05 sda-mbr
-rw-r--r--  1 root root  332 2009-10-07 09:05 sda-pt.parted
-rw-r--r--  1 root root  259 2009-10-07 09:05 sda-pt.sf
-rw-r--r--  1 root root   17 2009-10-07 09:08 swappt-VolGroup00-LogVol01.info
-rw-------  1 root root 287M 2009-10-07 09:08 
VolGroup00-LogVol00.ext3-ptcl-img.gz.aa
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Clonezilla-live mailing list
Clonezilla-live@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clonezilla-live

Reply via email to