Morning Steven. So I rebuilt the image/clone (disk to disk), and notice 
very briefly while rebooting and exiting CZ, a brief message scrolled 
past the screen indicating something about "Duplicate Volume Group...." 
or something to that effect, it went by fast. But I guess this is likely 
normal since the VG's on the source were duplicated on the target?

I then disconnected the original source drives and booted from the 
cloned drive alone in the system. Once again it kernel panicked and 
could not find "VolGroup00"

I then rebooted the CZ disk and went to the shell, and ran the following:


pvscan:

PV /dev/sda2 VG VolGroup 00 lvm2 [297.91 GiB /  0 free]
Total:1 [297.91 GiB] / in use:1 [297.91 GiB] / in no VG: 0 [0  ]

vgscan:

Found Volume Group "VolGroup00" using metadata type lvm2

lvscan


ACTIVE    'dev'VolGroup00/LogVol00' [20.00 Gib] inherit
ACTIVE    'dev'VolGroup00/LogVol02' [233.91 Gib] inherit
ACTIVE    'dev'VolGroup00/LogVol03' [20.00 Gib] inherit
ACTIVE    'dev'VolGroup00/LogVol01' [20.00 Gib] inherit
ACTIVE    'dev'VolGroup00/LogVol04' [4.00 Gib] inherit


I also tried to boot from the new cloned drive, while the old 
drives/RAID-1 were attached and although it booted, I believe it did so 
using the VG from the original drives as I got this:

found duplicate PV Rmjk001v4osy2kov4RnSPYcpux+ulurd: using /dev/sdb2 not 
/dev/sda2






On 4/11/2010 7:08 PM, Steven Shiau wrote:
> How about if you boot Clonezilla live on the cloned machine, then run:
> 1. sudo -i
> 2. pvscan
> 3. vgscan
> 4. lvscan
>
> Please pot the results of 2, 3, and 4.
>
> Steven.
>
> On 2010/4/9 下午 10:55, Johnny Stork wrote:
>> I have tried dd from a LIve Ubuntu disk, and now clonezilla-live to
>> create an identical image of a RAID-1 array with 2 mirrored drives, onto
>> a single SATA drive. However, both methods still cant seem to boot and
>> have trouble finding the logical volumes? Maybe I am not using Clonzilla
>> correclty, or its simply not possible. I would be so grateful if someone
>> could let me know if this is possible with clonezilla.
>>
>> Below is what I tried from the Ubuntu Live disk but I also tried with
>> Clonezilla following the onscreen prompts.
>>
>> Niether method seems to be able to find the local volume/groups at boot.
>>
>>
>>
>> I have a CentOS 5.4 server with a 3ware 9500 SATA Raid card with 2x320
>> gb drives as RAID-1.
>>
>> Setup included logical volumes, physical drive is seen as /dev/sda
>>
>> This is what fdisk sees:
>>
>> r...@gateway:~# fdisk -l
>>
>> Disk /dev/sda: 319.9 GB, 319988695040 bytes
>> 255 heads, 63 sectors/track, 38903 cylinders
>> Units = cylinders of 16065 * 512 = 8225280 bytes
>>
>>      Device Boot      Start         End      Blocks   Id  System
>> /dev/sda1   *           1          13      104391   83  Linux
>> /dev/sda2              14       38903   312383925   8e  Linux LVM
>>
>>
>>
>> What I am trying to do is remove the 3ware RAID and run the system off a
>> single 320gb SATA drive which is attached.
>>
>>
>> So I plugged in a basic SiL Raid card with a single 320gb drive
>>
>> Booted Ubuntu Live  and old RAID-1 array on the 3ware card is seen as
>> /dev./sdb
>>
>> The new, single 320gb drive seen as /dev/sda
>>
>>   From a terminal I ran
>>
>> dd if=/dev/sdb of=/dev/sda
>>
>> copy finished with no errors
>>
>> Unplugged the 2x320gb drives on the 3ware controller
>>
>> Booted system, grub loaded (giving me so much false hope)
>>
>> then, the boot failed at...
>>
>> Volume group "VolGroup00" not found
>> unable to access resume device (/dev/VolGroup00/LogVol04)
>> Mount: could not find filesystem '/devroot'
>>
>>
>> So the problem seems to be that the LVM's are not seen?
>>
>> Is there another, or better way to make a compelte, and working mirror
>> of a drive containing logical volumes?
>>
>>
>> When I reboot back in the working system, with the RAID on the 3ware
>> card, this is what both drives now look like to fdisk.
>>
>> r...@gateway:~# fdisk -l
>>
>> Disk /dev/sda: 319.9 GB, 319988695040 bytes (3ware working RAID)
>> 255 heads, 63 sectors/track, 38903 cylinders
>> Units = cylinders of 16065 * 512 = 8225280 bytes
>>
>>      Device Boot      Start         End      Blocks   Id  System
>> /dev/sda1   *           1          13      104391   83  Linux
>> /dev/sda2              14       38903   312383925   8e  Linux LVM
>>
>> Disk /dev/sdb: 320.0 GB, 320072933376 bytes (Non-booting single drive on
>> Sil card)
>> 255 heads, 63 sectors/track, 38913 cylinders
>> Units = cylinders of 16065 * 512 = 8225280 bytes
>>
>>      Device Boot      Start         End      Blocks   Id  System
>> /dev/sdb1   *           1          13      104391   83  Linux
>> /dev/sdb2              14       38903   312383925   8e  Linux LVM
>>
>


-- 

Johnny Stork



------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Clonezilla-live mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clonezilla-live

Reply via email to