Summery of E280R build from ufsrestore.

From: simonb (simonb@zapik.co.uk)
Date: Sun Jan 09 2005 - 06:14:45 EST


Thanks for all the replies. I've left out the 50 or so that mentioned
installboot. Thanks for all your help. I will post the final results
later in the week.

Hi,

 Have you installed the bootblk on c1t0d0s0? ufsdump won't have done
this.
You will already have bootblk on the drive in
/usr/platform/SUNW,Sun-Fire-280R/lib/fs/ufs (where it will have been
copied by ufsdump) - also it will be on the cdrom.
so:
installboot path_to-/bootblk /dev/dsk/c1t0d0s0

should do it

Hope this helps

Richard

The solution is often to reconfigure the devices while still booted from
the cdrom..

Assuming root is mounted on /a, try...

devfsasm -r /a

Darren Dunham

Following your directions issuing the swap -a command isn't needed.
Since
your kernel is loaded from the cdrom you are running it temporarily.
When
you reboot it loses that info.

For adding swap permanently you need to edit the /etc/vfstab after you
restore it from tape.

Mount /dev/dsk/c1t0d0s1 on /tmp/mnt

Vi /tmp/mnt/etc/vfstab

Make sure you have a line like:
/dev/dsk/c1t0d0s1 - - swap - no -

This will setup swap space when the machine reboots.

Ray

You still need to rebuild the boot block at the very least.

cd /usr/platform/`uname -i` /lib/fs/ufs
installboot bootblk /dev/rdsk/c1t0d0s0

Thanks,

Dave

Simonb,

Another approach is to use flar, the Flash Archive system. See
'man flar' and 'man flarcreate' for info.

Jim

You need to rebuild the device tree. SUN has a doc on how to
dupe a fc disk, they do not recommend ufsdump/restore. Anyways,
boot off cd and mount the root disk. Blow away /dev /devices
and rebuild the dev tree.

The fc disks have a unique id from disk to disk. This gets carried
over to the new system. To verify do an ls /dev/dsk/c0t0d0s0 or
whatever and compare the number to whats on the front of the disk.

Anyways to rebuild.

boot cdrom -sw
mount /dev/dsk/c0t0d0s0 /a
cd /a
rm -rf ./dev
rm -rf ./devices
rm ./etc/path_to_inst
drvconfig -R /a
disks -r /a
devlinks -r /a

### if /usr is on a diff partition mount it under /a/usr

chroot /mnt /sbin/sh
drvconfig
disks
devlinks

# reboot -- -r

John

The joys of using FC disks.

IIRC in addition to dumping the savesets on the new system
you will need to do something along the lines of:

1) boot from CDROM
2) mount root partition (for example under /a)
3) rm /a/etc/path_to_inst
4) rm /a/dev/dsk/c*
5) rm /a/dev/rdsk/c*
6) devfsadm -r /a -p /a/etc/path_to_inst then "reboot"

Joe Fletcher

-- 
simonb <simonb@zapik.co.uk>
UMAX-IT Limited
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:29:58 EDT