- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Extend luns
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
тАО04-17-2007 03:38 AM
тАО04-17-2007 03:38 AM
Extend luns
/env VxFS /dev/dsk/c8t1d0
The above lun is currently 25GB but needs to be extended to 75GB.
# bdf
/dev/dsk/c8t1d0 26214400 1058528 24793468 4% /env
How do I extend the above lun/file system without damaging the data?
Thank you.
Cecile
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2007 03:44 AM
тАО04-17-2007 03:44 AM
Re: Extend luns
It depends on a few factors.
To be safe, you MUST back up the data before proceeding.
After extension reboot the system.
See if at that point its possible to lvextend the logical volume to a larger size.
More often than not, you can't and you must destroy the data and rebuild from scratch.
At this size it often also happens that the volume group does not have enough extents to handle the increased size and it must be rebuilt with larger extent size -s or less physical volumes -p (in vgccreate).
Sometimes its eaiser to have the LUN admin copy the lun to a new lun an present that to the system. The filesystem or data should not be mounted or active during the copy.
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
тАО04-17-2007 03:45 AM
тАО04-17-2007 03:45 AM
Re: Extend luns
Extending the filesystem is not a problem, but it could be a problem to extend the physical volume from the volume manager point of view.
AFAIK the VxVM can do this, but the LVM up to HP-UX 11.23 cannot.
LVM in 11.31 can.
Workarounds:
delete the VG configuration on the LUN and re-create
or
don't expand the LUN but create a new LUN and extend the VG. Doing this you can grow the LVOL without problems.
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
тАО04-17-2007 08:47 PM
тАО04-17-2007 08:47 PM
Re: Extend luns
VxVM 4.1 supports LUN resizing with "vxdisk resize cXtYdz".
LVM on 11.11/11.23 does not support LUN resizing.
I have not heard about that feature in 11.31... how is it done?
Armin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2007 09:11 PM
тАО04-17-2007 09:11 PM
Re: Extend luns
"The detection of physical volume size changes (LUN size expansion or contraction) is automatic"
see man vgmodify
http://docs.hp.com/en/B2355-60130/vgmodify.1M.html
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!