System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

MSA-1000 unused space reallocation

Kranti Mahmud
Honored Contributor

MSA-1000 unused space reallocation

Hi All,

My MSA-1000 is in a cluster environment. Bt when I saw its properties by SMHP, I found abot 1 TB of maximum 2 TB is unused (see atached). Can anyone suggest me how to use this available space for other purpose? How can I check that, either the total space are raw space which is totally unused or the unused space is the collective raw space of used PV's?

Rgds-Kranti
Dont look BACK as U will miss something INFRONT!
5 REPLIES
Steven E. Protter
Exalted Contributor

Re: MSA-1000 unused space reallocation

Shalom,

I'm not sure I agree with your analysis.

There is unallocated space in vg01 554 GB.

That can be allocated with lvcreate or lvextend of an existing logical volume.

vg02 has around 450 GB free PE's available for allocation by the same methods.

vg03 has 1 TB allocated to it and 187 GB free for allocation.

Here is my take:

vgo1 4 TB allocated to logical volumes 550 or so GB available for allocation within the volume group.

vg04 is inactive and may have some space tied to it.

I don't see 2 TB unused space, maybe I misread the report.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Matti_Kurkela
Honored Contributor

Re: MSA-1000 unused space reallocation

> how to use this available space for other purpose?

The space listed as "Free PE" is not used by anything at this moment, but it is already tied to the VG. In a cluster, this is important because in a failover operation, the entire VG moves as a whole.

You can use the "Free PE" in each VG by either:
- using the "lvcreate" command (or maybe a similar function in SMHP) to create new LVs to that VG and then initializing them as appropriate (e.g. create a filesystem on the new LV, or set it up as a raw data LV for a database), or

- using the "lvextend" command to enlarge an existing LV in the same VG. If the enlarged LV contains a filesystem and you have OnlineJFS installed, you can use the "fsadm" command to extend the filesystem without unmounting it; if you don't have OnlineJFS, you must unmount the filesystem and use the "resizefs" command. If the enlarged LV contains raw storage for a database, read the administration manual of that database to find out how to make it use the new space. (Usually it's easier to set up new raw data LVs for a database than to extend old raw data LVs.)


Creating new LVs in a VG that is used by the cluster requires cluster administration actions: see the administration manual of your cluster.

In a ServiceGuard cluster, you create the new LV as usual on the node that has the VG active, then create a new map file for the VG (using the -p option of the vgexport command) and re-import the VG on all the other nodes.

> How can I check that, either the total space are raw space which is totally unused or the unused space is the collective raw space of used PV's?

Uhh... I'm not sure I understand the question.

"Total PE" for a VG is the sum of the sizes of PVs attached to that VG.

Total PE = Free PE + Allocated PE, this is always true (unless your VG is corrupted and then you would have other big problems too).

When a PV is attached to a VG, no other VG in the same system can use any part of it. You cannot split a PV so that a part of it would be used in one VG and the rest in another: the LVM simply does not have a way to do that.

As you're using MSA-1000, your PVs are actually logical units (LUNs) created by the MSA, and they may or may not match exactly to actual physical disks: you must examine the configuration of the MSA-1000 to know.

Apparently there is no Array Configuration Utility for HP-UX, so you must access the MSA-1000 command line interface by using a serial cable plugged into the front panel of the MSA-1000. See this document for more information:

http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c01183955/c01183955.pdf

MK
MK
Kranti Mahmud
Honored Contributor

Re: MSA-1000 unused space reallocation

Hi Guys,

Can any1 suggest me the following by checking the attached file:

1. How to calculate the available free space?
2. How to use the free space of the MSA1000?

Rgds-Kranti
Dont look BACK as U will miss something INFRONT!
YAQUB_1
Respected Contributor

Re: MSA-1000 unused space reallocation

Hi Kranti,

Have U access CLI this MSA? If U can then send me below command:-

CLI> show tech_support

//BR
Yaqub

Kranti Mahmud
Honored Contributor

Re: MSA-1000 unused space reallocation

Hi There,

Attached is the info of MSA 1000 collected from CLi console. Please advice me how to use the unallocated spaces?

Rgds-Kranti
Dont look BACK as U will miss something INFRONT!