Subject: Reading NetBSD/sparc disks on i386?
To: None <port-i386@netbsd.org, port-sparc@netbsd.org>
From: Christopher Chen <muffaleta@gmail.com>
List: port-sparc
Date: 08/24/2005 11:51:45
Hello All:

I have a scsi disk here from a sun4m running NetBSD/sparc, that I want
to mount on a i386 machine running -current. I've enabled the FFS_EI
kernel config option, and it works--I can mount the "a" partition. But
there are 5 partitions on the disk, a-e, and most of my data is on
"e". Problem is, disklabel gives me bogus data, and only shows "a" and
"d" covering the entire disk. Is there something I need to do to make
the true disklabel readable on this machine?

Thank you!

cc

# disklabel sd1=20
disklabel: Invalid signature in mbr record 0
# /dev/rsd1d:
type: SCSI
disk: mydisk
label: fictitious
flags:
bytes/sector: 512
sectors/track: 220
tracks/cylinder: 10
sectors/cylinder: 2200
cylinders: 8057
total sectors: 17783249
rpm: 7200
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0=20

4 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 a:  17783249         0     4.2BSD      0     0     0  # (Cyl.      0 -   8=
083*)
 d:  17783249         0     unused      0     0        # (Cyl.      0 -   8=
083*)
disklabel: boot block size 0
disklabel: super block size 0

--=20
Chris Chen <muffaleta@gmail.com>
You can tune a file system, but you can't tune a fish.