Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Alternate Boot Device disk#

Status
Not open for further replies.

kozlow

MIS
Mar 3, 2003
326
US
I am going over the steps to mirror my boot UFS on a Solaris 9 sunfire v100 server. The text reads:

When you created the mirror for the root (/) file system, you should have recorded the alternate boot device as part of that procedure. In this example, disk2 is that alternate boot device.

ok boot disk2

What command can I run so I can associate the /dev/rdsk/c0t#d0s0 with disk#?


 
You can find the device address when the system is booted by doing an ls -l /dev/dsk/c0t0d0s0 and noting what that symbolic link points to.

You can set this at the 'ok' prompt using devalias, e.g.:

[tt]devalias disk2 /iommu/sbus/espdma@f,400000/esp@f,800000/sd@1,0[/tt]

Note that you leave off the initial /devices that the OS uses.

You can add this command to the nvramrc and set the use-nvramrc? variable to true so that it is always set when you turn on the system. Annihilannic.
 
Actually, this thread: thread60-498928 reminded me of the nvalias command, which adds the alias to nvramrc for you. Annihilannic.
 
I know I only have two disks, so I am assuming that dad is the disk drives, what does the sd stand for?

c0t0d0s0 -> ../../devices/pci@1f,0/ide@d/dad@0,0:a
c0t2d0s0 -> ../../devices/pci@1f,0/ide@d/dad@2,0:a
c0t3d0s0 -> ../../devices/pci@1f,0/ide@d/sd@3,0:a
 
The ide bus nexus node is the parent of the child nodes dad leaf node (a disk device) and sd leaf node (a CD-ROM device).

Sun Fire v100
primary ide master /pci@1f,0/ide@d/dad@0,0
primary ide slave /pci@1f,0/ide@d/dad@1,0
secondary ide master /pci@1f,0/ide@d/dad@2,0 (default boot)
secondary ide slave /pci@1f,0/ide@d/sd@3,0 (default CD)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top