- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to increase VG size that exists on SAN (STK D2...
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
Discussions
Discussions
Forums
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
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
тАО05-08-2009 02:06 AM
тАО05-08-2009 02:06 AM
I am using HP-UX 11iv1 Release B.11.11, I have a Volume Group that physically exists on the SAN (StorageTek D280), I have increased the size of this VG on SAN but on my HP-UX machine I still see the same old size of that VG.
My question is that how can I increase the VG size on my HP-UX whose size is already increased on SAN.
--
Muhammad Bilal
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2009 02:21 AM
тАО05-08-2009 02:21 AM
SolutionA very similar question came up recently - see this thread here:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1335775
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2009 02:26 AM
тАО05-08-2009 02:26 AM
Re: How to increase VG size that exists on SAN (STK D280)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2009 08:49 AM
тАО05-09-2009 08:49 AM
Re: How to increase VG size that exists on SAN (STK D280)
If you extend the LUN itself you may not be able to use the space except with 11.23 and 11.31 with the vgmodify command.
I am pretty sure 11.11 does not support dynamic lun expansion.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2009 08:48 PM
тАО05-10-2009 08:48 PM
Re: How to increase VG size that exists on SAN (STK D280)
I am managing StorageTek-D280 SAN through SANtricity Storage Manager utility. On my SANtricity Storage Manager I have volume group named "Volume Group 5" in which I have volume "Ora1" I have increased the size of "Ora1" from 20Gb to 30 Gb. Thats good increased with no errors, but when I checked on my HP-UX the mapped volume "Ora1" was 20 Gb. Kindly suggest me what to do.
1). How to get 30Gb logical volume on my HP-UX, keeping in mind I can't backup,remove,create and restore new logical volume due to some policy constraints.
2). If I create a new volume on my SAN, what will be the procedure to extend my existing logical volume into new volume in HP-UX.
3). If I got LUN of new volume from SAN how to work with LUN in HP-UX and add it into my existing Logical Volume.
...
Bilal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2009 10:57 PM
тАО05-10-2009 10:57 PM
Re: How to increase VG size that exists on SAN (STK D280)
The volume group on the STK device is not releated in any way to the volume group you see on the HP-UX host, except in your head and at some abstract level in terms of grouping LUNs together.
You will need to reset the LUN you increased in size back to the size it was previous to the change. I hope you know *exactly* what size it was previously, as if you make it too small, you risk corrupting the data you have on the LUN. If you're not sure, best probably to just leave it for the moment - you just won't have access to that extra 10GB of space...
So to get extra space in your volumes on HP-UX, do the following:
First identify which volume group the volume is in by running "bdf" on the host and looking at the volume nae associated with the filesystem - should be something like /dev/vgNN/lvolX - where vgNN is the volume group name, and lvolX is the logical volume name
i) Create a new KLUN in the group you hgave defined on the STYK device of 10GB in size, and present this LUN to the HP-UX host (I can't give you more details on this as I don't know the SANtricity tool)
ii) run the commands:
ioscan
insf -C disk
If you've presented the LUN correctly, that should show you the new disk device that has been created (the output of insf should tell you that)
iii) extend the disk into the volume group:
pvcreate /dev/rdsk/cXtYdZ
vgextend vgNN /dev/dsk
if there is more than one "path" to your LUN, you should include the other patsh as well when you vgextend
iv) once the new is in the volume group, check how much additional space you have in the volume group using vgdisplay:
vgdisplay vgNN
you should see a number of "Free PE" which indicates the number of free physical extents in the VG - multiply this by the value of "PE Size (MBytes)" and it should come to around the 10GB you have added
now extend the logical volume you want to grow by running lvextend using the value from "Free PE" as N below to add all these free extents to your logical volume:
lvextend -l N /dev/vgNN/lvolX
v) Now you need to grop the filesystem into the new space in the LV - how you do this depends on whether you have OnlineJFS installed - if you do you can do it online, if you don't you'll need to stop all IO to the filesystem (probably by stopping your application) anmd unmount it while you extend the filesystem. Check if you have OnlineJFS using "swlist | grep -i jfs"
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2009 11:00 PM
тАО05-10-2009 11:00 PM
Re: How to increase VG size that exists on SAN (STK D280)
Are you the admin for this system? If you're not clear on how to do basic tasks like this, you need to speak to your boss about some training.
Without going on a rant, there are far too many individuals working on IT systems these days with no training and no experience of what they are doing - if it wasn't for forums like this, and google there would be a lot of systems down for a lot of the time.
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2009 01:58 AM
тАО05-11-2009 01:58 AM