- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Add space to VG temporarily
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
09-10-2013 07:39 AM
09-10-2013 07:39 AM
Add space to VG temporarily
Folks,
I need a quick recommendation or ways on how to temporarily add certain amount of space to a volume group.
Here is the scenario :
I have a VG called vgoradata with four luns each 75G
Now the DBA is requesting to add extra 100g to the VG for some activity. However this extra space is provided on a temporary basis only and I should be able to takeway the space after the DBA activity has been completed.
What is the best way to approach this task? Normally we have the storage folks grow the lun , and we grow LV & file system but I guess that cannot be done here because the space is only temporary and I am not in favor of shrinking the filesystems or luns.
I am thinking of adding a new 100G lun to the VG , but I don't know the procedure on how I can take it back later.
Appreciate any suggestions.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2013 08:44 AM
09-10-2013 08:44 AM
Re: Add space to VG temporarily
Add the new LUN to the system and make sure it is visible via 'ioscan -fnC disk'. If you need to create the device files you can use 'insf -eC disk'.
Once you have the device file, add the disk to the vg:
# pvcreate /dev/rdsk/c?t?d?
# vgextend vgoradata /dev/dsk/c?t?d?
Now you can create a new LV using the new space.
# lvcreate -n tmplv /dev/vgoradata
# lvextend -L 102400 /dev/vgoradata/tmplv /dev/dsk/c?t?d?
This is using the device file for the new disk above
# newfs -F vxfs -o largefiles /dev/vgoradata/rtmplv
# mount /dev/vgoradata/tmplv /mountpoint
Once you are done with the space you can do:
# umount /mountpoint
# lvremove /dev/vgoradata/tmplv
# vgreduce /dev/vgoradata /dev/dsk/c?t?d?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2013 09:18 AM
09-10-2013 09:18 AM
Re: Add space to VG temporarily
Why not creating a new VG for the temp space?
Once finished, just remove this VG.
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!
