Re: Raising ftp priority?

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



hadi motamedi wrote:
> Thank you for your reply . So the only way is cloning his hard disk . 
> Am I right?

I'd consider using dump to dump each ext3fs file system, then use 
'restore' to restore each of these dumps to appropriately sized file 
systems for the new target system.   the source system should be shut 
down to single user mode, and all file systems umounted except / when 
you do this.      you can pipe the output of the dump to a ssh command 
to write the dump to drive on a remote system. for instance...

    # dump -0uv /dev/sda2 | ssh root@target -c "restore -rf -  /mnt/var"

where /dev/sda2 is the /var file system on the local system, and 
/mnt/var is the temporary home of the new disk, freshly formatted, with 
the new /usr mounted as /mnt/usr

of course, you repeat this for each file system on the source system.  
See the man pages for dump and restore.  Don't forget to install the 
grub boot loader on this new disk, then move it to the target hardware, 
which presumably is near identical to the original system.


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux