- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Extend Logical Volume
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp
Knowledge Base
Discussions
Forums
Discussions
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
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-18-2008 06:08 AM
04-18-2008 06:08 AM
I can easily increase the size of the VDISK on the SAN but what are the next steps to eventually getting the 18GB into the filesystem? Or is it easier to add a completely new LUN and add it into the VG, then extend the LV?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2008 06:22 AM
04-18-2008 06:22 AM
Re: Extend Logical Volume
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2008 06:31 AM
04-18-2008 06:31 AM
Re: Extend Logical Volume
man extendfs
The examples section of the lvextend man page shows how. You need to lvextend, then unmount the filesystem, then extendfs the filesystem.
Or, if you have online JFS, you can do this on the fly with fsadm. Look at "man fsadm_vxfs
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2008 09:13 AM
04-18-2008 09:13 AM
Re: Extend Logical Volume
Here is the steps:
If you have Online JFS installed.
Add new LUN
Pvcreate
vgextend
lvextend
fsadm
Thanks & Regards
Aashique
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2008 10:07 AM
04-18-2008 10:07 AM
SolutionAs all mentioned, creating new LUN, extending VG, extending LV and extending filesystem will be a easy one.
If you extend a existing LUN, you may need to remove that LUN from VG, delete the device file of that LUN and recreate it to the new size get into effect.
Best Regards,
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2008 11:55 AM
04-18-2008 11:55 AM
Re: Extend Logical Volume
see
http://h20000.www2.hp.com/bc/docs/support/SupportManual/c01920387/c01920387.pdf (BSC link updated by admin)
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-18-2008 12:04 PM
04-18-2008 12:04 PM
Re: Extend Logical Volume
Sure if you wish to go through all the steps to also change the vg settings with vgchange and btw have to move the data from the first extent to somewhere else then renumber the extents without worrying about loosing any data ( good story huh ? )
"IF" you happen to have Max PE set high enough to accomidate the additional 18GB lun then create another LUN present it to the system then use pvcreate, vgextend and lvextend to increase your logical volume.
"IF" you do not have room in the VG ( as most don't) then I suggest creating a new VG with a lun of the increased size and mirgrate ( i.e. cp the data ) to the new, bigger filesystem. ( typically requires an outage )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2008 08:36 PM
04-18-2008 08:36 PM
Re: Extend Logical Volume
>>> I want to add another 18GB into it to make it 50GB.
==> Creat the LUN & present Ur host system
then U follow both LUN below process:
# pvcreate -fB /dev/rdsk/cxtxdx
# vgextend /dev/vgxx /dev/dsk/cxtxdx
# lvextend â L 1000 /dev/vgXX/lvXXX
# fsadm â F vxfs â b 1000m /
(1000MB is the new size of the logical volume in this case)
Hope for the Best,
Thanks--Yaqub
I am a Customer Advocate!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2008 09:56 PM
04-18-2008 09:56 PM
Re: Extend Logical Volume
Once u present the disk in u unix system
first step u have to check it disk is there
for that u have to use
1. ioscan
the second step u have to use insf -e disk
for creating device files
3. u have to deactivate the volume where u are going to add the disk
4. next u can do vgextend for extending volume group
5.now u can extend u logical volume then file system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2008 12:18 AM
04-21-2008 12:18 AM
Re: Extend Logical Volume
I have all the information I need.
I think the safest thing to do - is plan some downtime. Create a lun of 50gb, etc etc and mount it as something else. Dump my first fs into my second one. Unmount fs1 and fs2 and then remount fs2 into the original directory.