How to mount storage disk volumes on HP-UX 11iV2

Hello  I just mapped 5 HP storage work eva disk volumes to an HP-UX server.

Do you guys know what do I need to do next??? The dba needs to install Oracle Database 10G R2 on those volumes.

I am a beginner, please help
I need a step by step procedure

ioscan -fnCdisk
Class     I  H/W Path        Driver   S/W State   H/W Type     Description
===========================================================================
disk      1  1/0/0/3/0.6.0   sdisk    CLAIMED     DEVICE       HP 146 GST3146707LC
                            /dev/dsk/c0t6d0   /dev/rdsk/c0t6d0
disk      0  1/0/0/3/1.2.0   sdisk    CLAIMED     DEVICE       _NEC    DVD_RW ND-3550A
                            /dev/dsk/c1t2d0   /dev/rdsk/c1t2d0
disk      2  1/0/1/1/0/1/1.6.0       sdisk    CLAIMED     DEVICE       HP 146 GST3146707LC
                            /dev/dsk/c3t6d0   /dev/rdsk/c3t6d0
disk      6  1/0/14/1/0.1.0.0.0.0.1  sdisk    CLAIMED     DEVICE       HP      HSV200
                            /dev/dsk/c11t0d1   /dev/rdsk/c11t0d1
disk     16  1/0/14/1/0.1.0.0.0.0.2  sdisk    CLAIMED     DEVICE       HP      HSV200
                            /dev/dsk/c11t0d2   /dev/rdsk/c11t0d2
disk     18  1/0/14/1/0.1.0.0.0.0.3  sdisk    CLAIMED     DEVICE       HP      HSV200
                            /dev/dsk/c11t0d3   /dev/rdsk/c11t0d3
disk     20  1/0/14/1/0.1.0.0.0.0.4  sdisk    CLAIMED     DEVICE       HP      HSV200
                            /dev/dsk/c11t0d4   /dev/rdsk/c11t0d4
disk     22  1/0/14/1/0.1.0.0.0.0.5  sdisk    CLAIMED     DEVICE       HP      HSV200
                            /dev/dsk/c11t0d5   /dev/rdsk/c11t0d5
disk      5  1/0/14/1/0.1.4.0.0.0.1  sdisk    CLAIMED     DEVICE       HP      HSV200
                            /dev/dsk/c13t0d1   /dev/rdsk/c13t0d1
disk     15  1/0/14/1/0.1.4.0.0.0.2  sdisk    CLAIMED     DEVICE       HP      HSV200
                            /dev/dsk/c13t0d2   /dev/rdsk/c13t0d2
disk     17  1/0/14/1/0.1.4.0.0.0.3  sdisk    CLAIMED     DEVICE       HP      HSV200
                            /dev/dsk/c13t0d3   /dev/rdsk/c13t0d3
disk     19  1/0/14/1/0.1.4.0.0.0.4  sdisk    CLAIMED     DEVICE       HP      HSV200
                            /dev/dsk/c13t0d4   /dev/rdsk/c13t0d4
disk     21  1/0/14/1/0.1.4.0.0.0.5  sdisk    CLAIMED     DEVICE       HP      HSV200
                            /dev/dsk/c13t0d5   /dev/rdsk/c13t0d5

Open in new window

Williams225System AdministatorAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Paul CoffeyCommented:
You should read the installation/configuration guide for HP UX that is sure to be a part of the documenation set for your array which should provide step by step instructions.

A summary of those steps are:

Create a physical volume with pvcreate
     pvcreate /dev/rdsk/c11t0d1

Create a volume group for the physical volume
     mkdir /dev/newvf
     mknod /dev/newvg/group c 64 0x060000

Add the physical volume to the volume group
     vgcreate /dev/newvg /dev/dsk/c11t0d1

use the command vgdisplay to list the properties of the vg you created and note the max pe and pe size values.  Multiply these together to get the total size of the vg.

Create a logical volume
lvcreate -L 4092 /dev/newvg  4092 is the size of the logical volume in Mb.

ls /dev/newvg will display the raw and character devices for the volume such as
  lvol1  rlvol1

create a filesystem

     sbin/newfs -F vxfs /dev/newvg/rlvol1

Create a mount point for the filesystem
     mkdir /usr/local/myfs

Mount the filesystem
     mount /dev/vnewvg/lvol1 /usr/local/myfs

You should be able to copy data to the new filesystem.  Oracle may have specific requirements during this process.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Williams225System AdministatorAuthor Commented:
thanx a lot!!!
mkdir /dev/vgcl01
mknod /dev/vgcl01/group c 64 0x050000

Open in new window


But I do have an error message, so I am not able to add physical volumes to the volume group can you please check

vgcreate /dev/vgcl01 /dev/dsk/c11t0d1
vgcreate: Physical Volume "/dev/dsk/c11t0d1" contains no LVM information

Open in new window

0
Paul CoffeyCommented:
That implies that pvcreate was not run before vgcreate.  Did you run pvcreate?  Can you run it again and post the output?
0
Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

