From owner-freebsd-sparc64@FreeBSD.ORG Thu Sep 14 20:04:11 2006 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0433B16A415 for ; Thu, 14 Sep 2006 20:04:11 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB43C43D46 for ; Thu, 14 Sep 2006 20:04:10 +0000 (GMT) (envelope-from lists@jnielsen.net) Received: from localhost (jn@ns1 [69.55.238.237]) (authenticated bits=0) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id k8EK49mc086054 for ; Thu, 14 Sep 2006 13:04:10 -0700 (PDT) (envelope-from lists@jnielsen.net) From: John Nielsen To: freebsd-sparc64@freebsd.org Date: Thu, 14 Sep 2006 16:04:08 -0400 User-Agent: KMail/1.9.3 X-Face: #X5#Y*q>F:]zT!DegL3z5Xo'^MN[$8k\[4^3rN~wm=s=Uw(sW}R?3b^*f1Wu*. X-Virus-Scanned: ClamAV version 0.88.3, clamav-milter version 0.88.3 on ns1.jnielsen.net X-Virus-Status: Clean Subject: Reading a hard drive from a sparc64 box in an i386 box X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Sep 2006 20:04:11 -0000 I have a hard drive containing a single slice that was installed in a sparc64 box running FreeBSD 6.1. I have installed the drive in an i386 box running 6-STABLE. Is there any way I can get the files off the drive before repartitioning it? Running "sunlabel" from the i386 box shows the same output as it did on the sparc64 machine, but the only entry in /dev for the drive is ad3. (And sadly, mount /dev/ad3 /mnt didn't work.) I suppose the thing to do would be to somehow translate the label into a bsdlabel-compatible one, but I'm hesitant to experiment since I don't want to lose the files. (My fail-back plan is to put the drive back in the sparc64 box and suffer through transferring everything over the slow network link.) Any ideas or success or failure stories would be appreciated. In case it's useful, here's the sunlabel output: %sunlabel ad3 # /dev/ad3: text: FreeBSD56G cyl 58166 alt 2 hd 32 sec 63 bytes/sector: 512 sectors/cylinder: 2016 sectors/unit: 117262656 8 partitions: # # Size is in sectors. # Offset is in cylinders. # size offset # ---------- ---------- c: 117262656 0 d: 117262656 0 And with -c: %sunlabel -c ad3 # /dev/ad3: text: FreeBSD56G cyl 58166 alt 2 hd 32 sec 63 bytes/sector: 512 sectors/cylinder: 2016 sectors/unit: 117262656 8 partitions: # # Size is in cylinders. # Offset is in cylinders. # size offset # ---------- ---------- c: 58166 0 d: 58166 0 Thanks! JN