Clone a FBSD system with something in the likes of ghost
lokadamus at gmx.de
lokadamus at gmx.de
Sun Oct 2 20:20:52 UTC 2016
At this point there are some similar products like norton ghost. One is
The problem is always, that is can't boot, when it come from a hdd to a ssd.
and looking at goole for "clone disk"
greetings, there are more things, that can but not must help you. ;(
On 10/02/16 20:12, JD wrote:
> By clone, you mean create a new disk with identical
> content to the cloned disk? Including the boot blocks
> of the cloned disk?
> If so, dump and restore will only perform like a full backup.
> The target (copy-to) disk will not be bootable.
> If you want it bootable, then there is a simlpe procedure
> 1. Obtain a new disk with sufficient capacity as close as possible
> to size of the source disk. Not less than, though!!
> 2. dd if=</dev/..... i.e. the source disk> of=/dev/..... i.e. the new disk>
> bs=128M conv=notrunc conv=fdatasync
> When finished, without error,
> the new disk will be a bootable mirror of the original.
> On Thu, Sep 29, 2016 at 6:37 PM, Alejandro Imass <aimass at yabarana.com>
>> On Thu, Sep 29, 2016 at 1:10 AM, Warren Block <wblock at wonkity.com> wrote:
>>> On Thu, 29 Sep 2016, Robert Huff wrote:
>>>> On 9/28/2016 10:43 PM, Alejandro Imass wrote:
>>>>> I have a beautiful running server (dozens of jails and intricate
>>>>> configuration) on a single small and aging hard drive. I bought 2 new
>>>>> drives and want to migrate to a ZFS mirror.
>>>>> Pardon my ignorance but would there be a way to just copy my system
>>>>> the old drive to the new ZFS array?
>>>>> I was thinking of something like this: 1) install the two new drives
>> in the
>>>>> server and boot with old drive via an USB enclosure. 2) Create a
>>>>> ZFS array and somehow copy an identical image of my current system
>> onto the
>>>>> Am I dreaming or are there actual ways of doing this? I really don't
>>>>> to re-install and configure everything. Just want to move an identical
>>>>> of my system to the new hard drives on a ZFS mirror.
>>>> The canonical - and correct - method involves dump piped to
>> restore; there may be an example in the Handbook.
>>> I have not tried it, but I think restore(8) should work when writing to
>> a ZFS system.
>>> So dump(8) on the original UFS piped to restore(8) on ZFS, presumably in
>> a dataset or multiple datasets.
>>> After it is on ZFS, dump(8) cannot be used, but zfs send and zfs recv
>> are similar. Or rsync, or tar, or clonehd, or other things. The options
>> with them are the trick. It takes a lot to get rsync to make a serious
>> copy of a non-trivial filesystem with links and flags.
>> Thanks for your suggestions!
>> I will look into dump and restore.
>> Thanks again!
>> Alejandro Imass
>> freebsd-questions at freebsd.org mailing list
>> To unsubscribe, send any mail to "freebsd-questions-
>> unsubscribe at freebsd.org"
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions