Re: Help with replacing the boot drive with Solstice DiskSuite
From: Shivakanth Mundru (smundru_at_cox-internet.com)
Date: 02/07/04
- Next message: Thomas Dehn: "Re: gdb 6.0 with SUNWspro/bin/cc ver 6 update 2"
- Previous message: John Thompson: "Re: BBC's awful tech/mydoom coverage"
- In reply to: Germano: "Re: Help with replacing the boot drive with Solstice DiskSuite"
- Next in thread: Germano: "Re: Help with replacing the boot drive with Solstice DiskSuite"
- Reply: Germano: "Re: Help with replacing the boot drive with Solstice DiskSuite"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 07 Feb 2004 15:23:41 -0600
Germano wrote:
> At the OK prompt, if I force it to boot from the new disk, the server boots
> fine, but I need to configure the server to automatically boot to the right
> drive when the power is turned on, since I'm not even at the same site where
> the server is located. I'm only a couple of miles away, but I can't expet to
> have for example a night operator to force a boot from a specific disk.
>
> How do I set the device-string?
>
> I assume it can be done at the OK prompt, but I haven't done anything at the
> OK prompt for years and I don't remember what the syntax is.
>
How did you set this up before the disk needed maintenance and you did
metareplace? Did you check why the disk needed maintenance(disk got
fried) before you decided to send it to sun and use a new disk? How was
the system configured to boot from rootdisk & rootmirror in case of
rootdisk failure.
As you have a different submirror due to metareplace you have to change
your OBP settings as well.
This is what I do on my Boot disk mirroring with SVM
ls -l /dev/dsk/c1t1d0s0 /dev/dsk/c1t0d0s0
(replace with what ever your new devices are now)
lrwxrwxrwx 1 root root 43 Dec 23 17:51 /dev/dsk/c1t0d0s0
-> ../../devices/pci@1c,600000/scsi@2/sd@0,0:a
lrwxrwxrwx 1 root root 43 Dec 23 17:51 /dev/dsk/c1t1d0s0
-> ../../devices/pci@1c,600000/scsi@2/sd@1,0:a
# eeprom "nvramrc=devalias rootdisk /pci@1c,600000/scsi@2/disk@0,0
devalias rootmirror /pci@1c,600000/scsi@2/disk@1,0"
(Please note the change "sd" to "disk" in using ls -l output)
# eeprom "use-nvramrc?=true"
You can also change the boot-device values so that it tries to boot from
mirror in case one of them is not available.
# eeprom boot-device="rootdisk rootmirror"
You can also use setenv at the OBP
ok setenv optionname value (Do not use = sign)
Is this what you were looking for (or) some thing else?
Shivakanth
- Next message: Thomas Dehn: "Re: gdb 6.0 with SUNWspro/bin/cc ver 6 update 2"
- Previous message: John Thompson: "Re: BBC's awful tech/mydoom coverage"
- In reply to: Germano: "Re: Help with replacing the boot drive with Solstice DiskSuite"
- Next in thread: Germano: "Re: Help with replacing the boot drive with Solstice DiskSuite"
- Reply: Germano: "Re: Help with replacing the boot drive with Solstice DiskSuite"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|