Williams225System AdministatorAuthor Commented:
Bellow is the output for the 5 mapped  volumes

pvcreate /dev/rdsk/c11t0d1
pvcreate: The physical volume "/dev/dsk/c11t0d1" is already recorded in the "/etc/lvmtab" file.

Open in new window


pvcreate /dev/rdsk/c11t0d2
pvcreate: The physical volume "/dev/dsk/c11t0d2" is already recorded in the "/etc/lvmtab" file.

Open in new window


pvcreate /dev/rdsk/c11t0d3
pvcreate: The physical volume "/dev/dsk/c11t0d3" is already recorded in the "/etc/lvmtab" file.

Open in new window


pvcreate /dev/rdsk/c11t0d4
pvcreate: The physical volume "/dev/dsk/c11t0d4" is already recorded in the "/etc/lvmtab" file.

Open in new window


pvcreate /dev/rdsk/c11t0d5
pvcreate: The physical volume "/dev/dsk/c11t0d5" is already recorded in the "/etc/lvmtab" file.

Open in new window

0
Paul CoffeyCommented:
The disks are already listed in lvmtab.  Did you create physical volumes prior to trying this now?  What does vgdisplay return?

Assuming that none of these drives have been added previously you copy lvmtab to lvmtab.old and then remove lvmtab.  Then run vgscan to build a new lvmtab file and repeat the process with pvcreate.
0
Williams225System AdministatorAuthor Commented:

Output of vgdisplay.
"/dev/vgmed",  "/dev/vghist", "/dev/vgccb",  "/dev/vgmed1/group", "/dev/vgmed1 were previsiously created by the old admin sys. This disk groups are not attached to any disk, and they are not activated. I am trying to remove them if possible.
I have never created physical volumes.  I only mapped storage volumes to the server.

vgdisplay
--- Volume groups ---
VG Name                     /dev/vg00
VG Write Access             read/write     
VG Status                   available                 
Max LV                      255    
Cur LV                      9      
Open LV                     9      
Max PV                      16     
Cur PV                      2      
Act PV                      2      
Max PE per PV               4384         
VGDA                        4   
PE Size (Mbytes)            32              
Total PE                    8748    
Alloc PE                    6782    
Free PE                     1966    
Total PVG                   0        
Total Spare PVs             0              
Total Spare PVs in use      0                     
 
vgdisplay: Volume group not activated.
vgdisplay: Cannot display volume group "/dev/vgmed".
vgdisplay: Volume group not activated.
vgdisplay: Cannot display volume group "/dev/vghist".
vgdisplay: Volume group not activated.
vgdisplay: Cannot display volume group "/dev/vgccb".
vgdisplay: "/dev/vgmed1/group": not a character device.
vgdisplay: Cannot display volume group "/dev/vgmed1".

Open in new window

0
Paul CoffeyCommented:
rename lvmtab and run vgscan.
0
Williams225System AdministatorAuthor Commented:
here is the output, what do i need to do now

vgscan
Creating "/etc/lvmtab".
vgscan: Couldn't access the list of physical volumes for volume group "/dev/vg00".
vgscan: Couldn't access the list of physical volumes for volume group "/dev/vgmed".
vgscan: Couldn't access the list of physical volumes for volume group "/dev/vghist".
vgscan: Couldn't access the list of physical volumes for volume group "/dev/vgccb".
vgscan: Couldn't access the list of physical volumes for volume group "/dev/vgclm01".
Couldn't stat physical volume "/dev/dsk/c1t2d0":
Invalid argument
Physical Volume "/dev/dsk/c11t0d1" contains no LVM information
Physical Volume "/dev/dsk/c11t0d2" contains no LVM information
Physical Volume "/dev/dsk/c11t0d3" contains no LVM information
Physical Volume "/dev/dsk/c11t0d4" contains no LVM information
Physical Volume "/dev/dsk/c11t0d5" contains no LVM information
Physical Volume "/dev/dsk/c13t0d1" contains no LVM information
Physical Volume "/dev/dsk/c13t0d2" contains no LVM information
Physical Volume "/dev/dsk/c13t0d3" contains no LVM information
Physical Volume "/dev/dsk/c13t0d4" contains no LVM information
Physical Volume "/dev/dsk/c13t0d5" contains no LVM information
 
 
The Volume Group /dev/vgmed was not matched with any Physical Volumes.
The Volume Group /dev/vghist was not matched with any Physical Volumes.
The Volume Group /dev/vgccb was not matched with any Physical Volumes.
The Volume Group /dev/vgclm01 was not matched with any Physical Volumes.
*** LVMTAB has been created successfully.
*** Do the following to resync the information on the disk. 
*** #1.  vgchange -a y 
*** #2.  lvlnboot -R 

Open in new window

0
Paul CoffeyCommented:
Run the vgchange command listed and then see if pvcreate will work on one of those drives.

If this is a production machine you need to make sure you have a full restorable archive before proceeding.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.