From owner-freebsd-questions@FreeBSD.ORG Mon Apr 20 12:07:26 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4AE5D1065680 for ; Mon, 20 Apr 2009 12:07:26 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-bw0-f165.google.com (mail-bw0-f165.google.com [209.85.218.165]) by mx1.freebsd.org (Postfix) with ESMTP id BCAB88FC14 for ; Mon, 20 Apr 2009 12:07:25 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: by bwz9 with SMTP id 9so1307057bwz.43 for ; Mon, 20 Apr 2009 05:07:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=s1suvnWAr5OHO2QUvcQkJi7A1P/bUxK+GtrnrqBZNRQ=; b=tYUct60twu+lHoZ6WPO74olgp07nA1qVA85P0YzWIC0IFlypAPhj9aLN0Yb/wUItuG BYCPztoMor3uADGTGqA7Rm7czRiwXbAEUKK5Ou1CcDNR0gzi22ZmOxiimSbPlGgGSu+F X9oIkzYUY8MW9tDRevTkmN9tuLER1hR+TceMo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=lEIy6JbWxhjWpU/jkdfHi1Wxced7BRUPEEF4G4TlebZIgTBo032nnKKq1hzs6AmZmn IErKay4IxFJsOfUGnk8d8NJFuLB6soz7GQeVkwqAws0xOikwGJ0IRulQMkQhSgSz0E28 QPsRYvQGUcavBkeyCeAcN4/n0dP8tD7zlxLZ8= MIME-Version: 1.0 Received: by 10.223.106.15 with SMTP id v15mr1559386fao.15.1240229243094; Mon, 20 Apr 2009 05:07:23 -0700 (PDT) In-Reply-To: References: Date: Mon, 20 Apr 2009 15:07:22 +0300 Message-ID: <991123400904200507g3bea6a6eq51c51fffcd77edd6@mail.gmail.com> From: =?UTF-8?B?T2RoaWFtYm8g44Ov44K344Oz44OI44Oz5bee?= To: Daniels Vanags Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: questions@freebsd.org Subject: Re: Dump | Restore X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Apr 2009 12:07:26 -0000 On Mon, Apr 20, 2009 at 1:31 PM, Daniels Vanags wrote: > > > Unable to successfully dump | restore over ssh. Source machine > FreeBSD 6.2, disk /dev/mirror/gm0s1a, > > target machine FreeBSD 6.2, target disk /dev/ad1s1a mounted on /mnt. > > Run dump -0aLf - / | ssh ip_address ''cd /mnt/ && cat | restore - rf > -'', dump/restore goes without any errors. dump L0af - / | ssh ip_addr '(cd /mnt; restore -rf -)' > Fstab fixed, but system failure to boot: BTX halted. You could either do bdslabel -B or use sysinstall to do the same. Only you mount the slice to /, set bootable and softupdates, then chane the mount point to /mnt before you "W" to commit. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Clothes make the man. Naked people have little or no influence on society." -- Mark Twain