Re: Help with replacing the boot drive with Solstice DiskSuite

From: Germano (gsilva3891_at_yahoo.com)
Date: 02/08/04


Date: Sun, 8 Feb 2004 11:37:27 -0500


"Shivakanth Mundru" <smundru@cox-internet.com> wrote in message
news:102alr15pmggc42@corp.supernews.com...
>
>
> 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.

This server was setup more than 5 years ago when I wasn't even here, but if
you look at the metastat d2 output from my initial post, that tells you hou
it was originally setup. As far as the dsk maintenance, I called Sun and
they told me the disk needed to be replace and went ahead and sent me a new
one, but have no been very helpfull afer that.

Hee's some info on the three disk that are currently involved.

c1t0d0s0 > original boot disk that needed maintenance
c2t2d0s0 > original mirror
c1t2d0s0 > replacement for c1t0d0s0

# ls -l /dev/dsk/c1t0d0s0 /dev/dsk/c1t2d0s0 /dev/dsk/c2t2d0s0
lrwxrwxrwx 1 root root 50 Mar 27 2003 /dev/dsk/c1t0d0s0 ->
../../devices/sbus@3,0/SUNW,fas@3,8800000/sd@0,0:a
lrwxrwxrwx 1 root root 50 Jan 24 11:14 /dev/dsk/c1t2d0s0 ->
../../devices/sbus@3,0/SUNW,fas@3,8800000/sd@2,0:a
lrwxrwxrwx 1 root root 50 Mar 27 2003 /dev/dsk/c2t2d0s0 ->
../../devices/sbus@3,0/SUNW,fas@0,8800000/sd@2,0:a

# eeprom nvramrc
nvramrc: data not available.

So, I could execute the following eeprom command to reset the boot disk.

"nvramrc=devalias rootdisk /sbus@3,0/SUNW,fas@3,8800000/disk@2,0 rootmirror
/sbus@3,0/SUNW,fas@0,8800000/disk@2,0
>
> 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
>



Relevant Pages

  • Re: Help with Reinstalling...
    ... Install the new controller in a slot, boot the server and install the ... Do a FULL backup of your entire SBS 2003 server using the built-in SBS ... I took it out, broke mirror, replace disk set up new mirror ...
    (microsoft.public.windows.server.sbs)
  • Re: rebuild 240v from scratch
    ... >>> disk bootable, I would boot from it and dd from one disk to the other. ... >> of METADEVICE databases on server b. ... >> find a metadb on server B to resolve it to a physical partition. ...
    (comp.unix.solaris)
  • Re: Unable to boot to existing 2003 server
    ... Formatted a floppy using 2003 server. ... Could not read from selected boot disk. ...
    (microsoft.public.windows.server.general)
  • Re: sbs2003 and mirrored drive failure. Help!
    ... So they replaced sbs with server std and exchange. ... boot from Ghost 2003 CD or Ghost boot floppies ... Remove the shadow disk from the server and keep it in a safe place ...
    (microsoft.public.windows.server.sbs)
  • Re: sbs2003 and mirrored drive failure. Help!
    ... Attach an external USB drive to the server ... boot from Ghost 2003 CD or Ghost boot floppies ... Remove the shadow disk from the server and keep it in a safe place ...
    (microsoft.public.windows.server.sbs)