- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Extend a Mirrored Logical Volume
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
02-04-2003 09:09 AM
02-04-2003 09:09 AM
This seems to be a really simple task but for some reason I am second guessing myself because I have not worked on a HP box in a while. This a 10.20 box.
I have a Volume Group with 2 Logical Volumes. One is barely used, the other is almost full. The plan is to delete one and then use the reclaimed space to extend the other. Both Logical Volumes are mirrored onto a single disk. There are two disks in the Volume Group, one for the data and the other for the mirrors. Here are my steps.
1) Backup the data on both Logical Volumes.
2) Unmount LV3
3) Lvremove LV3
4) Umount LV2
5) lvextend -L 5120 /dev/vg03/lvol2
6) extendfs -F vxfs /dev/vg03/rlvol2
7) mount and bdf.
Are there any special considerations because of the mirroring? Or because of a strict allocation policy ? I think I remember doing this once and it failed with an error relating to strict allocation although I forget the circumstances and the fix. Any help would be appreciated and I will assign points.
Rob
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2003 09:23 AM
02-04-2003 09:23 AM
Re: Extend a Mirrored Logical Volume
PV's. In other words, let's say that you want to extend an existing LVOL by 500MB and that you have 400MB oon disk1 and 4000MB on disk2. The lvextend will fail because there is not enough free space on disk1 eventhough there is more than enough room in the entire VG to extend the LVOL.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2003 09:26 AM
02-04-2003 09:26 AM
Re: Extend a Mirrored Logical Volume
If your Logical Volume is currently mirrored, you will have to break it before you can actually do your lvextend. Once it is broken, you can extend your LV and FS, mount it, and then re-create your mirror on that LV. The rest of your procedure looks great.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2003 09:26 AM
02-04-2003 09:26 AM
Re: Extend a Mirrored Logical Volume
Take a look at next question,
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x5d83b47b9a27d6118ff40090279cd0f9,00.html
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2003 09:34 AM
02-04-2003 09:34 AM
Re: Extend a Mirrored Logical Volume
Is this true? I was almost certain that when I did this before I did not have to break the mirror? Could someone please clarify this for me?
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2003 09:44 AM
02-04-2003 09:44 AM
SolutionGenerally, no, you don't have to break the mirror to extend it.
The only gotcha I see in your plan is IF the second LV that you wish to remove is NOT mirrored. Then you'll have issues. If it WAS mirrored, and had strict allocation, you should be OK.
Remember that mirroring is at the LV level - not the VG or PV level. So you could have LVs in the same VG being mirrored & some not being mirrored. Not a standard setup, but is a scenario that could happen.
One thing I notice is you don't mention whether you have OnLineJFS or not. If you did you would not need to unmount the LV to be extended.
You could use the fsadm command to extend the FS on the fly.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2003 09:52 AM
02-04-2003 09:52 AM