Operating System - HP-UX
1751974 Members
5179 Online
108784 Solutions
New Discussion юеВ

Re: Adding Lun To a Server

 
Ray Bell
Regular Advisor

Adding Lun To a Server

I had the SAM administrator create 1 400 GB Lun and I can see the LUN when I run smh and they are presented:

64000/0xfa00/0x1e /dev/disk/disk10 unused - 2 0.00 DGC LUNZ
64000/0xfa00/0x1f /dev/disk/disk10 unused - 2 1.00 DGC RAID 5
64000/0xfa00/0x20 /dev/disk/disk10 unused - 2 400.00 DGC RAID 5
But when I try to create a physical volume I get the following error:
Couldn't stat physical volume "/dev/disk/disk10":
pvcreate: Couldn't open physical volume "/dev/disk/disk10":
No such file or directory

What's wrong with the physical disk. Can the server really see it or there is probably so isseu with the LUN presentation?
6 REPLIES 6
Jim Walls
Trusted Contributor

Re: Adding Lun To a Server

It looks as if you are running HP-UX 11.31.

uname -a


I am not familiar with 11.31 but on 11.23 systems you need to run:

ioscan
insf

... to pick up any new LUNs. Only then can you create the PV.

chris huys_4
Honored Contributor

Re: Adding Lun To a Server

Hi Ray,

Cut&Paste, ioscan -fn ; ioscan -fnN ; ioscan -m dsf; ioscan -P health in your reply.

As the luns "involved" are from a emc clariion diskarray, if Im not mistaken, is there any powerpath multipathing software installed on this host (which would not be needed offcourse ;) ) ?

Greetz,
Chris
madhuchakkaravarthy
Trusted Contributor

Re: Adding Lun To a Server

hi

post the above output which were asked.

my suggestion is always use CLI



pvcreate /dev/rdisk/disk10

if sure that device was not used before ,can

use

pvcreate -f /dev/rdisk/disk10


regards

MC
vishnu.khandare
Respected Contributor

Re: Adding Lun To a Server

Hi Ray,
Its easy to go ahead for pvcreate if you are able to see the disk.
do as follows;
#insf -e
#ioscan -fnC disk
then
#pvcreate -f /dev/rdisk/disk10

Hope this solves ur issue

Regards
Vishnu Khandare
You should deserve before U desire!!!!
Chandrahasa s
Valued Contributor

Re: Adding Lun To a Server

Hi,

Whats os version??
Which storage your using??

Run command

#ioscan -fnC disk

#insf -e

then go head with

pvcreate -f pvname

Chandra
singh sanjeev
Trusted Contributor

Re: Adding Lun To a Server

please provide the output of :
run below command to create the device file
#insf -eC disk


#diskinfo /dev/rdisk/disk10
#strings /etc/lvmtab |grep -i disk10

check dmesg for any error.


Sanjeev Singh