Re: [Clonezilla-live] Clonezilla + software RAID question.
A partition and disk imaging/cloning program
Brought to you by:
steven_shiau
|
From: Steven S. <st...@nc...> - 2009-08-12 17:43:20
|
The reason Clonezilla does not is because all the device name clonezilla will look for is /dev/[hs]d[a-z], not /dev/md* Maybe we will try to support Linux software RAID in the future. Steven. albinootje wrote: > Hi, > > According to this : > http://drbl.sourceforge.net/faq/fine-print.php?path=./2_System/65_Clonezilla_support_RAID.faq > > Clonezilla does not support software RAID, but can someone provide some > more details why not ? > > If I look at my software RAID 1 setup, I can still see the separate > device file descriptors : > > # ls -la /dev/sda* > brw-rw---- 1 root disk 8, 0 2009-08-08 00:54 /dev/sda > brw-rw---- 1 root disk 8, 1 2009-08-08 00:54 /dev/sda1 > brw-rw---- 1 root disk 8, 2 2009-08-08 00:54 /dev/sda2 > brw-rw---- 1 root disk 8, 3 2009-08-08 00:54 /dev/sda3 > brw-rw---- 1 root disk 8, 4 2009-08-08 00:54 /dev/sda4 > > # cat /proc/mdstat > Personalities : [raid1] > md2 : active raid1 sda4[0] sdb4[1] > 437506112 blocks [2/2] [UU] > > md1 : active raid1 sda3[0] sdb3[1] > 48829440 blocks [2/2] [UU] > > md0 : active raid1 sda1[0] sdb1[1] > 96256 blocks [2/2] [UU] > > unused devices: <none> > > What would go wrong if I would use clonezilla to make a clone of one of > the two disks, > by pointing it to the /dev/sda (etc.), and restore it on another (new) disk, > and let the software RAID 1 sync with yet another disk later on ? > > > # time dd if=/dev/sda1 of=sda1-test count=100 bs=16k > 100+0 records in > 100+0 records out > 1638400 bytes (1.6 MB) copied, 6.52774 seconds, 251 kB/s > > real 0m6.575s > user 0m0.000s > sys 0m0.000s > > # time dd if=/dev/md0 of=md0-test count=100 bs=16k > 100+0 records in > 100+0 records out > 1638400 bytes (1.6 MB) copied, 0.0736687 seconds, 22.2 MB/s > > real 0m0.316s > user 0m0.004s > sys 0m0.008s > > # diff md0-test sda1-test > # > > .... no difference between those two test files > > TIA, > A. > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Clonezilla-live mailing list > Clo...@li... > https://lists.sourceforge.net/lists/listinfo/clonez > -- 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 |