- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lvextend: Not enough physical extents
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-13-2004 03:46 AM
09-13-2004 03:46 AM
lvextend: Not enough physical extents
My problem is, if I remove the strict allocation policy, could my mirrored copy get reallocated on the SAN disk...I'm trying to figure out how I can extend the logical volume to the SAN space, w/o affecting the physical volume attributes associated with the currently configured JBOD disks that are mirrored...Also, can this be done with the logical volume staying online..
--- Physical volumes ---
PV Name /dev/dsk/c1t0d0
PV Status available
Total PE 8681
Free PE 13
Autoswitch On
PV Name /dev/dsk/c2t0d0
PV Status available
Total PE 8681
Free PE 13
Autoswitch On
PV Name /dev/dsk/c12t0d6
PV Name /dev/dsk/c14t0d6 Alternate Link
PV Status available
Total PE 6945
Free PE 6945
Autoswitch On
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2004 04:05 AM
09-13-2004 04:05 AM
Re: lvextend: Not enough physical extents
If you turn off strict allocation, your mirrored PEs can indeed reside on one PV. Who would want that?
If you have more than one LV, you might be able to adjust the location of existing PEs via pvmove(1M) and get enough free PEs on two separage PVs to do what you want.
Good luck, sir.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2004 04:06 AM
09-13-2004 04:06 AM
Re: lvextend: Not enough physical extents
The only way for you to make a new filesystem is to make a LVOL that is notn irrored, Unless the disk is H/w mirrored of course, OR remove the 27GB San disk from the VG then make a new VG with it, THEN if that disk is h/w mirrored you could make a LVOl with out strict allocation.
As I see it, You either need to add a second disk to the current VG or move the new 27GB disk to a NEW VG...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2004 05:31 AM
09-13-2004 05:31 AM
Re: lvextend: Not enough physical extents
But with the above output, I guess your LV is of size more than 6945 PEs ?
Now if you try to extend the LV with strict allocation policy set, then LVM will try to use the new disk and it is failing due to the lack of space in the new disk.
What is the size of the LV you are trying to mirror ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2004 05:55 AM
09-13-2004 05:55 AM
Re: lvextend: Not enough physical extents
Looks like the best alternative would be to use pvmove for the large lvol I am trying to extend, and moving it to another volume group with the SAN space I currently assigned to vg01.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2004 06:02 AM
09-13-2004 06:02 AM
Re: lvextend: Not enough physical extents
If I understand your message correctly, you would like to leave the logical volume left mirrored on the JBODs and then extend it onto SAN disk.
I do not believe you can have a partially mirrored logical volume. You will have to add another SAN disk in order to extend the logical volume. But if you are going to add another SAN disk, you could move the LV from JBOD to SAN as well and release the JBOD disks. That way all the LV will be on SAN and you don't need to worry about mirrors.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2004 06:32 AM
09-13-2004 06:32 AM
Re: lvextend: Not enough physical extents
I would personally un-mirror the lv and simply move it to the XP. You could the use the JBOD disks for some other purpose.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2004 06:46 AM
09-13-2004 06:46 AM
Re: lvextend: Not enough physical extents
I think I misunderstood your question for the first time :-)
If you have a LV that is on c1t0d0/c2t0d0 and if you are planning to extend it to c12t0d0, then you need to add one more LUN to the VG before you can extend the LV.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2004 07:11 AM
09-13-2004 07:11 AM
Re: lvextend: Not enough physical extents
"Looks like the best alternative would be to use pvmove for the large lvol I am trying to extend, and moving it to another volume group with the SAN space I currently assigned to vg01. "
He should make this a new Lvol NOT in VG00... which will be the best solution. Since it is H/w mirrored you don't need any allocation defined. BUT it does need to be in its own VG, in my opinion.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2004 08:03 AM
09-13-2004 08:03 AM
Re: lvextend: Not enough physical extents
Thanks for all your help!!!