- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Can I grow a LUN & the volume in it?
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
тАО08-05-2003 12:55 PM
тАО08-05-2003 12:55 PM
Some of the systems that we have today have 8G LUNs. I want to grow the LUNs within the array and make it 16G each (The array that we have today allows us to do this). Will LVM on the host recognize this? If yes, what do I need to do?
I was thinking that the following might work: I will do pvchange -x y to allow the extends to grow and then when I increase the size of the LUN, I can come back to the host and do a lvextend. Will this work?
Thanks
Kail
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-05-2003 01:04 PM
тАО08-05-2003 01:04 PM
Re: Can I grow a LUN & the volume in it?
With the non-HP arrays that we use, we've had to back up the logical volumes on the LUN and start over with lvcreate.
If your system is going to recognize the increased space without a destructive process, these are the steps.
After the expansion of the lun,
try ioscan
then
ioscan -fnC disk
see if the size is bigger.
Maybe try SAM disks disk devices and check the size. If it shows up bigger, lvextend and extendfs will work. If not, keep trying.
Boot your box and repeat the above steps.
If the space is not recognized, back up the data prior to a maintenance window.
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
тАО08-05-2003 01:19 PM
тАО08-05-2003 01:19 PM
Re: Can I grow a LUN & the volume in it?
I would be more comfortable just creating a new LUN, assigning it to the machine, doing an 'insf -e' to create the device files for it and then extending the VG and the LV with the additional space.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-05-2003 01:58 PM
тАО08-05-2003 01:58 PM
Re: Can I grow a LUN & the volume in it?
I'm not sure you ca ndo that. You may have to take a backup of all the data on the lun and then recreate the VG/lv info in the disk after the lun size is increased.
Take care that the max PE for the vg is more that the size of the new lun.
Hope this helps.
Regds
Sanjay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-05-2003 02:11 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-05-2003 11:55 PM
тАО08-05-2003 11:55 PM
Re: Can I grow a LUN & the volume in it?
Max PE per PV 2500
PE Size (Mbytes) 4
If you put in a bigger disk you are not abel to alocate more than the [Max PE per PV] * [PE Size]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2003 12:48 AM
тАО08-06-2003 12:48 AM
Re: Can I grow a LUN & the volume in it?
first of all this is your first question in the forum - right! WELCOME to our community!!!
To your question.
Do it like patrick said it the smartest way.
The LVM treats a LUN like a physikal device.
So the easiest way for your is to create a new LUN with the same specifications as your original LUN. Then map it to your system and do an "ioscan -fnCdisk". All your disk will be listed with its device files ( /dev/dsk/cXtYdZ ) but there is one disk without device files. This is your new disk. Note the hardware path of that device and create the device files "insf -H
now figure out the device files of your new disk "ioscan -fnH
Now you can create a LVM disk and add this disk to your volume group you want increase.
# pvcreate /dev/rdsk/cXtYdZ
# vgextend vg## /dev/dsk/cXtYdZ
Now your volume group has double size (vgdisplay vg##) and you can extend your lvol to double size.
HTH
Roland
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2003 11:13 AM
тАО08-06-2003 11:13 AM
Re: Can I grow a LUN & the volume in it?
What I usually do is on VxVM (dunno if there is an equiv on LVM) is to use vxevac - to evactuate volume components (subdisks or lvols) on the LUN, expand the LUN and copy back those objects... All these can be done on-line without impacting the applications... On emore reason why VxVM is superior to most LVM's...