- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ADDING NEW DISK CAPACITY FROM O/S LEVEL QUERY
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2011 02:40 AM
07-27-2011 02:40 AM
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2011 04:25 AM
07-27-2011 04:25 AM
Re: ADDING NEW DISK CAPACITY FROM O/S LEVEL QUERY
Ioscan should pick them up right away.
Pete
- Tags:
- ioscan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2011 04:39 AM
07-27-2011 04:39 AM
Re: ADDING NEW DISK CAPACITY FROM O/S LEVEL QUERY
Cheers Pete,
so literally just 'ioscan' without any switches or qualifiers ?
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2011 04:50 AM
07-27-2011 04:50 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2011 08:44 AM
07-27-2011 08:44 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2011 09:40 AM
07-27-2011 09:40 AM
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.
- Tags:
- insf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2011 10:36 AM
07-27-2011 10:36 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2011 10:38 AM
07-27-2011 10:38 AM
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2011 10:25 PM
07-27-2011 10:25 PM
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 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2011 10:40 PM
07-27-2011 10:40 PM
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2011 03:17 AM
07-28-2011 03:17 AM
Re: ADDING NEW DISK CAPACITY FROM O/S LEVEL QUERY
Hmmm , not sure i understand whats happened - see below - I have physically installed 4 disks - 2 on each side of the MSA30 , bu it looks like nothing has changed ? :S
dubhptst: # ls -ltr /dev/rdsk/ | tail -10
total 0
crw-r--r-- 1 bin sys 188 0x000000 Jun 22 2007 c0t0d0
crw-r--r-- 1 bin sys 188 0x040000 Jul 27 2009 c4t0d0
crw-r--r-- 1 bin sys 188 0x040100 Jul 27 2009 c4t0d1
crw-r--r-- 1 bin sys 188 0x020000 Sep 14 2009 c2t0d0
crw-r--r-- 1 bin sys 188 0x021000 Sep 14 2009 c2t1d0
dubhptst: # ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
==========================================================================
disk 0 0/0/3/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-N
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 73.4GMBA3073NC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
disk 2 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 73.4GST373454LC
/dev/dsk/c2t1d0 /dev/rdsk/c2t1d0
disk 3 0/6/1/0/4/0.0.0 sdisk CLAIMED DEVICE HP LOGICAL
VOLUME
/dev/dsk/c4t0d0 /dev/rdsk/c4t0d0
disk 4 0/6/1/0/4/0.0.1 sdisk CLAIMED DEVICE HP LOGICAL
VOLUME
/dev/dsk/c4t0d1 /dev/rdsk/c4t0d1
dubhptst: # insf -eC disk
insf: Installing special files for sdisk instance 0 address 0/0/3/0.0.0.0
insf: Installing special files for sdisk instance 1 address 0/1/1/0.0.0
insf: Installing special files for sdisk instance 2 address 0/1/1/0.1.0
insf: Installing special files for sdisk instance 3 address 0/6/1/0/4/0.0.0
insf: Installing special files for sdisk instance 4 address 0/6/1/0/4/0.0.1
dubhptst: # ls -ltr /dev/rdsk/ | tail -10
total 0
crw-r----- 1 bin sys 188 0x000000 Jun 22 2007 c0t0d0
crw-r----- 1 bin sys 188 0x040000 Jul 27 2009 c4t0d0
crw-r----- 1 bin sys 188 0x040100 Jul 27 2009 c4t0d1
crw-r----- 1 bin sys 188 0x020000 Sep 14 2009 c2t0d0
crw-r----- 1 bin sys 188 0x021000 Sep 14 2009 c2t1d0
dubhptst: #
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2011 06:20 AM
07-28-2011 06:20 AM
Re: ADDING NEW DISK CAPACITY FROM O/S LEVEL QUERY
Hi just an addition , I think Im learning more as I go along here , would I be right in thinking that if I have added in two disks on each side of the MSA30 Disk unit , that they would show up as 'additional space' on the devices that already exist - so in other words see below from 'SAM' extract of disk devices , the additional space would show up on vg01 and vg02 below. If this is t rue then it has not happened
0/0/3/0.0.0.0 1 Unused -- 0 DVD-ROM Drive ( ^ │
││ 0/1/1/0.0.0 1 LVM vg00 70007 HP 73.4GMBA3073 │
││ 0/1/1/0.1.0 1 LVM vg00 70007 HP 73.4GST37345 │
││ 0/6/1/0/4/0.0.0 1 LVM vg01 138920 HP LOGICAL │
││ 0/6/1/0/4/0.0.1 1 LVM vg02 138920 HP LOGICAL │
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2011 04:17 AM
07-30-2011 04:17 AM
Re: ADDING NEW DISK CAPACITY FROM O/S LEVEL QUERY
"LOGICAL VOLUME" indicates you are using a smart array controller.
Use ioscan to find the controller device, e.g.
# ioscan -fnCciss
and get the information
saconfig /dev/ciss1
the use saconfig to configure the new disks.
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2011 07:23 AM
08-01-2011 07:23 AM
Re: ADDING NEW DISK CAPACITY FROM O/S LEVEL QUERY
Hi there Torsten , ok I ran those commands , is this what I should expect to come back as the response?
the ioscan just came back to the unix prompt
dubhptst: # ioscan -fnCciss
dubhptst: # saconfig /dev/ciss1
saconfig (/dev/ciss1): Error - File open failed
saconfig (/dev/ciss1): No such file or directory, errno=2
SmartArray RAID device files (/dev/cissX) found using "/usr/sbin/ioscan -kfnd
ciss":
Class I H/W Path Driver S/W State H/W Type Description
========================================================================
ext_bus 4 0/6/1/0/4/0 ciss CLAIMED INTERFACE PCI-X SmartArray 640
2 RAID Controller
/dev/ciss4
Run "sautil run_startup_script" if you suspect that the device file is missing
or corrupted.
dubhptst: #
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2011 10:00 AM
08-01-2011 10:00 AM
Re: ADDING NEW DISK CAPACITY FROM O/S LEVEL QUERY
Run
# sautil /dev/ciss4
# saconfig /dev/ciss4
and post.
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2011 10:46 AM
08-02-2011 10:46 AM
Re: ADDING NEW DISK CAPACITY FROM O/S LEVEL QUERY
Hi Torsten , I attach notepad file with extracts of above
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2011 10:57 AM
08-02-2011 10:57 AM
Re: ADDING NEW DISK CAPACITY FROM O/S LEVEL QUERY
Let's see what we have:
1 MSA30 with DB module
2 logical drives in RAID5 (138920 MB each)
6 assigned disks
4 unassigned (new) disks
Now you have several options:
extend the existing RAIDs
-> extend the existing logical drives
-> create new logical drives on the existing RAIDs
create 1 or more new RAIDs with new logical drives
What is your goal?
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2011 01:20 PM
08-02-2011 01:20 PM
Re: ADDING NEW DISK CAPACITY FROM O/S LEVEL QUERY
Ok Torsten ,
Thanks again for coming back to me
Right , Literally I just want to see more disk space on the current environment. So when I go into 'sam' I want to see the additional diskspace I have added , coming up on vg01 and vg02 and thus I can extent my filesystems as they grow in the future as we may be doing disk to disk backups , so I guess its the 'extend the existing RAIDs' option is what I want from your question below
Now you have several options:
extend the existing RAIDs
-> extend the existing logical drives
-> create new logical drives on the existing RAIDs
create 1 or more new RAIDs with new logical drives
What is your goal?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2011 06:14 PM
08-02-2011 06:14 PM
Re: ADDING NEW DISK CAPACITY FROM O/S LEVEL QUERY
you will need first to check if the existing volumegroups, were you want the luns to be increased from, would be able to "accept" the increased lunsize.
I.e.
# vgdisplay /dev/vg01
# vgdisplay /dev/vg02
And its the product of "max PV per PE * PE size" , which will determine, the maximum size of any lun within that volumegroup. (and no, you dont want to play with vgmodify on hp-ux 11.11)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2011 11:05 PM
08-02-2011 11:05 PM
Re: ADDING NEW DISK CAPACITY FROM O/S LEVEL QUERY
I would do the following:
- check with vgdisplay the maximum values for the VGs
- create a new RAID5 on the 6 new disks (see man saconfig)
- create 2 (or more) logical drives on the RAID
- add them to the existing VGs
- vgextend the VG's
- lvextend or lvcreate the LVOLs
- extend or create the file systems
- done
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2011 02:49 AM
08-23-2011 02:49 AM
SolutionHi Torsten, I've been on holidays , apologies for leaving this in limbo.
Ok , Ive managed to get a solution as follows:
sautil /dev/ciss4 -s (this gave me the details of the controller and its disks
--- LOGICAL DRIVE SUMMARY ---------------------------------------------------
# RAID Size Status
0 5 138920 MB OK
1 5 138920 MB OK
---- SCSI DEVICE SUMMARY -----------------------------------------------------
Location Ch ID Type Capacity Status
external 1 0 DISK 72.8 GB OK
external 1 1 DISK 72.8 GB OK
external 1 2 DISK 72.8 GB OK
external 1 3 DISK 72.8 GB UNASSIGNED
external 1 4 DISK 72.8 GB UNASSIGNED
external 1 15 PROCESSOR
external 2 0 DISK 72.8 GB OK
external 2 1 DISK 72.8 GB OK
external 2 2 DISK 72.8 GB OK
external 2 3 DISK 72.8 GB UNASSIGNED
external 2 4 DISK 72.8 GB UNASSIGNED
external 2 7 PROCESSOR
I was then able to see the 'unassigned' disks and create a new raid 5 using below command
saconfig /dev/ciss4 -R 5 -p 1:3 -p 1:4 -p 2:3 -p 2:4
I was then able to work away with the extra capacity.
Thanks for all the pointers as always