Operating System - HP-UX
1752292 Members
4623 Online
108786 Solutions
New Discussion

Re: ADDING NEW DISK CAPACITY FROM O/S LEVEL QUERY

 
SOLVED
Go to solution
gunners
Frequent Advisor

ADDING NEW DISK CAPACITY FROM O/S LEVEL QUERY

Hi,

I have a quick question. I have an RP4410 Server running hp/ux 11.11 Operating system , and an external storage disk device MSA30.

I am adding new disks tomorrow to the MSA30 , and as they are plug in direct , does the Operating system see them  instantly ? or do I have to run a command on the unix side to actually pick them up as 'physical disks'

Thanks a mill

Dave

20 REPLIES 20
Pete Randall
Outstanding Contributor

Re: ADDING NEW DISK CAPACITY FROM O/S LEVEL QUERY

Ioscan should pick them up right away.


Pete
gunners
Frequent Advisor

Re: ADDING NEW DISK CAPACITY FROM O/S LEVEL QUERY

Cheers Pete,

so literally just 'ioscan' without any switches or qualifiers ?

 

Dave

Pete Randall
Outstanding Contributor

Re: ADDING NEW DISK CAPACITY FROM O/S LEVEL QUERY

Cheers to you, too!

 

Full syntax should be "ioscan -fnCdisk", though you could certainly leave off  "Cdisk" if you don't mind wading through all the extra output.


Pete
Arunabha Banerjee
Valued Contributor

Re: ADDING NEW DISK CAPACITY FROM O/S LEVEL QUERY

Before running the ioscan just take the output # ls -ltr /dev/rdsk/ | tail -10. So that after running the ioscan you can easily notice the new disk device file. If still you are not able to see the new disk then run # insf -eC disk command.

AB
Patrick Wallek
Honored Contributor

Re: ADDING NEW DISK CAPACITY FROM O/S LEVEL QUERY

You will probably also need to tell the system to create the device files for the disks.  You do this with the 'insf' command.

 

The procedure I usually follow:

 

ioscan -fnC disk ---> This makes sure that the new disks are accessible by the OS.

 

insf -C disk ---> Creates the device files for the disks

 

ioscan -fnC disk ---> This will show the device files that were just created for the new disks.

Doug O'Leary
Honored Contributor

Re: ADDING NEW DISK CAPACITY FROM O/S LEVEL QUERY

Hey;

 

I believe it was stated above, but just to be clear: you need two commands:

 

ioscan -fnC disk # rescans the bus

insf -eC disk # create the new device drivers.

 

Hope that helps.

 

Doug


------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
Torsten.
Acclaimed Contributor

Re: ADDING NEW DISK CAPACITY FROM O/S LEVEL QUERY

It depends ...

 

Is the MSA30 connected to a plain SCSI controller or a smart array controller (e.g. sa6400)?

 

"ioscan -fn" will tell you.

 

Procedure depends on this!


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!   
gunners
Frequent Advisor

Re: ADDING NEW DISK CAPACITY FROM O/S LEVEL QUERY

OK , thats great , just have one more question here , If I add two new disks , and I want to make them 'raided' (i think is the phrase) , so if one goes bang ,  the other keeps the data intact , and we just need to replace it and it builds itself back into the two disk set , how do i configure this ?

Torsten.
Acclaimed Contributor

Re: ADDING NEW DISK CAPACITY FROM O/S LEVEL QUERY

For this functionality you need a smartarray controller installed in the server. You can configure RAID1 or RAID5 on the disks. In case of a disk failure just replace the disk - done.

 

Otherwise you can mirror the disks with LVM, but you need to do adjustments after a disk replacement.

 

Please show your

 

# ioscan -fn


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!