Comments? HowTos/CentOS5ConvertToRAID

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

 



On 05/12/2009 11:11 PM, Phil Schaffner wrote:
> Ed Heron wrote:
>   
>>   Has anybody had a chance to look at this?
>>     
>
> Moving it up on my to-do list...
>
> When cloning the root partition need to add "H" to the rsync flags to 
> preserve hard links.  Don't think /boot uses hard links, but wouldn't 
> hurt to use it there also.  An often-recommended alternative is to use tar:
>
> tar -C /mnt/boot.old -cf - . | tar -C /mnt/boot.new -xf -
> tar -C /mnt/root.old -cf - . | tar -C /mnt/root.new -xf -
>
> Probably a matter of preference.
>   

    find /path/to/source -xdev -print0 | cpio -pa0V /path/to/destination
is also an alternate option... but I prefer rsync usually





[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Users]     [CentOS Virtualization]     [Linux Media]     [Asterisk]     [Netdev]     [X.org]     [Xfree86]     [Linux USB]     [Project Hail Cloud Computing]

  Powered by Linux