- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Dynamic Lun Expansion on HP-UX 11.31
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-12-2011 08:12 AM
07-12-2011 08:12 AM
Dynamic Lun Expansion on HP-UX 11.31
I have an rx2660 running HP-UX11.31 connected to EVA6400. On the EVA, I increased one of my luns (presented to the HP-UX host) from 20GB to 30GB. Then, on the HP-UX host, I ran the command: "ioscan -fnNC disk" but viewing the out put from diskinfo, the OS still sees the disk as a 20GB disk. Is there something else I need to do?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2011 08:23 AM
07-12-2011 08:23 AM
Re: Dynamic Lun Expansion on HP-UX 11.31
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-12-2011 08:31 AM
07-12-2011 08:31 AM
Re: Dynamic Lun Expansion on HP-UX 11.31
Shalom,
I'm glad you at least can use vgmodify now. I'm going to suggest an pain free alternative to expanding LUN sizes.
Expanding LUN sizes has never been easy with HP-UX and often leads to down time to get the size recognition to work.
Alternate suggestion: When adding disk, build a new LUN on storage, present the LUN to the system.
Detection:
insf -e -C disk
ioscan -fnCdisk or
ioscan -fnNCdisk
pvcreate the newly discovered disk
vgextend the volume group you want to include the new disk
lvextend to extend the logical volume.
extendfs or fsadm to expand the file system. extendfs requires the file system be umounted. fsadm requires a paid license for Online JFS to work properly.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2011 06:17 AM
07-13-2011 06:17 AM
Re: Dynamic Lun Expansion on HP-UX 11.31
Please have a look of the whitepaper that describes how to do it.
http://h20000.www2.hp.com/bc/docs/support/SupportManual/c01920387/c01920387.pdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2011 03:09 AM
07-14-2011 03:09 AM
Re: Dynamic Lun Expansion on HP-UX 11.31
hi
only ioscan will not add the disk to the existing vg,
below steps
download evainfo tool.
1.identify the wwwn no from eva gui.
2../evainfo -w wwwnno
3.run iosacn -m dsf (cxtydz) ---- u can find the other path for the links
4.pvcreate persistent device file ( use raw disk )
5.vgextend /dev/vgname persistent device file
6.lvextend -L10*1024(as per ur requirement) /dev/vgname/lvname
7.fsadm -F vxfs -b sizeM [mountpoint] --- if u have online jfs installed,if not do extendfs but need to unmount the filesystem)
8.check with bdf.
if it is in cluster
Do vgexport -p -s -v -m /tmp/vgname.map /dev/vgname
transfer the map file to failover server via ftp,rlogin
in failover
Do vgimport -s -v -N -m /tmp/vgname.map /dev/vgname
regards
Madhuchakkaravarthy.A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2011 10:41 PM
07-14-2011 10:41 PM
Re: Dynamic Lun Expansion on HP-UX 11.31
Hi Madhuchakkaravarthy.A
Your steps are for just adding a new LUN. So it is not the procedure for Dynamic Lun Expansion. Dynamic Lun Expansion is totally a different thing.
When a LUN is dynamically grown, use vgmodify to enable LVM to access this new space. After the
volume group has been adjusted by vgmodify, you can allocate the new space using the normal
LVM method by lvextend or lvcreate.
Please check page no 14 of the Doc which i already provided in my previous post.
In futere please understand the question/query before posting. :smileyhappy:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2011 06:47 AM - edited 07-15-2011 06:49 AM
07-15-2011 06:47 AM - edited 07-15-2011 06:49 AM
Re: Dynamic Lun Expansion on HP-UX 11.31
1. run ioscan -C disk
2. run vgmodify -t -v on the volume group that has the lun you expanded on the EVA.
3. look at the vgmodify table and choose the mav_pv and max_pe options that will get you to 30GB.
4. run vgmodify -a -p <max_pv> -e <max_pe> -E /dev/vgXX
5. expand the lvol (lvextend).
6. expand the filesystem (fsadm).