- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Extending a Virtual LvDisk online
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
04-11-2011 05:06 AM
04-11-2011 05:06 AM
Extending a Virtual LvDisk online
Im trying to extend a virtual disk on a VM, this are the steps I've done so far,
On host
lvextend -L size /dev/vgvmtest/lvtest3_vg01
On virtual guest
ioscan -fnNC disk
diskinfo /dev/rdisk/disk7
And I could not see the new size of the disk, so I could not vgmodify the guest vg
Any hint?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2011 02:06 AM
04-12-2011 02:06 AM
Re: Extending a Virtual LvDisk online
Two things :
1) Limitation of HP-UX
Which version of HP-UX is running inside the guest ?
If it is not HP-UX 11.31 and whatever the harware is, virtual or not, increasing the size of a disk is not acknowledged by HP-UX if the disk is in use.
As I understand your configuration the virtual disk is used by the VM Guest with LVM. If the corresponding VG is activated in the guest, you will see no difference with diskinfo until the VG is deactivated.
2) Limitation of HPVM
Regardless of the first point, increasing the capacity of a backing store (raw device, LV device, or file device) must be propagated to the VM Guest OS by HPVM. I don't remember exactly, but I think it has began to work well only whith HPVM 4.1
In a summary to have online disk expansion working well : Host 11.31, Guest 11.31 and HPVM >= 4.1
And of course better to work with LVM 2.x and OnlineJFS to take advantage of disk expansion. But it is an other story.
Regards
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2011 04:30 AM
04-12-2011 04:30 AM
Re: Extending a Virtual LvDisk online
One thing I should be able to extend the vg online with vgmodify -a -E
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2011 06:16 AM
04-12-2011 06:16 AM
Re: Extending a Virtual LvDisk online
NO. You won't be able to extend the VG online with LVM 1.0. As far as I know it is possible to do it online only from LVM 2.0 version. With LVM 1.0, you can extend the size only when the VG is deactivated and of course if max PE/PV is high enough to support the new size.
"Im using HP-UX 11v3 with HPVM v4.2"
Yes, but what about HP-UX in the VM Guest ? If it is also HP-UX 11.31, I am a bit surprised that you can't see the new size with diskinfo.
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2011 06:17 AM
04-12-2011 06:17 AM
Re: Extending a Virtual LvDisk online
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2011 06:27 AM
04-12-2011 06:27 AM
Re: Extending a Virtual LvDisk online
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2011 06:59 AM
04-12-2011 06:59 AM
Re: Extending a Virtual LvDisk online
An extract from AVIO guide february 2011 :
--------------------
AVIO supports online expansion of backing store capacity. 11iv3 AVIO guest dynamically detectsbacking store capacity increase and makes the additional space available in the guest.
--------------------
Did not found that VIO doesn't support it, but I guess it don't.
The problem is that LV on iSCSI as LV AVIO backing store is not supported. RN HPVM 4.2.5 January 2011 :
--------------------
iSCSI-based backing stores are not supported with a physical volume under a logical volume that is then exposed to guests as a virtual disk using AVIO.
--------------------
So ... I see no solution to do it on line. You will have to stop the VM :-(
Is it possible that you modify the design ? For example, if you use raw iSCSI backing store instead of LV iSCSI backing store you you should be able to use AVIO drivers ?