Operating System - HP-UX
1826499 Members
1511 Online
109692 Solutions
New Discussion

question on adding new disks to rp5470 server

 
SOLVED
Go to solution
Gino Castoldi_2
Honored Contributor

question on adding new disks to rp5470 server

Hi,

Server: HPUX 11.11 rp5470 36GB LVD disks

We added two internal disks to our server.
I ran ioscan -fnC disk and I see the disks and the h/w paths.

Question: what do I do next to create the disk devices themselves? (/dev/dsk/c#t#d3)

# ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
=============================================================
disk 27 0/0/1/1.0.0 sdisk CLAIMED DEVICE SEAGATE ST336704LC

10 points to any answer.
Thank you
-Gino
5 REPLIES 5
Matti_Kurkela
Honored Contributor
Solution

Re: question on adding new disks to rp5470 server

The command you need is "insf".
If you want to restrict it to disk devices only (just to be safe), then "insf -C disk"
MK
Gino Castoldi_2
Honored Contributor

Re: question on adding new disks to rp5470 server

Hi,

Should I run the "insf" command like this?
root# insf -e -H 0/0/1/1.0.0


10 points to any answer.
Thank you
-Gino
Torsten.
Acclaimed Contributor

Re: question on adding new disks to rp5470 server

insf will create device files, e.g. c1t2d0.

Now you can create a PV (pvcreate), create or extend a volume group - this is up to your needs.

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!   
Matti_Kurkela
Honored Contributor

Re: question on adding new disks to rp5470 server

> Should I run the "insf" command like this?
root# insf -e -H 0/0/1/1.0.0

If you wish; that works too. However, simple "insf" with no options will automatically create device files for all devices that don't have them yet. If the addition of two disks is the only hardware change, just "insf" creates devices for both disks at once and is much shorter to type :)

If your /dev/dsk and/or /dev/rdsk directories have some old device files that have not been removed properly (e.g. ioinit was run for some reason, or this system was cloned from an Ignite image), then the "-e" option may be useful: it permits insf to delete any existing device files with the same name, and then create the correct device file(s) using standard names, device numbers & permissions.

MK
MK
Vishu
Trusted Contributor

Re: question on adding new disks to rp5470 server

Hi,

You can also run as

# insf -e -C disk

it will create device files for your disks or if you dont want to run it on entire disk class, then you can create as you written above (by specifying the h/w path).