Operating System - HP-UX
1747985 Members
4617 Online
108756 Solutions
New Discussion

ADDING NEW DISK CAPACITY FROM O/S LEVEL QUERY

 
SOLVED
Go to solution
gunners
Frequent Advisor

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: #

gunners
Frequent Advisor

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   │

 

Torsten.
Acclaimed Contributor

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

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: #

Torsten.
Acclaimed Contributor

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

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

Hi Torsten , I attach notepad file with extracts of above

Torsten.
Acclaimed Contributor

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

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?

chris huys_4
Honored Contributor

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)

Torsten.
Acclaimed Contributor

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!