Operating System - HP-UX
1748151 Members
3858 Online
108758 Solutions
New Discussion юеВ

Re: SAN Disks not appearing

 
SOLVED
Go to solution
Adel B
Occasional Advisor

Re: SAN Disks not appearing

The San ports were disabled as you said Chris. But now we have another problem the device files names changed which prevents the volume group from activating.
they used to be c12t0d2 and c12t0d3 but now they are c12t0do and c12t0d1. How can I fix this?
Sagar Sirdesai
Trusted Contributor

Re: SAN Disks not appearing

Hi
vgexport the volume groups with the map files.
Then vgimport it with the correct device files.

You do not want to specify the device files then while you vgexport the volume groups use the -s option.

Then again while vgimporting again use the -s option

Sagar
Adel B
Occasional Advisor

Re: SAN Disks not appearing

Can you please give me more detail on how to vgexport and import please
Michael Steele_2
Honored Contributor

Re: SAN Disks not appearing

Hi

What version of hp-ux are you using? The procedure below if for 11.23 and earlier. Check to see if you are using 11.31.

This is a complicated task but there are several ways to verify your work.

a) vgcfgrestore -f /etc/lvmconf -l

What you should see are the old devices

b) vgscan -s -a -v -p

-p for preview
-a for search every controller
-v for verbose
-s for sharable pvs - causes vgscan to read the lvm header of every pv, note the vg written in the lvm header, populate /etc/lvmtab by this info.

c) vgexport -p -v -s -m mapfile /dev/vg
-p preview
-v verbose
-s sharable - update the pv lvm header by vg belonging to the pv
-m hp-ux ascii file, used to rebuilt the vg.

d) vgimport -s -p -m mapfile /dev/vg
-p preview
-m mapfile
-s sharable - add pv's based upon lvm header

here is a good thread.

http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1270558959757+28353475&threadId=1287624
Support Fatherhood - Stop Family Law
Adel B
Occasional Advisor

Re: SAN Disks not appearing

Thanks a lot guys the problem was solved by enabling the San switch ports which were disabled.

Then exporting and importing the VGs.
Adel B
Occasional Advisor

Re: SAN Disks not appearing

San Switch Enable

Export/import VGs