Get the disk info

 
Hkandati
Occasional Advisor

Get the disk info

Hi all

After storage team assigned disk to the server(HP-UX 11.00). I want to check the disk name assigned on to the sever.

Because I want the disk name to add to a particular volume grooup.
11 REPLIES 11
James R. Ferguson
Acclaimed Contributor

Re: Get the disk info

Hi:

# ioscan -fnC disk

Regards!

...JRF...
A. Clay Stephenson
Acclaimed Contributor

Re: Get the disk info

After you do an "ioscan -fn" (you can add -C disk, if you like). Next do, "insf" to create the new device nodes. You can then do a final "ioscan -fn" and you should see new device nodes associated with your newly detected disks (LUN's).
If it ain't broke, I can fix that.
Hasan  Atasoy
Honored Contributor

Re: Get the disk info

hi hkandati ;

get lun number from storage team ;
ioscan -funC disk > /before
ioscan -fnc
insf
ioscan -funC disk > after
compare befaore and after files and check the new device with

for example your new device is c4txdy
lun number must equal = 8*x + y


Hasan.
Hkandati
Occasional Advisor

Re: Get the disk info

ioscan: libIO error from io_init: /dev/config - permission denied
------------------------
Got the above error when runned #ioscan -fnC disk. please help
Hasan  Atasoy
Honored Contributor

Re: Get the disk info

are you in single user mode ?
Hkandati
Occasional Advisor

Re: Get the disk info

I am multiuser mode
Torsten.
Acclaimed Contributor

Re: Get the disk info

check the permissions for /etc/config.
Example:

crw-r--r-- 1 root sys 69 0x000000 Aug 18 2005 /dev/config

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Robert-Jan Goossens
Honored Contributor

Re: Get the disk info

and you are root? And if you are root what are the permissions on the /dev/config file ?

$ ll /dev/config
crw-r--r-- 1 root sys 69 0x000000 Apr 17 2004 /dev/config
IT_2007
Honored Contributor

Re: Get the disk info

seems you may not root privilages. Login as root or use sudo to run ioscan -fn command.

What kinds of SAN is connected? EMC Symmetrix or Clariion or IBM Shark storage?

Depends on the type of SAN, you may have to use tools to query SAN disks. Once you see them then you can verify and initialize them using pvcreate.