OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
mounting a sun3 (sunOs 4.1.1) disk from openbsd (not NFS), possible?

From: A. F. Cano (afcshibaya.lonestar.org)
Date: Sat Dec 18 2004 - 08:49:03 CST


Hi,

I have an old sun 3/160 with 6 disks and the boot disk crashed a long
time ago. I tried to read the SCSI disks on a linux box with SCSI
controllers but it didn't work. I presume the endianness (the sun3
has a 68020) and the foreign FS prevented it. Having heard that BSD
is better at reading foreign file systems (and is a closer cousing to
SunOS), I installed OpenBSD on a P3 (i386) built from junk pile parts
and the SCSI controller of the linux box (AHA2940). The OS sees the
SCSI drive (SCSI id 2, sd0) but disklabel returns garbage and mount
doesn't recognize the SunOs 4.1.1 FS.

Is there a way to mount file systems created on a 68020 SunOs with
an i386 OpenBSD system? If not with the stock system, what would
be involved? Please keep in mind that I'm not very familiar with
OpenBSD, so please be specific if a new driver/mount command from
the discontinued sun3 port has to be adapted.

Is there some other way to get to the files on the SunOS disks
without mounting them? I presume some way to see what partitions
exist on the disks and where they are is mandatory as dd'ing the
whole disk wouldn't take care of the different architecture FS
and all the retrieved data would be garbage. Is there some
software to let you see the superblock properly?

The obvious solution of re-installing SunOS on the sun3 didn't work,
it has other hardware problems and when I tried that, a long time
ago, the tape drive didn't seem to recognize the end of tape and
the tapes came off the spool.

The next possible option is to boot the sun3 remotely (via net),
but that would require re-assembling the sun3 and making sure that
all the HW configuration is OK; not easy without an OS on it.
Still, can someone point out a detailed road map for a network
boot from OpenBSD? bootp?

Any help will be very much appreciated. I really need to recover
what's on those disks to get rid of the old sun 3. Thanks.

Augustine