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 > -- 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 ------------------------------------------------------------------------------ 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
