Re: Disk Mirroring

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You would, however, normally do this with dd.

dd if=/dev/hda of=/dev/hdb bs=512

I also used this to image my firewall/router '/' partition coz it
is quite small and also uses a small % of the hdd: (under 650M)
 $ dd if=/dev/hda2 bs=512 | gzip > hda2.gz
Then of course to get it back:
 $ zcat hda2.gz | dd of=/dev/hda2 bs=512
Of course ensuring that the unused blocks are zerod makes gzip
work very well.

Ricky Malt said:
> You could have also treid the cat command :-) no jokes.
> if your hard drive partition requirements r same and
> your hardware is same or supported.
> like...
>
> cat /dev/hda > /dev/hdb
>
> this will mirror as it is regardless of OS.
> it worked for me.
>
> cheerz.
>
> Ng Chin Leong wrote:
>> I have successfully done the mirroring! Yes, we have to do the GRUB
>> rescue but there are still some minor tweak for the GRUB rescue. Please
>> refer to http://www.sorgonet.com/linux/grubrestore/  on the second
>> example.
>>
>> Once again, thanks to all that have helped :)
>>
>> Cheers,
>> Chin Leong
>>
>> On Fri, 2003-07-25 at 21:51, Aaron Konstam wrote:
>>
>>>On Fri, Jul 25, 2003 at 02:11:57PM +0800, Leong wrote:
>>>
>>>>Good Day,
>>>>
>>>>I have a task to install dual boot running Windows XP and RedHat 9 for
>>>>more than 100 PCs. Are there any recommendation to install dual boot in
>>>>a fast and efficient way?
>>>>
>>>>I was thinking to use Norton Ghost to mirror from a fully installed
>>>> dual
>>>>boot machine but a friend of mine told me that I will encountered boot
>>>>up problem after the mirror. Please advised.
>>>>
>>>>Thanks!
>>>>
>>>>Cheers,
>>>>CL
>>>
>>>We are just at the point of trying this. In the past Ghost was
>>>sensitive to architecture differences in the different machines. If
>>>all your machines are alike this should work but here is another
>>>problem. If you use Ghost in byte to byte copy mode what happens if
>>>one of the disks has bad blocks. If we succeed I would be glad to
>>>notify you. I would appreciate any information you could send us on
>>>your experiences with this method. Boot up problems may exist but that
>>>is what Linux rescue disks are for. You may have to run lilo or
>>>grub-install again. But since multiple machines can be done at once we
>>>have found this method useful in the past.
>>>--
>>>-------------------------------------------
>>>Aaron Konstam


-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux