LVM and VxVM

physical volume --PV status -unavailable

 
SOLVED
Go to solution
Bunty..
Occasional Advisor

physical volume --PV status -unavailable

#vgdisplay -v /dev/vg73 | more
--- Physical volumes ---
PV Name /dev/dsk/c26t4d1
PV Name /dev/dsk/c29t4d1 Alternate Link
PV Status unavailable
Total PE 9726
Free PE 0
Autoswitch On

PV Name /dev/dsk/c26t4d2
PV Name /dev/dsk/c29t4d2 Alternate Link
PV Status available
Total PE 9726
Free PE 3577
Autoswitch On

how to make it available?
8 REPLIES 8
Steven E. Protter
Exalted Contributor

Re: physical volume --PV status -unavailable

Shalom Bunty,

I'd say you have a problem with the path to the alternate link.

ioscan -fnC disk

Make sure the WWN assignment on the LUN is matches the output from the fcmsutil utility.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Bunty..
Occasional Advisor

Re: physical volume --PV status -unavailable

# ioscan -fnC disk | grep c26t4d1
/dev/dsk/c26t4d1 /dev/rdsk/c26t4d1
root@dipper:[/root]
# ioscan -fnC disk | grep c26t4d1
/dev/dsk/c26t4d1 /dev/rdsk/c26t4d1
root@dipper:[/root]
# ioscan -fnC disk | grep c26t4d2
/dev/dsk/c26t4d2 /dev/rdsk/c26t4d2
root@dipper:[/root]
# ioscan -fnC disk | grep c29t4d1
/dev/dsk/c29t4d1 /dev/rdsk/c29t4d1
root@dipper:[/root]
# ioscan -fnC disk | grep c29t4d2
/dev/dsk/c29t4d2 /dev/rdsk/c29t4d2
root@dipper:[/root]
James R. Ferguson
Acclaimed Contributor

Re: physical volume --PV status -unavailable

Hi:

Your post of the 'ioscan' output doesn't provide anything useful. Post the all of it, so we can see the SW state information. For example:

disk 0 10/0.6.0 sdisk CLAIMED DEVICE SEAGATE ST34371W
/dev/dsk/c0t6d0 /dev/rdsk/c0t6d0

Also: Can you read the disk, thusly:

# dd if=/dev/rdsk/c26t4d2 of=/dev/null bs=64k count=100

Regards!

...JRF...

Bunty..
Occasional Advisor

Re: physical volume --PV status -unavailable

/dev/dsk/c26t4d0 /dev/rdsk/c26t4d0
disk 901 1/0/8/1/0.21.15.0.0.4.1 sdisk CLAIMED DEVICE DGC CX700WDR10
/dev/dsk/c26t4d1 /dev/rdsk/c26t4d1
disk 903 1/0/8/1/0.21.15.0.0.4.2 sdisk CLAIMED DEVICE DGC CX700WDR10
/dev/dsk/c26t4d2 /dev/rdsk/c26t4d2
disk 905 1/0/8/1/0.21.15.0.0.4.3 sdisk CLAIMED DEVICE DGC CX700WDR10
/dev/dsk/c26t4d3 /dev/rdsk/c26t4d3
/dev/dsk/c29t4d0 /dev/rdsk/c29t4d0
disk 902 1/0/8/1/0.21.47.0.0.4.1 sdisk CLAIMED DEVICE DGC CX700WDR10
/dev/dsk/c29t4d1 /dev/rdsk/c29t4d1
disk 904 1/0/8/1/0.21.47.0.0.4.2 sdisk CLAIMED DEVICE DGC CX700WDR10
/dev/dsk/c29t4d2 /dev/rdsk/c29t4d2
disk 906 1/0/8/1/0.21.47.0.0.4.3 sdisk CLAIMED DEVICE DGC CX700WDR10
/dev/dsk/c29t4d3 /dev/rdsk/c29t4d3
James R. Ferguson
Acclaimed Contributor
Solution

Re: physical volume --PV status -unavailable

Hi (again):

Sorry we want to see if you can get to c29t4d1 and/or c26t4d1, so do:

# dd if=/dev/rdsk/c26t4d1 of=/dev/null bs=64k count=100

# dd if=/dev/rdsk/c29t4d1 of=/dev/null bs=64k count=100

Regards!

...JRF...
Patrick Wallek
Honored Contributor

Re: physical volume --PV status -unavailable

It appears from ioscan that the disk is available.

What happens if you do:

# diskinfo /dev/rdsk/c26t4d1
# diskinfo /dev/rdsk/c29t4d1

If those are successful and show the correct size of the disk then you might try a pvchange on them.

# pvchange -s /dev/dsk/c26t4d1
# pvchange -s /dev/dsk/c29t4d1

Then do your vgdisplay again and see what the status is.
Sยภเl Kย๓คг
Respected Contributor

Re: physical volume --PV status -unavailable

Hi,
I think the alternate path might was not working for some time. But in your ioscan o/p all paths and disks are seems to be fine.

Can you do a #vgchange -a y /dev/vg73
and psot the result.

Regards,
Sunil
Your imagination is the preview of your life's coming attractions
R.KrishnaKumar
Frequent Advisor

Re: physical volume --PV status -unavailable

hi bunty,

u can get more information of the disks through the diskinfo command,

#diskinfo /dev/dsk/c26t4d1
#diskinfo /dev/dsk/c29t4d1

and also u can try the vgchange -ay command.