Summary:Replacing boot disk under Disksuite 4.1

From: PF Wong (pf.wong@onyxcomputers.com)
Date: Tue May 12 1998 - 16:51:04 CDT


Thanks for the advice from
pshannon@Schwab.COM
Nicholas Masika [nmasika@whiz.mfi.com]

In summary, to replace a boot disk
1. Break your bad disk out of the mirrors with metadetach. If you have
multiple mirrors on the bad disk, you have to run
   metadetach to disassociate each of them.
2. Replace the bad drive
3. Format new disk with same partitions as the bad disk
4. Use metattach to remirror

 

 

Thanks.

P.F.


attached mail follows:


Nope, you can metattach once the new disk is recognized by the system.
The
proceedure for getting the 450 to "see" the new disk is what worries me.

Patrick

>
> Hi Patrick,
>
> E450 does support hot swap disks. Although the disk has bad sectors,
it
> does not show up as bad under Disksuite. So I am not sure about if my
> procedure is good enough.
> If I run metadetach to break the mirror, swap the disk and metattach
the
> mirror again, do I need to reboot the system in the course of
actions?
>
> Thanks.
>
> P.F.
>
> > -----Original Message-----
> > From: pshannon@Schwab.COM [SMTP:pshannon@Schwab.COM]
> > Sent: Thursday, May 07, 1998 6:53 PM
> > To: pf.wong@onyxcomputers.com
> > Subject: Re: Replacing boot disk under Disksuite 4.1
> >
> > I didn't think that the 450 had hot swap disks.
> >
> > If it does support that, then your plan looks good. You
> > might consider breaking the bad disk out of the mirrors
> > with metadetach before you remove it.
> >
> > I don't know how DiskSuite will react if the disk is just yanked
out.
> >
> > Ideally it would just keep working, but I've had problems with
mirrors
> > and hotspares not working as advertised when a disk is yanked rather
> > than
> > failing "naturally."
> >
> > Patrick
> >
> >
> > > Hi Managers,
> > >
> > > I have a E450 running Solaris 2.5.1 and Disksuite 4.1 and has 2
> > mirrored
> > > system disks. I have to replace the boot disk because there are
some
> > bad
> > > blocks on the disk. Since it is a critical system, I cannot reboot
> > the
> > > system during the disk replacement.
> > >
> > > The followings are the steps I am going to take in replacing the
> > drive:
> > > 1.Format the spared disk with the same partition size as the boot
> > disk
> > > 2. Remove the bad disk
> > > 3. Insert the spared disk into the bad disk slot
> > > 4. run ./metareplace -e d1 /dev/dsk/c0t1d0s0 where d1 is the
mirror
> > and
> > > c0t1d0s0 is the partition of the spared disk
> > >
> > > I would like to know if this is the proper way to replace a boot
> > disk.
> > > Any suggestion would be appreciated.
> > >
> > > Thanks.
> > >
> > >
>


attached mail follows:


PF Wong wrote:

> Hi Managers,
>
> I have a E450 running Solaris 2.5.1 and Disksuite 4.1 and has 2
mirrored
> system disks. I have to replace the boot disk because there are some
bad
> blocks on the disk. Since it is a critical system, I cannot reboot the
> system during the disk replacement.
>
> The followings are the steps I am going to take in replacing the
drive:
> 1.Format the spared disk with the same partition size as the boot disk
> 2. Remove the bad disk
> 3. Insert the spared disk into the bad disk slot
> 4. run ./metareplace -e d1 /dev/dsk/c0t1d0s0 where d1 is the mirror
and
> c0t1d0s0 is the partition of the spared disk

This will work as long as s0 is the only active partition on the boot
disk. If
you are mirroring any other partitions (such as swap, /usr, /var, /opt)
on the
same disk, you should probably use metadetach to unmirror those
partitions,
replace the disk, partition it, and then use metattach to re-mirror.
Also, if
you have any metadb partitions on the disk to be replaced, be sure to
use metadb
to remove any databases prior to removing the disk.

--
Nicholas Masika                      email: nmasika@pop.mfi.com
Sr UNIX System Administator          phone: (415)905-2473
Taos Mountain Consultant             pager: (415)253-3725
Miller Freeman Inc, San Francisco    pager e-mail: nmasika.page@taos.com



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:40 CDT