cancel
Showing results for 
Search instead for 
Did you mean: 

Creating new mount points

 
Randy Durden
Frequent Advisor

Creating new mount points

I have created a new volume on a NetApps systems and created the new volume group on my HP 11.11 machine. How do I determine what physical volume to use with the volume group.
There are other volume groups with physical volumes point to the NetApps machine.
Any help would be deeply appreciated.
13 REPLIES
Robert-Jan Goossens_1
Honored Contributor

Re: Creating new mount points

Hi Randy,

Try

# ioscan -fnkCdisk

and

# ioscan -fnCdisk

If you have presented a new lun to the system, you should see the new lun in the last command.

Regards,
Robert-Jan
Randy Durden
Frequent Advisor

Re: Creating new mount points

I ran

ioscan -fnCdisk

How will I know which one is the new one?

It has come up with quite a few NETAPP LUN entries
Robert-Jan Goossens_1
Honored Contributor

Re: Creating new mount points

could you attach the output?

--
There are other volume groups with physical volumes point to the NetApps machine.
--
Do you use raw disks in any databases, or are all your disk configured in volume groups?

# vgdisplay -v

Regards,
Robert-Jan
sujit kumar singh
Honored Contributor

Re: Creating new mount points

Hi Randy,


Also please attach the strings /etc/lvmtab and the ioscan -fnCdisk.

Also you can do the following and attach the same.

#for i in /etc/lvmconf/*.conf
>do
>echo $i;vgcfgrestore -l -f $i
>done



This would show something like this.

# for i in /etc/lvmconf/*.conf
> do
> echo $i;vgcfgrestore -l -f $i
> done
/etc/lvmconf/vg00.conf
Volume Group Configuration information in "/etc/lvmconf/vg00.conf"
VG Name /dev/vg00
---- Physical volumes : 1 ----
/dev/rdisk/disk5_p2 (Bootable)
#


Please attach the O/p, that shall be also helpful.


Regards
sujit
Randy Durden
Frequent Advisor

Re: Creating new mount points

I'm working on getting the output.

Having a little trouble getting the file off the system.
Randy Durden
Frequent Advisor

Re: Creating new mount points

Sorry, but unable to get you the outputs.

It looks like all are volume group, no raw disk.
Randy Durden
Frequent Advisor

Re: Creating new mount points

Below are a few entries from the ioscan -fnCdisk command.

disk 587 1/0/4/0/0.2.11.0.1.7.1 sdisk CLAIMED DEVICE NETAPP LUN
/dev/dsk/c46t7d1 /dev/rdsk/c46t7d1

disk 558 1/0/4/0/0.2.11.0.1.9.1 sdisk CLAIMED DEVICE NETAPP LUN
/dev/dsk/c46t9d1 /dev/rdsk/c46t9d1

these are the last 2 entries.

I don't if this helps or not.
Randy Durden
Frequent Advisor

Re: Creating new mount points

I have found the physical volumes. Now when I do a
vgcreate /dev/vg*** /dev/dsk/c##t#d#

I get
IO error on Physical Volume device.
Patrick Wallek
Honored Contributor

Re: Creating new mount points

Have you done a 'pvcreate' on the devices?
Randy Durden
Frequent Advisor

Re: Creating new mount points

I'm showing 4 physical volumes associated with my LUN.
Do I need to do a pvcreate on all of them?
Avinash20
Honored Contributor

Re: Creating new mount points

If you are having those an an alternate path, then you could perform pvcreate on only one path.

If not an alternate path, do pvcreate for all the PV's

Basically the controller will change if you view in the ioscan output

cxtydz
catydz

Here dz is the disk which is referred by two contollers(cx and ca).. Both refer to the same disk.

The best way is to finr out from the Storage software which you are using
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
avizen9
Esteemed Contributor

Re: Creating new mount points

Hello randy,

you try
can you do quick look with SAM
do you remember your lun size ?

open SAM > disk & file system > Disk Devices >

if you still not created any Pv with this lun it should show as unused. but you need to compare hardware path to make sure which lun belongs to which HDD in your hpux server.
Randy Durden
Frequent Advisor

Re: Creating new mount points

Completed. Thanks