🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun.hardware
Article #3078

Re: swapping hard drives b/w Sparc 5/20

#3078
From: Craig Dewick
Date: Sat, 04 Apr 1998 00:00
51 lines
2970 bytes
In <35253FD6.441330B8@vnp.com> dgutches <dgutches@vnp.com> writes:

>I would like to take the internal hard disk out of a sparc 5, and put it
>in a sparc 20.  This is to be the disk the machine boots from.  I tried
>it, and the filesystem would not mount, and fsck reported an
>unrecoverable error.  Of course the filesystem is fine.  It is running
>Solaris 2.5.1.

>Maybe there is some trick to this, or is there some compatability issue?

As far as I can tell it should work once the kernel is reconfigured. Did you
boot with the '-r' option the first time you tried to use it on the SS20?
The SS20's hardware is different to the SS5, so the devices available to the
kernel are different.

To be safe, type 'boot -rv' from the 'ok' monitor prompt so you can watch
what happens as the system loads and starts the kernel.

With SunOS 4.x it was usually possible to move a disk between machines of
the same series (in your case, the SS5 and SS20 are both in the sun-4m
series) without making any changes since the kernel was a static thing and
all changes were done manually.

SunOS 5.x has the ability to probe all known devices and create entries in
/dev and /devices on-the-fly to customise itself for the particular machine
it's running on. This is done by passing the 'r' option to the kernel at
boot time, which forces a reconfiguration.

What you have done is basically the same as if you bought a new framebuffer
and plugged it onto one of the Sbus slots in the SS5. By moving to a new
system you've altered the hardware configuration as far as the kernel is
concerned. So it needs to be told about the change so it can create
appropriate device files for the kernel and applications to access the
additional hardware.

The only time you can move a SunOS 5.x disk between machines is when they
are exactly the same hardware-wise, such as between your SS5 and another SS5
configured exactly the same.

Once you boot with the '-r' option it should work ok. 8-)

Regards,

Craig.

-- 
            Craig Dewick. Send email to 'cdewick@lios.apana.org.au'
  Point a web browser at 'http://lios.apana.org.au/~cdewick/sun_shack.html' to
    access my archive of Sun information and links to other places. For info 
      about Sun Ripened Kernels, go to 'http://www.zeta.org.au/~craig/srk'
Technical Details
Message-ID: <6g3hat$1ur$1@lios.apana.org.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <35253FD6.441330B8@vnp.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f4671,cf3c1aa4b8be484c
X-Google-Attributes: gidf4671,public
X-Google-Thread: 1070f0,cf3c1aa4b8be484c
X-Google-Attributes: gid1070f0,public
X-Google-Thread: 10d053,42d12d0812ad015,start
X-Google-Attributes: gid10d053,public
From: cdewick@lios.apana.org.au (Craig Dewick)
Subject: Re: swapping hard drives b/w Sparc 5/20
Date: 1998/04/04
Message-ID: <6g3hat$1ur$1@lios.apana.org.au>
X-Deja-AN: 340623170
References: <35253FD6.441330B8@vnp.com>
Organization: Lios - Children of the Light
Newsgroups: comp.sys.sun.hardware,comp.sys.sun.admin,aus.computers.sun