1753522 Members
10399 Online
108795 Solutions
New Discussion

Get the disk info

 
Torsten.
Acclaimed Contributor

Re: Get the disk info

IT is right, output for non-root user:

# /sbin/ioscan
ioscan: libIO error from io_init: /dev/config - permission denied.

But you can use

# /sbin/ioscan -fnkCdisk

(-k is also allowed for non-root users).

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!   
Bill Hassell
Honored Contributor

Re: Get the disk info

Thde ioscan command only works for ordinary users when you use the -k option. You must be root to run ioscan without -k, also called the discovery mode. If you have a lot od disks on the system, it will be difficult to find the new disk LUN.

So login as root, then run:

ioscan -fC disk
insf -e

and the new device files will be created. If you missed the insf messages, you can list the device files in date order:

ll -rt /dev/dsk

and the most recently created device files will be shown at the bottom of this list. You will have to be root to add this disk to your volume group.


Bill Hassell, sysadmin