From owner-freebsd-questions@freebsd.org Thu Sep 17 05:12:21 2015 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 C3D579CE5D7 for ; Thu, 17 Sep 2015 05:12:21 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from zoom.lafn.org (zoom.lafn.org [108.92.93.123]) by mx1.freebsd.org (Postfix) with ESMTP id 8B3791E55 for ; Thu, 17 Sep 2015 05:12:21 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from [10.0.1.12] (static-71-177-216-148.lsanca.fios.verizon.net [71.177.216.148]) (authenticated bits=0) by zoom.lafn.org (8.14.7/8.14.9) with ESMTP id t8H5CIGp034124 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 16 Sep 2015 22:12:19 -0700 (PDT) (envelope-from bc979@lafn.org) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: Replacing Drive with SSD From: Doug Hardie In-Reply-To: Date: Wed, 16 Sep 2015 22:12:18 -0700 Cc: FreeBSD Questions Content-Transfer-Encoding: quoted-printable Message-Id: <84EDD30C-1F0C-4163-B32C-B95E0FD6978B@lafn.org> References: <20150829220311.c7608be1.freebsd@edvax.de> <55E45973.2050103@sneakertech.com> <55E4865B.1000104@sneakertech.com> <20150831181135.7682a810@gumby.homeunix.com> <867fnywc8i.fsf@WorkBox.Home> <08306F31-955B-4710-B20B-4F2ABE0CBA56@kraus-haus.org> <997E40C8-6C07-4621-B5D8-E0672DC4517B@lafn.org> <514A6AC5-9F42-48E2-A37C-5196E6D4DF47@lafn.org> <9B43BB2E-779C-4859-B4B5-9BE395F0254B@lafn.org> To: Warren Block X-Mailer: Apple Mail (2.2104) X-Virus-Scanned: clamav-milter 0.98 at zoom.lafn.org X-Virus-Status: Clean X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Sep 2015 05:12:22 -0000 > On 16 September 2015, at 16:09, Warren Block = wrote: >=20 > On Wed, 16 Sep 2015, Doug Hardie wrote: >=20 >>=20 >>> On 16 September 2015, at 06:38, Warren Block = wrote: >>>=20 >>> On Tue, 15 Sep 2015, Doug Hardie wrote: >>>=20 >>>>=20 >>>>> On 15 September 2015, at 07:03, Warren Block = wrote: >>>>>=20 >>>>> On Tue, 15 Sep 2015, Doug Hardie wrote: >>>>>=20 >>>>>> After spending a lot of time reading through the various = responses, I decided to use a larger SSD and use dump/restore to move = the data. However, I encountered an interesting problem which I do not = have a solution for at this time. The system will only boot a memstick = image. That works fine. I formatted the new SSD and got it all setup. = However, none of the current systems have enough space to do a dump on. = I needed to dump from the existing machine over to the new one with the = SSD. The only thing running on the SSD machine is the live file system. = Dump uses rsh/rcmd which need some files set in /root. Unfortunately = that is mounted as read only as its a memstick image. I can=92t see how = to easily get dump to dump to a remote system when you can=92t get = rsh/rcmd to login. >>>>>=20 >>>>> The live filesystem from an installer will work, although mfsBSD = is nicer. >>>>>=20 >>>>> Pipe the output from dump into an ssh session on the remote = machine that runs restore. Leaving out most of the options for clarity: >>>>>=20 >>>>> dump -f - | ssh user@remote 'cd /target && restore -rf -' >=20 >> There is an error in the dump command above. It needs a =91/=91 = before the =91|=92. >=20 > Note the "Leaving out most of the options for clarity" part. See > = http://www.wonkity.com/~wblock/docs/html/backup.html#_code_dump_code_via_s= sh >=20 > Options like -b64 can greatly increase speed. I did notice that and the -b64 would not have changed the duration. The = disks were at about 2% utilization. The bottleneck was the network = connection. It averaged 90 Mbps on a 100 Mbps link. That was the = reason it took so long. =20 Thanks for all the assistance. Its completed and the new system will go = into production later tonight.