Server Hang

Warren Block wblock at wonkity.com
Thu Jan 9 15:22:20 UTC 2014


On Thu, 9 Jan 2014, Olivier Nicole wrote:

>> Is it possible to take such a mirror copy of such a  hard disk so that i
>> can replace it as a hot swap. I request all of your expertise. How to do
>> hot swap?please shed some light on it.
>
> Not only it's possible, but it is really simple, just tar(1) each file
> system one at a time to the new hard disk.

But the disk must be partitioned and formatted first, and bootcode 
installed.  For the partition information, gpart's backup and restore 
commands will help.  This may also be useful, particularly the part on 
MBR: http://www.wonkity.com/~wblock/docs/html/disksetup.html

tar will work, but dump and restore will get every attribute.  This 
article talks about dump/restore with examples, and other options:
http://www.wonkity.com/~wblock/docs/html/backup.html


More information about the freebsd-questions mailing list