SUMMARY RE: Restoring a root disk - I can boot to it!

From: Cohen.Jessica@ic.gc.ca
Date: Thu Feb 05 2004 - 15:11:00 EST


Sorry for the much-delayed summary

Basically we used dn_setup -clean, dn_setup -init, and dfsmfr -K to redo our
devices directory, at which point I was able to see the disks with disklabel
again. The first time I still got strange results, but when I booted to the
disk by specifying it on the >>> line, and left the bootdef_dev parm empty,
it worked better. Once I could see the disks with disklabel it was
straightforward recreating all my file domains.

Thanks to Nilesh M. Virani, John Lanier, Derek Haining, Dr. Thomas Blinn,
and Charles Ballowe for their help.

-----Original Message-----
From: Cohen, Jessica: DGRB
Sent: Tuesday, February 3, 2004 1:43 AM
To: tru64-unix-managers@ornl.gov
Subject: Restoring a root disk - I can boot to it!

Hi, today we rewired our disk arrays on an ES40. We didn't actually change
the root disk, although it was physically moved to another shelf, it is on
the same KZPCC raid controller and the same bus on that raid controller.

When I type show dev at the >>> prompt, I can see all 5 of our LUN's. I
know from a hardware perspective which one is our boot disk
(dzb536.0.0.2004.0), and if I set bootdef_dev to this disk, I can
successfully boot to single user mode.

However, I can't tell which logical disk number this boot disk is.
I see root_device when I try df -k, and I tried using advscan on each of the
disks I see in the /dev/disk directory, and can't find the disk, or find the
usr_domain which is on the same disk.

I do have vrestores of /, /usr, and /var but when I boot from the 5.1 CD, I
can't see any of the disks, /dev/disk only contains floppy and cd's.

When I boot from the boot disk I have /dev/disk entries from 0 to 5, even
though I only have 5 disks.

Can anyone tell me how I can tell what disk number I am booting off of, and
then specifically how I go about changing the domains so that I am mounting
/ and /usr and /var from the right disk?

Thanks,

Jessica Cohen



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:50 EDT