clonezilla-live Mailing List for Clonezilla (Page 38)
A partition and disk imaging/cloning program
Brought to you by:
steven_shiau
You can subscribe to this list here.
2007 |
Jan
|
Feb
|
Mar
(3) |
Apr
(5) |
May
(13) |
Jun
(6) |
Jul
(5) |
Aug
|
Sep
(12) |
Oct
(8) |
Nov
(9) |
Dec
(4) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2008 |
Jan
(9) |
Feb
(5) |
Mar
(16) |
Apr
(10) |
May
(2) |
Jun
(4) |
Jul
(22) |
Aug
(26) |
Sep
(8) |
Oct
(33) |
Nov
(25) |
Dec
(13) |
2009 |
Jan
(54) |
Feb
(65) |
Mar
(15) |
Apr
(12) |
May
(29) |
Jun
(46) |
Jul
(23) |
Aug
(71) |
Sep
(22) |
Oct
(13) |
Nov
(16) |
Dec
(65) |
2010 |
Jan
(18) |
Feb
(22) |
Mar
(26) |
Apr
(82) |
May
(36) |
Jun
(45) |
Jul
(40) |
Aug
(6) |
Sep
(44) |
Oct
(33) |
Nov
(8) |
Dec
(38) |
2011 |
Jan
(16) |
Feb
(13) |
Mar
(19) |
Apr
(27) |
May
(37) |
Jun
(14) |
Jul
(4) |
Aug
(2) |
Sep
(13) |
Oct
(5) |
Nov
(6) |
Dec
(6) |
2012 |
Jan
(6) |
Feb
(1) |
Mar
(36) |
Apr
(13) |
May
(4) |
Jun
(4) |
Jul
|
Aug
|
Sep
|
Oct
(5) |
Nov
(5) |
Dec
(4) |
2013 |
Jan
(7) |
Feb
(6) |
Mar
(3) |
Apr
(5) |
May
(1) |
Jun
(8) |
Jul
(5) |
Aug
(3) |
Sep
|
Oct
(1) |
Nov
(2) |
Dec
|
2014 |
Jan
(12) |
Feb
(10) |
Mar
|
Apr
(2) |
May
(3) |
Jun
|
Jul
(1) |
Aug
(8) |
Sep
(1) |
Oct
(1) |
Nov
(2) |
Dec
(2) |
2015 |
Jan
(13) |
Feb
(6) |
Mar
(2) |
Apr
(4) |
May
(15) |
Jun
(6) |
Jul
(20) |
Aug
(2) |
Sep
(1) |
Oct
(2) |
Nov
(4) |
Dec
(1) |
2016 |
Jan
|
Feb
(2) |
Mar
|
Apr
(7) |
May
(1) |
Jun
(12) |
Jul
(1) |
Aug
|
Sep
|
Oct
(1) |
Nov
(6) |
Dec
|
2017 |
Jan
|
Feb
(1) |
Mar
(4) |
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
|
Mar
(15) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
(5) |
Sep
(2) |
Oct
(6) |
Nov
(4) |
Dec
(4) |
2019 |
Jan
(1) |
Feb
(1) |
Mar
(1) |
Apr
(1) |
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
(1) |
Oct
(1) |
Nov
|
Dec
|
2020 |
Jan
|
Feb
(2) |
Mar
(5) |
Apr
(1) |
May
(3) |
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
(11) |
Dec
(2) |
2021 |
Jan
(2) |
Feb
|
Mar
(5) |
Apr
(2) |
May
|
Jun
|
Jul
(2) |
Aug
(4) |
Sep
|
Oct
|
Nov
|
Dec
|
2022 |
Jan
|
Feb
|
Mar
|
Apr
(4) |
May
(16) |
Jun
(3) |
Jul
(6) |
Aug
(13) |
Sep
|
Oct
|
Nov
(2) |
Dec
(1) |
2023 |
Jan
|
Feb
(1) |
Mar
|
Apr
(4) |
May
(6) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(7) |
Nov
(9) |
Dec
(2) |
2024 |
Jan
(8) |
Feb
(1) |
Mar
|
Apr
(9) |
May
(2) |
Jun
|
Jul
(2) |
Aug
(5) |
Sep
(7) |
Oct
(1) |
Nov
|
Dec
|
2025 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
(10) |
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
(7) |
Nov
|
Dec
|
From: Steven S. <st...@nc...> - 2010-04-14 13:45:10
|
Jorge Fábregas wrote: > On Wednesday 14 April 2010 04:33:36 Steven Shiau wrote: > >> Yes, Thomas Tsai is working on the improvement of partclone. >> > > Thanks Steven. And the "Calculating Bitmap" step...What is this step actually > doing? > > Partclone need to know where the used blocks are in the partition, so first it searches them. BTW, which version of Clonezilla live are you using? Did you try 1.2.5-1? Steven. > Best regards, > Jorge > > ------------------------------------------------------------------------------ > 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 > Clo...@li... > 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 |
From: Steven S. <st...@nc...> - 2010-04-14 13:42:34
|
Lukas Grässlin wrote: > These are results I got from testing today. (Cant tell you why gprof now > lists all the strcmp, strlen etc functions. In my first test it only > showed me the functions from partclone itself, however) > > (normally the crc32 function would be on the top but i commented its > functionallity out for testing) > > > > 0.00 0.73 0.00 690183 0.00 0.00 log_mesg > 0.00 0.73 0.00 131073 0.00 0.00 Ncurses_progress_update > 0.00 0.73 0.00 131073 0.00 0.00 calculate_speed > 0.00 0.73 0.00 131073 0.00 0.00 update_pui > > > > 2.94 0.55 0.02 1036528 0.00 0.00 log_mesg > 0.00 0.68 0.00 262146 0.00 0.00 progress_update > 0.00 0.68 0.00 262146 0.00 0.00 update_pui > > > As you can see these functions are called very often which affects (at > least on my machines) in very high cpu load. > > There is an option "-f" of partclone which you might be interested to give it try. You can tune it to see if any difference. BTW, maybe you can also give Clonezilla live 1.2.2-14 a try? It's partclone is older, and we might have a regression somewhere... Please let us know the results. Thanks. Regards, Steven. > On 14.04.2010 10:33, Steven Shiau wrote: > >> Yes, Thomas Tsai is working on the improvement of partclone. >> >> Lukas, >> Please send us gprof results you have. >> Thanks. >> >> Steven. >> >> On 2010/4/14 下午 02:43, Lukas Grässlin wrote: >> >>> Regarding the perfmance of partclone: Look at the "on-the-fly >>> performance" Thread in this mailing list. >>> >>> Partclone does some odd things which slow down the speed. You can >>> improve this by saying not to use the gui. (I think this is in the >>> expert options). But it stills does stupid things, like calculating the >>> speed too often which resultes in high cpu load. >>> >>> Regards, >>> Lukas >>> >>> On 14.04.2010 06:39, Jorge Fábregas wrote: >>> >>>> Hello Steven, >>>> >>>> I've been using Clonezilla happily for more than 2 years and I always used the >>>> custom options and specifically partimage as the cloning tool. Since partimage >>>> seems to be a dead project (and no support for ext4) and considering that >>>> Clonezilla uses partclone as the default option I decided to use this. >>>> >>>> My observation was that partclone takes some more time. When it started >>>> saving the partition, I wasn't sure what it was doing. There was some >>>> progress indicator (percentage) (Generating bitmap..) and I after that it >>>> started again another progress indicator (I guess the actual creation of the >>>> image). I'm a bit confused about these 2 steps as soon as partclone starts. >>>> Any tip will be appreciated. (just curious). >>>> >>>> Thanks for Clonezillla. >>>> >>>> Best regards, >>>> Jorge >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> 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 >>>> Clo...@li... >>>> 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 |
From: Jorge F. <jor...@gm...> - 2010-04-14 13:03:08
|
On Wednesday 14 April 2010 04:33:36 Steven Shiau wrote: > Yes, Thomas Tsai is working on the improvement of partclone. Thanks Steven. And the "Calculating Bitmap" step...What is this step actually doing? Best regards, Jorge |
From: Jorge F. <jor...@gm...> - 2010-04-14 12:49:20
|
On Wednesday 14 April 2010 02:43:20 Lukas Grässlin wrote: > Regarding the performance of partclone: Look at the "on-the-fly > performance" Thread in this mailing list. Thanks for the tip Lukas. Indeed, an interesting thread. Exactly what I wanted to know since I almost experienced the same throughput as you did (compared to partimage). > Partclone does some odd things which slow down the speed. You can > improve this by saying not to use the gui. (I think this is in the > expert options). But it stills does stupid things, like calculating the > speed too often which resultes in high cpu load. I'll try the nogui option next time then. Thanks! Best regards, Jorge |
From: Lukas G. <luk...@co...> - 2010-04-14 09:33:15
|
And another one: On 14.04.2010 10:33, Steven Shiau wrote: > Yes, Thomas Tsai is working on the improvement of partclone. > > Lukas, > Please send us gprof results you have. > Thanks. > > Steven. > > On 2010/4/14 下午 02:43, Lukas Grässlin wrote: >> Regarding the perfmance of partclone: Look at the "on-the-fly >> performance" Thread in this mailing list. >> >> Partclone does some odd things which slow down the speed. You can >> improve this by saying not to use the gui. (I think this is in the >> expert options). But it stills does stupid things, like calculating the >> speed too often which resultes in high cpu load. >> >> Regards, >> Lukas >> >> On 14.04.2010 06:39, Jorge Fábregas wrote: >>> Hello Steven, >>> >>> I've been using Clonezilla happily for more than 2 years and I always used the >>> custom options and specifically partimage as the cloning tool. Since partimage >>> seems to be a dead project (and no support for ext4) and considering that >>> Clonezilla uses partclone as the default option I decided to use this. >>> >>> My observation was that partclone takes some more time. When it started >>> saving the partition, I wasn't sure what it was doing. There was some >>> progress indicator (percentage) (Generating bitmap..) and I after that it >>> started again another progress indicator (I guess the actual creation of the >>> image). I'm a bit confused about these 2 steps as soon as partclone starts. >>> Any tip will be appreciated. (just curious). >>> >>> Thanks for Clonezillla. >>> >>> Best regards, >>> Jorge >>> >>> >>> ------------------------------------------------------------------------------ >>> 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 >>> Clo...@li... >>> https://lists.sourceforge.net/lists/listinfo/clonezilla-live >> >> > -- Lukas Grässlin Collax GmbH . Basler Str. 115a . 79115 Freiburg . Germany p: +49 (0) 89-990 157-23 Collax - Simply Linux. Geschäftsführer: Boris Nalbach AG München HRB 158898 * Ust.-IdNr: DE 814464942 |
From: Steven S. <st...@nc...> - 2010-04-14 08:33:53
|
Yes, Thomas Tsai is working on the improvement of partclone. Lukas, Please send us gprof results you have. Thanks. Steven. On 2010/4/14 下午 02:43, Lukas Grässlin wrote: > Regarding the perfmance of partclone: Look at the "on-the-fly > performance" Thread in this mailing list. > > Partclone does some odd things which slow down the speed. You can > improve this by saying not to use the gui. (I think this is in the > expert options). But it stills does stupid things, like calculating the > speed too often which resultes in high cpu load. > > Regards, > Lukas > > On 14.04.2010 06:39, Jorge Fábregas wrote: >> Hello Steven, >> >> I've been using Clonezilla happily for more than 2 years and I always used the >> custom options and specifically partimage as the cloning tool. Since partimage >> seems to be a dead project (and no support for ext4) and considering that >> Clonezilla uses partclone as the default option I decided to use this. >> >> My observation was that partclone takes some more time. When it started >> saving the partition, I wasn't sure what it was doing. There was some >> progress indicator (percentage) (Generating bitmap..) and I after that it >> started again another progress indicator (I guess the actual creation of the >> image). I'm a bit confused about these 2 steps as soon as partclone starts. >> Any tip will be appreciated. (just curious). >> >> Thanks for Clonezillla. >> >> Best regards, >> Jorge >> >> >> ------------------------------------------------------------------------------ >> 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 >> Clo...@li... >> 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 |
From: Lukas G. <luk...@co...> - 2010-04-14 06:42:00
|
Regarding the perfmance of partclone: Look at the "on-the-fly performance" Thread in this mailing list. Partclone does some odd things which slow down the speed. You can improve this by saying not to use the gui. (I think this is in the expert options). But it stills does stupid things, like calculating the speed too often which resultes in high cpu load. Regards, Lukas On 14.04.2010 06:39, Jorge Fábregas wrote: > Hello Steven, > > I've been using Clonezilla happily for more than 2 years and I always used the > custom options and specifically partimage as the cloning tool. Since partimage > seems to be a dead project (and no support for ext4) and considering that > Clonezilla uses partclone as the default option I decided to use this. > > My observation was that partclone takes some more time. When it started > saving the partition, I wasn't sure what it was doing. There was some > progress indicator (percentage) (Generating bitmap..) and I after that it > started again another progress indicator (I guess the actual creation of the > image). I'm a bit confused about these 2 steps as soon as partclone starts. > Any tip will be appreciated. (just curious). > > Thanks for Clonezillla. > > Best regards, > Jorge > > > ------------------------------------------------------------------------------ > 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 > Clo...@li... > https://lists.sourceforge.net/lists/listinfo/clonezilla-live -- Lukas Grässlin Collax GmbH . Basler Str. 115a . 79115 Freiburg . Germany p: +49 (0) 89-990 157-23 Collax - Simply Linux. Geschäftsführer: Boris Nalbach AG München HRB 158898 * Ust.-IdNr: DE 814464942 |
From: Jorge F. <jor...@gm...> - 2010-04-14 04:40:34
|
Hello Steven, I've been using Clonezilla happily for more than 2 years and I always used the custom options and specifically partimage as the cloning tool. Since partimage seems to be a dead project (and no support for ext4) and considering that Clonezilla uses partclone as the default option I decided to use this. My observation was that partclone takes some more time. When it started saving the partition, I wasn't sure what it was doing. There was some progress indicator (percentage) (Generating bitmap..) and I after that it started again another progress indicator (I guess the actual creation of the image). I'm a bit confused about these 2 steps as soon as partclone starts. Any tip will be appreciated. (just curious). Thanks for Clonezillla. Best regards, Jorge |
From: Johnny S. <li...@op...> - 2010-04-12 15:40:10
|
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: >> >> root@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. >> >> root@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 |
From: Lukas G. <luk...@co...> - 2010-04-12 13:40:16
|
I have news! I had too much time ;) so I recompiled partclone for profiling with gprof. The terrifying result: partclone wastes almost 90% of the time with logging, calculating the speed and updating the gui. (the crc checks need as well some time). (for example it does such bad things like trying to refresh the gui for EACH block, which is toooo much ;) ) I'll give you the complete gprof results later. I'am atm buzy with testing. I removed for testing just for fun all functions which needed much time as per gprof and OH WONDER, the speed growed from 5-6 MB/s to 20-35 MB/s. On 12.04.2010 03:39, Steven Shiau wrote: > > > On 2010/4/9 下午 03:50, Lukas Grässlin wrote: >> On 31.03.2010 11:10, Steven Shiau wrote: >>> Right now I do not have real machines which I can test. Therefore I can >>> not give you the numbers. >>> If anyone on this forum has such numbers to share, please share that. >>> >>> BTW, there is a performance improvement in partclone 0.2.8, and it's now >>> included in clonezilla live 20100330-karmic. Could you please give it a >>> try? To see if any big difference. >>> Please let us know the results if you try that. >> >> So, I tried the 20100330 clonezilla ISO and the results with the speed >> are the same. I think the main reason for that bad speed is, that on the >> client side (the vm, where the physical machine is migrated to) the >> partclone.restore process procudes almost 100% CPU load. (It's s a vm >> with two cores, but it only uses one). >> I think that is the main bottleneck. > What's the memory size you have on the vm? > > Steven. >> >>> >>> Regards, >>> Steven. >>> >>> On 2010/3/29 下午 11:31, Lukas Grässlin wrote: >>>> Both SATA Disks, the destination is a virtual machine but I did some >>>> IO-Performance tests with dd on the virtual machine. It is definitely >>>> able to write and read with more than 20MB/s. (I did dd if=/dev/sda >>>> of=/dev/zero bs=100M count=10 etc.) >>>> >>>> The network can't really limit the speed, so I don't know what is >>>> could be. >>>> >>>> What's your experience with the speed? Is it faster? >>>> >>>> I'll do some tests on my own with dd and netcat or so. >>>> >>>> ((sorry, forgot to click the reply-all button ;) )) >>>> >>>> >>>> On 29.03.2010 16:26, Steven Shiau wrote: >>>>> How about the speed when you save the image? >>>>> What's the disk types in the source and destination machines? SATA? >>>>> PATA? USB? Or? >>>>> >>>>> Steven. >>>>> >>>>> Lukas Grässlin wrote: >>>>>> Hi, >>>>>> >>>>>> whats's you experience with the onthefly migration (that partclone >>>>>> over >>>>>> netcat thing) especially perfomance? >>>>>> >>>>>> I never get more than ~300MB/min (=~ 5MB/s) in a Gigabit network >>>>>> which >>>>>> is very dissappoiting. I already tried it without compression etc >>>>>> but I >>>>>> didn't get more speed. (Further the machines are fast enough to do it >>>>>> faster than 5MB/s with compression). >>>>>> >>>>>> Is that a partclone issue? Have you any ideas? >>>>>> >>>>>> Regards, >>>>>> Lukas >>>>>> >>>>>> >>>>> >>>> >>>> >>> >> >> > -- Lukas Grässlin Collax GmbH . Basler Str. 115a . 79115 Freiburg . Germany p: +49 (0) 89-990 157-23 Collax - Simply Linux. Geschäftsführer: Boris Nalbach AG München HRB 158898 * Ust.-IdNr: DE 814464942 |
From: Lukas G. <luk...@co...> - 2010-04-12 07:04:40
|
On 12.04.2010 03:39, Steven Shiau wrote: > > > On 2010/4/9 下午 03:50, Lukas Grässlin wrote: >> On 31.03.2010 11:10, Steven Shiau wrote: >>> Right now I do not have real machines which I can test. Therefore I can >>> not give you the numbers. >>> If anyone on this forum has such numbers to share, please share that. >>> >>> BTW, there is a performance improvement in partclone 0.2.8, and it's now >>> included in clonezilla live 20100330-karmic. Could you please give it a >>> try? To see if any big difference. >>> Please let us know the results if you try that. >> >> So, I tried the 20100330 clonezilla ISO and the results with the speed >> are the same. I think the main reason for that bad speed is, that on the >> client side (the vm, where the physical machine is migrated to) the >> partclone.restore process procudes almost 100% CPU load. (It's s a vm >> with two cores, but it only uses one). >> I think that is the main bottleneck. > What's the memory size you have on the vm? 1 GB, but I can't remember how much was used. I will do a retest. > > Steven. >> >>> >>> Regards, >>> Steven. >>> >>> On 2010/3/29 下午 11:31, Lukas Grässlin wrote: >>>> Both SATA Disks, the destination is a virtual machine but I did some >>>> IO-Performance tests with dd on the virtual machine. It is definitely >>>> able to write and read with more than 20MB/s. (I did dd if=/dev/sda >>>> of=/dev/zero bs=100M count=10 etc.) >>>> >>>> The network can't really limit the speed, so I don't know what is >>>> could be. >>>> >>>> What's your experience with the speed? Is it faster? >>>> >>>> I'll do some tests on my own with dd and netcat or so. >>>> >>>> ((sorry, forgot to click the reply-all button ;) )) >>>> >>>> >>>> On 29.03.2010 16:26, Steven Shiau wrote: >>>>> How about the speed when you save the image? >>>>> What's the disk types in the source and destination machines? SATA? >>>>> PATA? USB? Or? >>>>> >>>>> Steven. >>>>> >>>>> Lukas Grässlin wrote: >>>>>> Hi, >>>>>> >>>>>> whats's you experience with the onthefly migration (that partclone >>>>>> over >>>>>> netcat thing) especially perfomance? >>>>>> >>>>>> I never get more than ~300MB/min (=~ 5MB/s) in a Gigabit network >>>>>> which >>>>>> is very dissappoiting. I already tried it without compression etc >>>>>> but I >>>>>> didn't get more speed. (Further the machines are fast enough to do it >>>>>> faster than 5MB/s with compression). >>>>>> >>>>>> Is that a partclone issue? Have you any ideas? >>>>>> >>>>>> Regards, >>>>>> Lukas >>>>>> >>>>>> >>>>> >>>> >>>> >>> >> >> > -- Lukas Grässlin Collax GmbH . Basler Str. 115a . 79115 Freiburg . Germany p: +49 (0) 89-990 157-23 Collax - Simply Linux. Geschäftsführer: Boris Nalbach AG München HRB 158898 * Ust.-IdNr: DE 814464942 |
From: Steven S. <st...@nc...> - 2010-04-12 02:22:02
|
Hi, THe bnx2 card need non-free software, so you have to use alternative (ubuntu-based) Clonezilla live, e.g. 20100330-karmic. Ref: http://drbl.sourceforge.net/faq/fine-print.php?path=./2_System/57_why_ubuntu_based_clonezilla_live.faq#57_why_ubuntu_based_clonezilla_live.faq Steven. On 2010/4/10 上午 01:35, Robert Hartman wrote: > I love Clonezilla but can't seem to get it to work with some new R610s. > > Network interfaces are not available. > > I'm using clonezilla-live-1.2.5-1-686. > > During bootup I get the following error: > > Broadcom NetXtreme II Gigabit Ethernet Driver bnx2 v2.0.2 (Aug 21, 2009) > 000:01:00.0: PCI INT A -> GSI 36 (level, low) -> IRQ 36 > 000:01:00.0 firmware: requesting bnx2/bnx2-mips-09-5.0.0.j3.gw > Can't load firmware file "bnx2/bnx2-mips-09-5.0.0.j3.gw" > > Rob > > ------------------------------------------------------------------------------ > 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 > Clo...@li... > 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 |
From: Steven S. <st...@nc...> - 2010-04-12 02:11:37
|
You can try to enter expert mode, check "-k1" option: http://clonezilla.org/clonezilla-live/doc/02_Restore_disk_image/advanced/09-advanced-param.php Then clonezilla will try to create a proportionally partition table for you. If you want to manually resize that, after you have restored the image, you can use GParted live (http://gparted.sf.net) to enlarge that. Steven. On 2010/4/9 下午 11:58, RSCL Mumbai wrote: > Hello List, > > Can I restore an image of 160GB HDD to a new 250 GB HDD ? > > If yes, I assume I will have to format & allocate the remaining extra > space to one of the existing partitions, correct ? > How can I do this ? > > I am no an expert at linux, but I am able to manage my ways using google. > > Thx in advance. > > Best regards, > Vai > > > > ------------------------------------------------------------------------------ > 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 > Clo...@li... > 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 |
From: Steven S. <st...@nc...> - 2010-04-12 02:08:34
|
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: > > root@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. > > root@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 |
From: Steven S. <st...@nc...> - 2010-04-12 01:49:22
|
If's possible you can modify the variable "S2S_CLONE_PROG_IN_OCS_ONTHEFLY" in "/opt/drbl/sbin/ocs-onthefly". However, you might encounter some problem if the file system is not supported by partimage. Steven. On 2010/4/9 下午 05:42, Lukas Grässlin wrote: > Hi there, > > is there somewhere an option to force use partclone.dd or dd instead of > partclone.foobarfs? I didn't find an easy way to force use it. Same > question for using partimage for on-the-fly-migration..? > > Regards, > Lukas > -- 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 |
From: Steven S. <st...@nc...> - 2010-04-12 01:40:59
|
On 2010/4/9 下午 09:00, Lukas Grässlin wrote: > On 09.04.2010 09:50, Lukas Grässlin wrote: >> On 31.03.2010 11:10, Steven Shiau wrote: >>> Right now I do not have real machines which I can test. Therefore I can >>> not give you the numbers. >>> If anyone on this forum has such numbers to share, please share that. >>> >>> BTW, there is a performance improvement in partclone 0.2.8, and it's now >>> included in clonezilla live 20100330-karmic. Could you please give it a >>> try? To see if any big difference. >>> Please let us know the results if you try that. >> >> So, I tried the 20100330 clonezilla ISO and the results with the speed >> are the same. I think the main reason for that bad speed is, that on the >> client side (the vm, where the physical machine is migrated to) the >> partclone.restore process procudes almost 100% CPU load. (It's s a vm >> with two cores, but it only uses one). >> I think that is the main bottleneck. > > Ok, I found out how to use partimage instead of partclone ;) and it is > _much_ faster. It transfers ca 1 - 1.5 GB/min, 17 - 25 MB/s which is > much faster than partclone in my case. > > Why is partclone per default prefered? Cause it supports more filesystems? Yes, that's one of the reason. Another one is partclone does CRC check for the image. Maybe it's due to partclone need more memory space, and your VM's RAM size happens to be in the critical point... Steven. > >> >>> >>> Regards, >>> Steven. >>> >>> On 2010/3/29 下午 11:31, Lukas Grässlin wrote: >>>> Both SATA Disks, the destination is a virtual machine but I did some >>>> IO-Performance tests with dd on the virtual machine. It is definitely >>>> able to write and read with more than 20MB/s. (I did dd if=/dev/sda >>>> of=/dev/zero bs=100M count=10 etc.) >>>> >>>> The network can't really limit the speed, so I don't know what is >>>> could be. >>>> >>>> What's your experience with the speed? Is it faster? >>>> >>>> I'll do some tests on my own with dd and netcat or so. >>>> >>>> ((sorry, forgot to click the reply-all button ;) )) >>>> >>>> >>>> On 29.03.2010 16:26, Steven Shiau wrote: >>>>> How about the speed when you save the image? >>>>> What's the disk types in the source and destination machines? SATA? >>>>> PATA? USB? Or? >>>>> >>>>> Steven. >>>>> >>>>> Lukas Grässlin wrote: >>>>>> Hi, >>>>>> >>>>>> whats's you experience with the onthefly migration (that partclone over >>>>>> netcat thing) especially perfomance? >>>>>> >>>>>> I never get more than ~300MB/min (=~ 5MB/s) in a Gigabit network which >>>>>> is very dissappoiting. I already tried it without compression etc but I >>>>>> didn't get more speed. (Further the machines are fast enough to do it >>>>>> faster than 5MB/s with compression). >>>>>> >>>>>> Is that a partclone issue? Have you any ideas? >>>>>> >>>>>> Regards, >>>>>> Lukas >>>>>> >>>>>> >>>>> >>>> >>>> >>> >> >> > > -- 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 |
From: Steven S. <st...@nc...> - 2010-04-12 01:39:16
|
On 2010/4/9 下午 03:50, Lukas Grässlin wrote: > On 31.03.2010 11:10, Steven Shiau wrote: >> Right now I do not have real machines which I can test. Therefore I can >> not give you the numbers. >> If anyone on this forum has such numbers to share, please share that. >> >> BTW, there is a performance improvement in partclone 0.2.8, and it's now >> included in clonezilla live 20100330-karmic. Could you please give it a >> try? To see if any big difference. >> Please let us know the results if you try that. > > So, I tried the 20100330 clonezilla ISO and the results with the speed > are the same. I think the main reason for that bad speed is, that on the > client side (the vm, where the physical machine is migrated to) the > partclone.restore process procudes almost 100% CPU load. (It's s a vm > with two cores, but it only uses one). > I think that is the main bottleneck. What's the memory size you have on the vm? Steven. > >> >> Regards, >> Steven. >> >> On 2010/3/29 下午 11:31, Lukas Grässlin wrote: >>> Both SATA Disks, the destination is a virtual machine but I did some >>> IO-Performance tests with dd on the virtual machine. It is definitely >>> able to write and read with more than 20MB/s. (I did dd if=/dev/sda >>> of=/dev/zero bs=100M count=10 etc.) >>> >>> The network can't really limit the speed, so I don't know what is >>> could be. >>> >>> What's your experience with the speed? Is it faster? >>> >>> I'll do some tests on my own with dd and netcat or so. >>> >>> ((sorry, forgot to click the reply-all button ;) )) >>> >>> >>> On 29.03.2010 16:26, Steven Shiau wrote: >>>> How about the speed when you save the image? >>>> What's the disk types in the source and destination machines? SATA? >>>> PATA? USB? Or? >>>> >>>> Steven. >>>> >>>> Lukas Grässlin wrote: >>>>> Hi, >>>>> >>>>> whats's you experience with the onthefly migration (that partclone over >>>>> netcat thing) especially perfomance? >>>>> >>>>> I never get more than ~300MB/min (=~ 5MB/s) in a Gigabit network which >>>>> is very dissappoiting. I already tried it without compression etc but I >>>>> didn't get more speed. (Further the machines are fast enough to do it >>>>> faster than 5MB/s with compression). >>>>> >>>>> Is that a partclone issue? Have you any ideas? >>>>> >>>>> Regards, >>>>> Lukas >>>>> >>>>> >>>> >>> >>> >> > > -- 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 |
From: Dale S. <ml...@ri...> - 2010-04-09 20:10:53
|
[Most previous thread content excised because of its length.] On Fri, Apr 09, 2010 at 11:47:59PM +0530, RSCL Mumbai wrote: > Thx Dale. This is exactly what I was looking for. > I have many times tried changing ifcfg-eth0 file, but always found the OS > to still create a new interface. > Thx. I will try this first thing Monday morning and post my results. > > I have 2 servers, surprisingly one of the server has the file > 70-persistent-net.rules, and one does not. > > [root@v4 ~]# cat /etc/redhat-release > Fedora release 9 (Sulphur) > [root@v4 ~]# cat /etc/udev/rules.d/70-persistent-net.rules > > # This file was automatically generated by the /lib/udev/write_net_rules > # program run by the persistent-net-generator.rules rules file. > # > # You can modify it, as long as you keep each rule on a single line. > > # Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit > Ethernet controller (rule written by anaconda) > SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", > ATTR{address}=="00:19:d1:a6:fa:d3", ATTR{type}=="1", KERNEL=="eth*", > NAME="eth0" > > # PCI device 0x1106:0x3106 (via-rhine) > SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", > ATTR{address}=="00:22:b0:61:22:52", ATTR{type}=="1", KERNEL=="eth*", > NAME="eth1" > > # PCI device 0x10ec:0x8168 (r8169) > SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", > ATTR{address}=="00:19:d1:a6:f2:75", ATTR{type}=="1", KERNEL=="eth*", > NAME="eth2" > [root@v4 ~]# > > [root@v44 rules.d]# cat /etc/redhat-release > CentOS release 5.3 (Final) > [root@v44 rules.d]# cat /etc/udev/rules.d/ > 05-udev-early.rules 50-udev.rules 60-net.rules > 60-raw.rules 90-alsa.rules 90-hal.rules > 98-kexec.rules > 40-multipath.rules 51-hotplug.rules 60-pcmcia.rules > 85-pcscd_ccid.rules 90-dm.rules 95-pam-console.rules > bluetooth.rules > [root@v44 rules.d]# ll /etc/udev/rules.d/ > total 124 > -rw-r--r-- 1 root root 515 Jan 21 2009 05-udev-early.rules > -rw-r--r-- 1 root root 920 Jan 21 2009 40-multipath.rules > -rw-r--r-- 1 root root 15647 Jan 21 2009 50-udev.rules > -rw-r--r-- 1 root root 471 Jan 21 2009 51-hotplug.rules > -rw-r--r-- 1 root root 143 Nov 13 2008 60-net.rules > -rw-r--r-- 1 root root 1088 Jan 6 2007 60-pcmcia.rules > -rw-r--r-- 1 root root 452 Jan 21 2009 60-raw.rules > -rw-r--r-- 1 root root 1823 Jan 21 2009 85-pcscd_ccid.rules > -rw-r--r-- 1 root root 114 Jan 21 2009 90-alsa.rules > -rw-r--r-- 1 root root 61 Jan 21 2009 90-dm.rules > -rw-r--r-- 1 root root 82 Jan 20 2009 90-hal.rules > -rw-r--r-- 1 root root 107 Jan 21 2009 95-pam-console.rules > -rw-r--r-- 1 root root 292 Jan 21 2009 98-kexec.rules > -rw-r--r-- 1 root root 2319 Jul 14 2008 bluetooth.rules > > Any ideas if CentOS has an alternate location or file name. > > And yes, if CloneZilla builds this feature, it will be of great help in > HDD replication for blind restoration -- I guess this is called bear-metal > restoration.... > > But well, I am more than happy with your post. > It helps be do what I have been searching since a long time. > > Cheer The bottom line, in my opinion: For Centos 5.3, only ifcfg-eth* need to be changed. For recent Fedora releases (including F9), ifcfg-eth* *and* /etc/udev/rules.d/70-persistent-net.rules will need to be changed. Details: You are running two systems, one with Centos 5.3 and one with Fedora 9. Centos 5.3's ultimate upstream was Fedora Core 6. My recent experience on this subject is with Fedora Core 5 and modern Fedora (F11/F12). Sometime between FC5 and F11, the udev scripts were significantly changed. Presumably Centos 5.3's implementation is similar to FC5 and Fedora 9 is similar to F11/F12. At the time of FC5, the udev scripts did not use /etc/udev/rules.d/70-persistent-net.rules. Rule /etc/udev/rules.d/60-net.rules would invoke /lib/udev/rename_device to maintain stable NIC naming, which if I recall correctly (from when I looked at its source) uses only HWADDR in ifcfg-* files. Therefore, your Centos 5.3 system might be OK if all you do is change the ifcfg-eth* files. For more recent Fedora, Anaconda or one of the rules: /lib/udev/rules.d/60-net.rules /lib/udev/rules.d/75-persistent-net-generator.rules will handle NIC naming. Rule /lib/udev/rules.d/60-net.rules may invoke /lib/udev/rename_device, which would use HWADDR and ifcfg-*", probably more or less as in Fedora 5. As I recall, if no HWADDR is present in ifcfg-*, then /lib/udev/rules.d/75-persistent-net-generator.rules (via /lib/udev/write_net_rules) will update /etc/udev/rules.d/70-persistent-net.rules |
From: RSCL M. <rsc...@gm...> - 2010-04-09 18:18:05
|
On Fri, Apr 9, 2010 at 11:20 PM, Dale Stimson <ml...@ri...<ml%2B...@ri...> > wrote: > On Fri, Apr 09, 2010 at 08:50:36PM +0530, RSCL Mumbai wrote: > > Hi, > > > > My concern is not directly related to Clonezilla, but generic to > > theconcept of cloning. > > > > I have a server with CentOS 5.3 and Samba. > > As a back up measure against HDD and other peripheral failure, I have > > purchased an identical PC and I plan to clone the main server and then > run > > rsync on daily basis. > > Everything seems fine in this schematic and I am fine with this backup > > approach. > > > > My concern is: > > Both the server's have identical specs sans the ethernet. > > When I will restore the image on the 2nd PC, and boot, it will alert for > a > > new ethernet device found and by default it will create a new interface > > ETH1 > > > > Is there any way to avoid creating the new ethernet device ETH1 and be > > able to use the the original ETH0. > > > > One thought which crossed my mind, but I have not tried is, after > cloning, > > I can boot the server using a live distro (may be knopix), mount the > > cloned HDD and make changes to the ETH configuration, namely MAC address > > or whatever else. Not sure what should I change, and then boot the closed > > HDD. > > > > Does this make sense ? Will it help. > > Can someone throw light on how to prevent the creation of ETH1. > > > > Thx in advance. > > > > Best regards, > > Vai > > I have encountered this issue myself. > > Speaking of Fedora, which ought to apply to CENTOS, there are > two places where the MAC address might be stored that would > need to be cleansed. These are: > > /etc/udev/rules.d/70-persistent-net.rules (more recent Fedora releases) > > /etc/sysconfig/network-scripts/ifcfg-eth0 > > If you clean those out, you should be OK with eth0. > If your system does not have /etc/udev/rules.d/70-persistent-net.rules > then file ifcfg-eth0 should be the only place that matters. > > sed -i /etc/udev/rules.d/70-persistent-net.rules -e '/rule written by/d' -e > '/^ PCI device/d' -e '/SUBSYSTEM=="net", ACTION=="add",/d' -e '/^$/d' > > sed -i /etc/sysconfig/network-scripts/ifcfg-eth0 -e '/^HWADDR/d' > > or update the HWADDR assignment to have the new MAC address. > > Because my system had multiple NICs and because I wanted reproducible > NIC naming, I wrote a script that used lspci to determine the NIC > locations in the PCI bus topology and set HWADDR appropriately in > the ifcfg-eth* files and rename the NICs. > > Now the question is: Is there a way to have clonezilla automatically > execute such a script after an image restore? > Thx Dale. This is exactly what I was looking for. I have many times tried changing ifcfg-eth0 file, but always found the OS to still create a new interface. Thx. I will try this first thing Monday morning and post my results. I have 2 servers, surprisingly one of the server has the file 70-persistent-net.rules, and one does not. *[root@v4 ~]# cat /etc/redhat-release Fedora release 9 (Sulphur) [root@v4 ~]# cat /etc/udev/rules.d/70-persistent-net.rules # This file was automatically generated by the /lib/udev/write_net_rules # program run by the persistent-net-generator.rules rules file. # # You can modify it, as long as you keep each rule on a single line. # Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rule written by anaconda) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:19:d1:a6:fa:d3", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" # PCI device 0x1106:0x3106 (via-rhine) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:22:b0:61:22:52", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1" # PCI device 0x10ec:0x8168 (r8169) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:19:d1:a6:f2:75", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2" [root@v4 ~]#* *[root@v44 rules.d]# cat /etc/redhat-release CentOS release 5.3 (Final) [root@v44 rules.d]# cat /etc/udev/rules.d/ 05-udev-early.rules 50-udev.rules 60-net.rules 60-raw.rules 90-alsa.rules 90-hal.rules 98-kexec.rules 40-multipath.rules 51-hotplug.rules 60-pcmcia.rules 85-pcscd_ccid.rules 90-dm.rules 95-pam-console.rules bluetooth.rules [root@v44 rules.d]# ll /etc/udev/rules.d/ total 124 -rw-r--r-- 1 root root 515 Jan 21 2009 05-udev-early.rules -rw-r--r-- 1 root root 920 Jan 21 2009 40-multipath.rules -rw-r--r-- 1 root root 15647 Jan 21 2009 50-udev.rules -rw-r--r-- 1 root root 471 Jan 21 2009 51-hotplug.rules -rw-r--r-- 1 root root 143 Nov 13 2008 60-net.rules -rw-r--r-- 1 root root 1088 Jan 6 2007 60-pcmcia.rules -rw-r--r-- 1 root root 452 Jan 21 2009 60-raw.rules -rw-r--r-- 1 root root 1823 Jan 21 2009 85-pcscd_ccid.rules -rw-r--r-- 1 root root 114 Jan 21 2009 90-alsa.rules -rw-r--r-- 1 root root 61 Jan 21 2009 90-dm.rules -rw-r--r-- 1 root root 82 Jan 20 2009 90-hal.rules -rw-r--r-- 1 root root 107 Jan 21 2009 95-pam-console.rules -rw-r--r-- 1 root root 292 Jan 21 2009 98-kexec.rules -rw-r--r-- 1 root root 2319 Jul 14 2008 bluetooth.rules* Any ideas if CentOS has an alternate location or file name. And yes, if CloneZilla builds this feature, it will be of great help in HDD replication for blind restoration -- I guess this is called bear-metal restoration.... But well, I am more than happy with your post. It helps be do what I have been searching since a long time. Cheer |
From: Dale S. <ml...@ri...> - 2010-04-09 18:11:46
|
On Fri, Apr 09, 2010 at 08:50:36PM +0530, RSCL Mumbai wrote: > Hi, > > My concern is not directly related to Clonezilla, but generic to > theconcept of cloning. > > I have a server with CentOS 5.3 and Samba. > As a back up measure against HDD and other peripheral failure, I have > purchased an identical PC and I plan to clone the main server and then run > rsync on daily basis. > Everything seems fine in this schematic and I am fine with this backup > approach. > > My concern is: > Both the server's have identical specs sans the ethernet. > When I will restore the image on the 2nd PC, and boot, it will alert for a > new ethernet device found and by default it will create a new interface > ETH1 > > Is there any way to avoid creating the new ethernet device ETH1 and be > able to use the the original ETH0. > > One thought which crossed my mind, but I have not tried is, after cloning, > I can boot the server using a live distro (may be knopix), mount the > cloned HDD and make changes to the ETH configuration, namely MAC address > or whatever else. Not sure what should I change, and then boot the closed > HDD. > > Does this make sense ? Will it help. > Can someone throw light on how to prevent the creation of ETH1. > > Thx in advance. > > Best regards, > Vai I have encountered this issue myself. Speaking of Fedora, which ought to apply to CENTOS, there are two places where the MAC address might be stored that would need to be cleansed. These are: /etc/udev/rules.d/70-persistent-net.rules (more recent Fedora releases) /etc/sysconfig/network-scripts/ifcfg-eth0 If you clean those out, you should be OK with eth0. If your system does not have /etc/udev/rules.d/70-persistent-net.rules then file ifcfg-eth0 should be the only place that matters. sed -i /etc/udev/rules.d/70-persistent-net.rules -e '/rule written by/d' -e '/^ PCI device/d' -e '/SUBSYSTEM=="net", ACTION=="add",/d' -e '/^$/d' sed -i /etc/sysconfig/network-scripts/ifcfg-eth0 -e '/^HWADDR/d' or update the HWADDR assignment to have the new MAC address. Because my system had multiple NICs and because I wanted reproducible NIC naming, I wrote a script that used lspci to determine the NIC locations in the PCI bus topology and set HWADDR appropriately in the ifcfg-eth* files and rename the NICs. Now the question is: Is there a way to have clonezilla automatically execute such a script after an image restore? |
From: Robert H. <rob...@gm...> - 2010-04-09 17:35:52
|
I love Clonezilla but can't seem to get it to work with some new R610s. Network interfaces are not available. I'm using clonezilla-live-1.2.5-1-686. During bootup I get the following error: Broadcom NetXtreme II Gigabit Ethernet Driver bnx2 v2.0.2 (Aug 21, 2009) 000:01:00.0: PCI INT A -> GSI 36 (level, low) -> IRQ 36 000:01:00.0 firmware: requesting bnx2/bnx2-mips-09-5.0.0.j3.gw Can't load firmware file "bnx2/bnx2-mips-09-5.0.0.j3.gw" Rob |
From: RSCL M. <rsc...@gm...> - 2010-04-09 16:00:50
|
On Fri, Apr 9, 2010 at 9:20 PM, Les Mikesell <les...@gm...> wrote: > On 4/9/2010 10:20 AM, RSCL Mumbai wrote: > > > My concern is not directly related to Clonezilla, but generic to > > theconcept of cloning. > > > > I have a server with CentOS 5.3 and Samba. > > As a back up measure against HDD and other peripheral failure, I have > > purchased an identical PC and I plan to clone the main server and then > > run rsync on daily basis. > > Everything seems fine in this schematic and I am fine with this backup > > approach. > > > > My concern is: > > Both the server's have identical specs sans the ethernet. > > When I will restore the image on the 2nd PC, and boot, it will alert for > > a *new ethernet device found* and by default it will create a new > > interface ETH1 > > > > Is there any way to avoid creating the new ethernet device ETH1 and be > > able to use the the original ETH0. > > > > One thought which crossed my mind, but I have not tried is, after > > cloning, I can boot the server using a live distro (may be knopix), > > mount the cloned HDD and make changes to the ETH configuration, namely > > MAC address or whatever else. Not sure what should I change, and then > > boot the closed HDD. > > > > Does this make sense ? Will it help. > > Can someone throw light on how to prevent the creation of ETH1. > > This isn't really a clonezilla issue - it has to do with the way that > Linux 2.6.x detects hardware in a more or less random order so even with > what you think is identical hardware, the NICs and possibly even disk > controllers may be given different names at boot/detection time. Centos > compensates for this by putting the ethernet hardware address in the > /etc/sysconfig/ifcfg-eth? files and renaming the devices to match in > some later step. I have sometimes been successful with a script that > pre-creates these files with the new mac addresses and sometimes they > just get renamed and ignored. My servers tend to have 4 to 6 NICs so > there is the additional problem of knowing ahead of time which wire will > be plugged into which NIC and I'd love to find a general solution. For > the moment the best approach might be to use a DHCP server that you can > configure to give the old IP to the new NIC, or at least have a few > spare IPs to give out so you can connect after the new server boots and > repair the damage. > > -- > Les Mikesell > les...@gm... > > Thx Les, Then I think I should stop looking around and just go ahead and manually set up the required IP address on eth1 and move on. Just that I will have to change the firewall script, but its a one time job. So I should not really bother. Thx & Cheers |
From: RSCL M. <rsc...@gm...> - 2010-04-09 15:58:35
|
Hello List, Can I restore an image of 160GB HDD to a new 250 GB HDD ? If yes, I assume I will have to format & allocate the remaining extra space to one of the existing partitions, correct ? How can I do this ? I am no an expert at linux, but I am able to manage my ways using google. Thx in advance. Best regards, Vai |
From: Les M. <les...@gm...> - 2010-04-09 15:50:58
|
On 4/9/2010 10:20 AM, RSCL Mumbai wrote: > My concern is not directly related to Clonezilla, but generic to > theconcept of cloning. > > I have a server with CentOS 5.3 and Samba. > As a back up measure against HDD and other peripheral failure, I have > purchased an identical PC and I plan to clone the main server and then > run rsync on daily basis. > Everything seems fine in this schematic and I am fine with this backup > approach. > > My concern is: > Both the server's have identical specs sans the ethernet. > When I will restore the image on the 2nd PC, and boot, it will alert for > a *new ethernet device found* and by default it will create a new > interface ETH1 > > Is there any way to avoid creating the new ethernet device ETH1 and be > able to use the the original ETH0. > > One thought which crossed my mind, but I have not tried is, after > cloning, I can boot the server using a live distro (may be knopix), > mount the cloned HDD and make changes to the ETH configuration, namely > MAC address or whatever else. Not sure what should I change, and then > boot the closed HDD. > > Does this make sense ? Will it help. > Can someone throw light on how to prevent the creation of ETH1. This isn't really a clonezilla issue - it has to do with the way that Linux 2.6.x detects hardware in a more or less random order so even with what you think is identical hardware, the NICs and possibly even disk controllers may be given different names at boot/detection time. Centos compensates for this by putting the ethernet hardware address in the /etc/sysconfig/ifcfg-eth? files and renaming the devices to match in some later step. I have sometimes been successful with a script that pre-creates these files with the new mac addresses and sometimes they just get renamed and ignored. My servers tend to have 4 to 6 NICs so there is the additional problem of knowing ahead of time which wire will be plugged into which NIC and I'd love to find a general solution. For the moment the best approach might be to use a DHCP server that you can configure to give the old IP to the new NIC, or at least have a few spare IPs to give out so you can connect after the new server boots and repair the damage. -- Les Mikesell les...@gm... |
From: Johnny S. <li...@op...> - 2010-04-09 15:33:39
|
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: root@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. root@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 Open Enterprise Solutions "Open Solutions for an Open World" Web: www.openenterprise.ca LinkedIn: http://www.linkedin.com/in/johnnystork |