1832226 Members
2266 Online
110041 Solutions
New Discussion

DiskAdd

 
SOLVED
Go to solution
Jiri D
Advisor

DiskAdd

I want create new disk in storage and add this disk to HP server HPUX 11.00.When I create new disk,I reboot machine and new disk added to disks pool.How I can add disk without reboot system?

Jirid
3 REPLIES 3
Vincenzo Restuccia
Honored Contributor

Re: DiskAdd

/sbin/insf [-C class | -d driver] [-D directory] [-e] [-H hw-path] [-I instance] [-n npty] [-q|-v] [-s nstrpty] [-p first-optical-disk:last-optical-disk]

Victor BERRIDGE
Honored Contributor

Re: DiskAdd

Hi,
I would see if ioscan is sufficient:
#ioscan
then
#ioscan -fnC disk #to see if the new disk(s) is there

All the best
Victor
Bill McNAMARA_1
Honored Contributor
Solution

Re: DiskAdd

Re ioscan.

If you issue an ioscan with a -k option it'll return a list of currently known to the kernel hardware. Without the -k option the drivers will not be reset and told to scan for new h/w.
This scan takes a significant ammount of CPU time and on some systems can take up to 30 mins depending on how much h/w is attached.

In your case because you've added new h/w you need to run the ioscan without the -k to scan for new h/w. Seeing as you only added the disk, just scan for disks
ioscan -fnCdisk
which will just reset the sdisk driver.

You can limit your full ioscan to h/w path also.
ioscan -fnH8/8.8.0.255.0
etc....

the insf to install special files works more or less on the same syntak.
It is prefered not to insf -e
but to insf -eH8/8.8.0.255.0 -Cdisk
or
from ioscan -fnkCdisk
look at the Instance number of the disk
insf -eCdisk -I 25

lssf /dev/dsk/cXtYdZ
to verify.
pvcreate, vgextend/create, lvcreate/extend as usual.....

Later,
Bill
It works for me (tm)