[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Reading a hard drive from a sparc64 box in an i386 box
- To: freebsd-sparc64_(_at_)_freebsd_(_dot_)_org
- Subject: Reading a hard drive from a sparc64 box in an i386 box
- From: John Nielsen <lists_(_at_)_jnielsen_(_dot_)_net>
- Date: Thu, 14 Sep 2006 16:04:08 -0400
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
_______________________________________________
freebsd-sparc64_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-sparc64
To unsubscribe, send any mail to "freebsd-sparc64-unsubscribe_(_at_)_freebsd_(_dot_)_org"
Visit your host, monkey.org