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?