From owner-freebsd-sparc64@FreeBSD.ORG Wed May 29 13:35:26 2013 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 4320E949 for ; Wed, 29 May 2013 13:35:26 +0000 (UTC) (envelope-from riccardo.veraldi@gmail.com) Received: from mail-ee0-f52.google.com (mail-ee0-f52.google.com [74.125.83.52]) by mx1.freebsd.org (Postfix) with ESMTP id D0358EC3 for ; Wed, 29 May 2013 13:35:25 +0000 (UTC) Received: by mail-ee0-f52.google.com with SMTP id c13so5474574eek.39 for ; Wed, 29 May 2013 06:35:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=Ldj5PAG0mkirC9gnVvsiva1oHU1EDwBLavEsYKz88pk=; b=D5905eXNYi9UosQksx6xU5JPTEWiz0Ppl+JyvqZ7DP8iw7kWCpLsZ3f6z/MPy8zsGs BdLCg9rS5MIWv2TCx/bk4LPxK0owoxakRsXiZPRxYCrGKktaVmn8bq4WP9Hb6Sh1rj0s DlXkJwzZALoSdYMjlWY44s0yu8017a6PDh8yxyA0pdSkvWo0K3+J822LDBDka7psg811 uCuwJYaIQXshng5R0DpKa9JXNcjMpVdeVx9SlLgK94XsN/MaxFpz5MrTuileqS7sFQak /+uWs8yi+HW3wsTDIIjBVpzHIt7dzjV0xqhaRAu35Z5kuyYZVupOV+wJMaA98Pvc5/5B y6tQ== X-Received: by 10.14.45.68 with SMTP id o44mr3403714eeb.80.1369834518866; Wed, 29 May 2013 06:35:18 -0700 (PDT) Received: from darwin.cnaf.infn.it (darwin.cnaf.infn.it. [131.154.3.242]) by mx.google.com with ESMTPSA id p43sm11363753eem.11.2013.05.29.06.35.17 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 29 May 2013 06:35:18 -0700 (PDT) Message-ID: <51A60415.3040107@gmail.com> Date: Wed, 29 May 2013 15:35:17 +0200 From: Riccardo Veraldi User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: Joerg Wunsch Subject: Re: disk block failing on root disk on sun blade 1000 References: <519F2090.9070000@gmx.it> <20130524192223.GJ25595@uriah.heep.sax.de> In-Reply-To: <20130524192223.GJ25595@uriah.heep.sax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-sparc64@freebsd.org X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 13:35:26 -0000 On 5/24/13 9:22 PM, Joerg Wunsch wrote: > As fddi wrote: > >> so my question is how can I backup the rootfs and restore it with its >> boot block when I replace the root disk partition with a brand new disk ? > sunlabel da0 > /tmp/label > sunlabel -Bw da1 /tmp/label > > should work, IMHO. > > Afterwards, create and mount the filesystem, and dump | restore. Hello, I could be succesful copying the damage disk content to a new disk with dd bs=512 conf=noerror,sync if=/dev/da6 of=/dev/da5 da5 is the new disk and it is an extarnal cabinet disc 80 PIN SCSI SCA then I did sunlabel da6 > /tmp/label sunlabel -R da5 /tmp/label everything went perfect. I took the new disk out form cabinet and I open my Sun Blade 1000 to replace the boot disk... what a surprise!!! the 80 PIN SCA interface won't fit in the internal socket!! the inside boot disk socket is different I do not know even the name of the socket SCSI interface... what kind of SCSI disk should I look for to replace the internal sun blade 1000 disks ? thank you very much Rick