SRDB ID   Synopsis   Date
17658   E3500 boot after replacing system disk   30 Sep 1998

Status Issued

Description
Instructions for replacing internal boot disk in an E3500. (Fibre Channel Disks)

These instructions also apply to a boot disk in a SENA (Solstice Enterprise
Network Array) also known as the A5000.  

These instructions do not apply to a boot disk mirrored by SEVM or SDS. 
(Solstice Enterprise Volume Manager or Solstice Disk Suite)

The Ultra Enterprise 3500's internal boot disk failed and was replaced
by another drive.  The new drive was newfs'd and then restored
from a dump tape of the original disk.  The boot-device variable was changed
at the Open Boot Prom to reflect the new disk's world wide number. 
The UE3500 was brought to single user mode by a "boot cdrom -s" command and
the following commands were run on the new disk.

	drvconfig -r /a/devices -p /a/etc/path_to_inst
	devlinks -r /a
	disks -r /a

	The boot block was also installed.

When booting the new device it does not mount root r/w and it
reports the new device (mount: /dev/dsk/c0t0d0s0 is not this fstype.).
A check of the /dev/dsk and /dev/rdsk show that the links were made
to the new WWN.  Also the path_to_inst was changed to the new WWN.

drvconfig is unable to re-build the devices tree from a CD-ROM boot. 
SOLUTION SUMMARY:
Use the appropriate Solaris Software CD - example Solaris 2.6 5/98.

	boot cdrom -sw

Follow normal procedures to create the appropriate disk partitions
and file systems on the new disk and restore the backup dump.  

Then perform the following commands.  These will build in the World 
Wide number of the replacement disk into the relevant paths to enable 
the system to boot the new disk.  

	drvconfig -r /a/devices -p /a/etc/path_to_inst
	disks -r /a
	devlinks -r /a

The next two commands are required due to bug id 4161768.  

	cd /devices
	find . -print | cpio -pduvm /a/devices
(This copies the cdrom's /device tree to the mounted filesystem.)

Finally, install the boot block.  

	installboot /usr/platform/sun4u/lib/fs/ufs/bootblk /dev/rdsk/cXtXdXs0

Unmount the mounted file systems.  
Run a final fsck check on all the file systems.  

Create the boot-device using the luxadm command:

	luxadm -v set_boot_dev -y /dev/dsk/cXtXdXs0

halt the system, and boot should now work.  
SUBMITTER: Chris Michalik APPLIES TO: Hardware/Ultra Enterprise/Servers/Enterprise 3000, Operating Systems/Solaris/Solaris 2.6 ATTACHMENTS:


Copyright (c) 1997-2003 Sun Microsystems, Inc.