From owner-freebsd-questions@freebsd.org Thu Sep 29 02:43:41 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C6AC3C0185C for ; Thu, 29 Sep 2016 02:43:41 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-ua0-x234.google.com (mail-ua0-x234.google.com [IPv6:2607:f8b0:400c:c08::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8B7B16D7 for ; Thu, 29 Sep 2016 02:43:41 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: by mail-ua0-x234.google.com with SMTP id n13so54335000uaa.3 for ; Wed, 28 Sep 2016 19:43:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yabarana-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=vPwaWr13Y/h8TwQDTCiEU5wGvFV4cCuPu8QWifpmiqQ=; b=CIhlOnXvvQ3EPucWp1kzOk0ewL50EvQ3iDWiih3skjsl+v+Ax1tjWslqD0PZz3yMim OBFzpIf6oQVTRb+Hths+OdpCflfq5lXLadyxPmPBnBRjII4jRXf3LLUIjG5LX2SR2Yz3 R34mHwS/Mt/F9oyjCW2D6+06PWUorWTra7Ds6h2yomeLbmafXCjsbTeZtwaayXVC/mFe iOVbZl0wZRLbDqPT+zyDKu4oW8IelpBLFNtucnBmtapK/CyD/OzqIf7kAmdNdsv6zBwS Awkjzkgj5cwvRqe37B4YTNbOQhB31MJ0HyFFonLNlTgGKdK4rsk9bqlQAIl6x8zUj/BB N6KQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=vPwaWr13Y/h8TwQDTCiEU5wGvFV4cCuPu8QWifpmiqQ=; b=l5WpoRmNdnOCcWtmM5FETQ9csHAGb+mc4T3BO6w9jNapJBzgTR1LgWNWr0KtUXf5fl 778TDkgFDmNeI86UBZG0zvsO3d2eSW7RCixE5/RWoni0Vv5qNraU3Bs/g8C470ocC01H K73+v+2TJnPcoZpDb+Sad1vJKMkqdebpt8EpWN5HF0tSy3dIHdpKyDzQQ9PmiMfZlnAv v+NfWvgjgINqI5ZtzHbqLykh6y3VC/0hnrjkG3rbG1+dXEWb0OY2mzkJg8e8Uf7Fms3W oQ8tJjJqCHLujfq1at0PAUV36JcW3+1F+PlqhuwhoA2R+Fgwj0B7LhiRyxOONsLU7zNX ezzA== X-Gm-Message-State: AA6/9RkKmKMZezWPvdqnwRspivcsuaZL5fgpMn3TlqXWS6xf8U2f4ehh+Is8xMPOWUfNtmZMDG3jl/GzHd4hJg== X-Received: by 10.176.5.228 with SMTP id e91mr8926754uae.120.1475117020270; Wed, 28 Sep 2016 19:43:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.139.130 with HTTP; Wed, 28 Sep 2016 19:43:39 -0700 (PDT) From: Alejandro Imass Date: Wed, 28 Sep 2016 22:43:39 -0400 Message-ID: Subject: Clone a FBSD system with something in the likes of ghost To: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Sep 2016 02:43:41 -0000 Greetings fellow daemons, I have a beautiful running server (dozens of jails and intricate configuration) on a single small and aging hard drive. I bought 2 new hard drives and want to migrate to a ZFS mirror. Pardon my ignorance but would there be a way to just copy my system from 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 booteable ZFS array and somehow copy an identical image of my current system onto the array. Am I dreaming or are there actual ways of doing this? I really don't want to re-install and configure everything. Just want to move an identical copy of my system to the new hard drives on a ZFS mirror. Any ideas greatly appreciated! TIA, Alejandro Imass