1833630 Members
3569 Online
110062 Solutions
New Discussion

3 Copies Mirror

 
Benoît
Regular Advisor

3 Copies Mirror

Hi,

I have a mirror between disks (36GB) c0t2d0 and c0t3d0 for lvoldata.
Assume that I have c1t0d0 (73GB)
If I want a third copy of this mirror, is it right to do:
vgextend vgdata /dev/c1t0d0
lvextend -m 2 lvoldata /dev/c1t0d0

Is that ok?

Thanks
15 REPLIES 15
Gavin Clarke
Trusted Contributor

Re: 3 Copies Mirror

Looks good to me.
melvyn burnard
Honored Contributor

Re: 3 Copies Mirror

looks good with minor change:
vgextend vgdata /dev/c1t0d0 ->
vgextend vgdata /dev/dsk/c1t0d0
lvextend -m 2 lvoldata /dev/c1t0d0 ->
lvextend -m 2 /dev/vgdata/lvoldata /dev/dsk/c1t0d0
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Gavin Clarke
Trusted Contributor

Re: 3 Copies Mirror

Doh, I should have spotted the missing dsk. I interpreted the lvoldata to be the full path, which was a bit of a rash assumption too I guess.

It will probably take a while.
Benoît
Regular Advisor

Re: 3 Copies Mirror

Of course Melvyn!
This was just writen a bit too fast :-)

Thanks guys!
Pedro Cirne
Esteemed Contributor

Re: 3 Copies Mirror

Hi,

That's OK.

Just check:

-Max PE per PV...if vg was created with the defaults, probably you'll not be able to use a 73Gb PV on vgdata

-Max number of PV, are you able to add one more PV to your VG?

Enjoy :)

Pedro
melvyn burnard
Honored Contributor

Re: 3 Copies Mirror

Gavin/Benoit
No problem, we are all human and as they say:
To err is human,
to really foul it up takes a computer
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Benoît
Regular Advisor

Re: 3 Copies Mirror

Talking about problems ...

There is one!

Just installed new SCSI card with 2 Disk Array 2100, one disk in each.

Disks are UNCLAIMED:
unknown -1 0/8/0/0 SCAN UNKNOWN PCI SCSI (10000021)
unknown -1 0/8/0/1 SCAN UNKNOWN PCI SCSI (10000021)

What shall I do ?
melvyn burnard
Honored Contributor

Re: 3 Copies Mirror

looks like a driver is missing from the kernel, either a scsi driver (does it claim the I/O card?)
or a disc driver (disc3?)
depends on the system and OS release.

My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Benoît
Regular Advisor

Re: 3 Copies Mirror

I don't see the card.

ba 6 0/8 lba CLAIMED BUS_NEXUS Local PCI Bus Adapter (782)
unknown -1 0/8/0/0 UNCLAIMED UNKNOWN PCI SCSI (10000021)
unknown -1 0/8/0/1 UNCLAIMED UNKNOWN PCI SCSI (10000021)

Should be there, no?
melvyn burnard
Honored Contributor

Re: 3 Copies Mirror

this seems to be a dual port scsi card, correct? If so, then there is a driver missing.
Which OS release, what card model is it?
Maybe post your list of kernel drivers currently in the kernel and an ioscan output?

Just a suggestion, it might be better to have a separate posting for this issue
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Benoît
Regular Advisor

Re: 3 Copies Mirror

Server is HP9000 rp5430
Car is A6829A Dual U160
OS is HPUX 11??

SAM just said CharDrv was missing and proposed to install it,compiling kernel,wich I did.

Server is rebooting
Benoît
Regular Advisor

Re: 3 Copies Mirror

Found this:
http://docs.hp.com/en/A6829-96002/ch03s04.html

Waiting for reboot to follow the procedure.
melvyn burnard
Honored Contributor

Re: 3 Copies Mirror

That will probably fix it, as there are newer cards that need drivers added in .
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Benoît
Regular Advisor

Re: 3 Copies Mirror

Everything looks fine now.

Thanks guys!
Benoît
Regular Advisor

Re: 3 Copies Mirror

Thanks