1834020 Members
3118 Online
110063 Solutions
New Discussion

Re: LVM

 
John E. Archibald
Occasional Contributor

LVM

I am on using a K210 server with HP UX 10.10. I am mirroring the root volume group. I am using doc # rcfaxlvm001 from itrc to do it. I get to step 6, (lvextend -m 1 /dev/vg00lvol1 /dev/dsk/c1t0d0)and I get stale partitions with an I/O error. The disk has been replaced twice. Please advise, John
"If we can't fix it, it's not broke"
5 REPLIES 5
unixdaddy
Trusted Contributor

Re: LVM

What do you get when you do a diskinfo command on the disk:- diskinfo /dev/rdsk/c1t1d0? when the disk was replaced using the steps in UNX1001086 document?
John E. Archibald
Occasional Contributor

Re: LVM

The disk was replaced by HP support. I did the diskinfo and the drive seemed complete. I ran a test to do read/write and it worked. I called HP again and it was determined the drive that was installed was not correct. The new drive matched exactly. I went through the process again and it still failed with the same error:
aspen # lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c0t6d0
The newly allocated mirrors are now being synchronized. This operation will
take some time. Please wait ....
lvextend: Couldn't re-synchronize stale partitions of the logical volume:
I/O error
lvextend: Couldn't resynchronize logical volume "/dev/vg00/lvol1". The hardware tech ran a bunch of diag tools to no avail.
"If we can't fix it, it's not broke"
John E. Archibald
Occasional Contributor

Re: LVM

P.S. The sync was started but failed at the same PE every time.
"If we can't fix it, it's not broke"
unixdaddy
Trusted Contributor

Re: LVM

As a test put the disk in a different volume group and try to mirror a logical volume from that volume group to the disk (this will test the new disk). It sounds like you have a problem with the disk that you are mirroring from.

I had a similiar problem where there were bad blocks on the original disk so it wouldn't read from it. I also had another occassion where all the extents on the where used on the disk and when lvm tried to read the last few it kept giving falling over, almost as if it expected more extents or something. Fortunately I was able to move things around and use other disks (it wasn't vg00)to aviod using the last few extents.
gil paz_2
Advisor

Re: LVM

Hi
1.After you replace the disk did you run the command:
> pvcreate -B /dev/rdsk/c1t0d0
(You mast use the -B for vg00 that say this is
a bootabel disk).
2.After that you need to check the disk capacity, and the bytes per sector (For hp it need to be 512).
The tharget disk need to be equal or great then the source.

> diskinfo /dev/rdsk/c1t0d0
describe of /dev/rdsk/c1t0d0:
vendor: SEAGATE
product id: ST34371W
type: direct access
size: 4248442 Kbytes
bytes per sector: 512
3.Other check is to run the dd command
and look if you have any problem with the source disk .

dd if=/dev/vg00/lvol1 of=/dev/null bs=512k
Run this command on all the lvols that belong to vg00.