ipldevice and mirror

ipldevice and mirror

Post by Brent Butchar » Tue, 19 Feb 2002 09:21:04



Good Morning,

When hdisk0 failed on a mirrored rootvg (p610 running 4.3.3 Maint level 6)
all of the commands which update the "mini odm" failed.

Of course this is because /dev/ipdevice as pointing to the disk which was
used in the boot (hdisk0). Since I have hdisk1 with a boot image on it and
is in the boot list, is there a way to have ipldevice point to a reference
other than the physical disk as when the disk fails that you point ipldevice
to you have to remove it and recreate it pointing to the mirror device
(rhdisk1).

If this is the only way (which is the way I have always done this) then this
is fine, however I was wondering if some one knew of a way to handle this
with the remove and recreation of the ipldevice , after the error has
occurred.

An suggestions or comments would be helpful.

Regards,

Brent

 
 
 

ipldevice and mirror

Post by <normanle.. » Tue, 19 Feb 2002 13:20:50


Very interesting.  The hard link is done after successful boot
in normal mode (not service), but I don't know of anything that
would periodically keep checking and adjust the link for hard
disk failure.

PS - the info for /dev/ipldevice which used to be in the odm is
not there in 5.1.  The old script "rvgrecover" used fix the odm
when info about rootvg is messed up, will no longer work.  You
have to put in the actual dev file, that is, in the shell script:

PV=/dev/ipldevice # works all thru v3 and v4
now
PV=/dev/rhdisk0   # or whatever for 5.0.

Norm


Quote:> Good Morning,

> When hdisk0 failed on a mirrored rootvg (p610 running 4.3.3 Maint level
6)
> all of the commands which update the "mini odm" failed.

> Of course this is because /dev/ipdevice as pointing to the disk which was
> used in the boot (hdisk0). Since I have hdisk1 with a boot image on it
and
> is in the boot list, is there a way to have ipldevice point to a
reference
> other than the physical disk as when the disk fails that you point
ipldevice
> to you have to remove it and recreate it pointing to the mirror device
> (rhdisk1).

> If this is the only way (which is the way I have always done this) then
this
> is fine, however I was wondering if some one knew of a way to handle this
> with the remove and recreation of the ipldevice , after the error has
> occurred.

> An suggestions or comments would be helpful.

> Regards,

> Brent


 
 
 

1. Smoke and Mirrors: mirrored concat / concat mirrors

Hi all - I have a JBOD with a bunch of disks, and need to create a
~200gb slice on this using LVM on Sol 9. I've allocated 2 disks to a hot
spare pool already. This leaves me with 6 new disks in order to create
my ~200gb slice. They're all on the same controller, nice (not my choice).

I'm thinking of ways to do this.

Example 1:

mirror d4, made up of a concat of disks 0,1,2 (d14) and a concat of
disks 3,4,5 (d24)

                     d4

             d14            d24
           0  1  2         3 4 5

If I lose a disk on one side the spare should kick in, but if I lose
another disk on the other side whilst this is syncing, I've lost my
data. I could lose up to three disks (on one side only) and still serve
up data.

Example 2:

mirror d4, made up of a concat of mirrors d14 (disks 0,1), d24 (disks
2,3) d34 (disks 4,5)

                     d4

                   d14 0 1
                   d24 2 3
                   d34 4 5

Here I can lose up to 3 disks (in different mirrors) but if I lose 2
disks in the same mirror I'm knackered. However if I lose one disk I'm
only syncing up 72gb of data as opposed to ~200gb in example 1.

Is example 2 any better than example 1 for resiliency? Will LVM even
allow me to do this? If anyone has any suggestions I'd be most
appreciative. Resiliency is more important than outright speed, and read
speed is more important than write speed.

Maybe I should stick with example 1.

Or is it too early on Monday and I haven't had enough coffee yet :) Damn
long weekends and no sleep.

cheers

Sam

2. anyone running linux on a prioris?

3. mirror, unmirror,backup mirror re-mirror howto

4. free shell account !

5. Matrox Mystique ands X.

6. scandir /compare method

7. missing /dev/ipldevice at mksysb

8. Need help formatting a simple output

9. Problem with ipldevice

10. ipldevice

11. ipldevice - ita

12. writing to mirrored lv takes twice the time compared to writing to non-mirrored lv

13. Mirroring or not mirroring ?