- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- LVM extending, What's wrong?
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
08-18-2003 09:19 AM
08-18-2003 09:19 AM
I'm trying to extend a lv into new one disk.
I have a vg00 in mirror disk, but I need more disk space, then I add two new disk, one for extend the lvol9 and the other for mirror.
Lvol9 will extend across of the two disks.
As you can see (attach file) the policy is "strict".
But I get:
1.vgextend -g PVG2 /dev/vg00 /dev/dsk/c2t0d0
vgextend: Not enough physical extents per physical volume.
Need: 8683, Have: 4350.
**** Warn, BUT always PASS..???? *****
I knew obviosly, that have 4k in one disk and now I trying to extend and it will be 8k
2. lvextend -L 15000 /dev/vg00/lvol9 PVG1
lvextend: "PVG1": No such file or directory
**** This command Fail ****
Can you review my attach, please.
What am I doing wrong?
Thanks 4 u time...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2003 09:36 AM
08-18-2003 09:36 AM
Re: LVM extending, What's wrong?
The best practice is to define VGs by calculating future updates. In your case, you may create a recovery tape (make_tape_recovery) and recreate the root VG and it's values and then extend the LV.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2003 09:37 AM
08-18-2003 09:37 AM
Re: LVM extending, What's wrong?
Take a look at this doc.
Document description: vgextend: not enough physical extents per physical volume
Document id: KBAN00000076
Europe
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062683939
US
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062683939
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2003 09:54 AM
08-18-2003 09:54 AM
Re: LVM extending, What's wrong?
BUT, because that, I can't do a lvextend?
WHY the lvextend doesn't find the PVG1?
Have I a syntax error? How will the syntax be?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2003 10:00 AM
08-18-2003 10:00 AM
Re: LVM extending, What's wrong?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2003 10:07 AM
08-18-2003 10:07 AM
Re: LVM extending, What's wrong?
Do you have enough free space on vg00 to extend the LV? what's the free PE count on this VG? What's the current LV size?
If you don't have enough free PEs, then the Lvextend will fail. Your vgextend is failing and for the same reason, the lvextend will also fail.
Also, like Pete noted, you may have to look at what is using the file system space? If it's log files and core files, trim or move it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2003 10:11 AM
08-18-2003 10:11 AM
Re: LVM extending, What's wrong?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2003 11:28 AM
08-18-2003 11:28 AM
Re: LVM extending, What's wrong?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2003 11:38 AM
08-18-2003 11:38 AM
SolutionThe only other way you are going to be able to use all of your new disks is if you create another VG, ie VG01, that contains only the new disks.
The above are really your only 2 options.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2003 11:54 AM
08-18-2003 11:54 AM
Re: LVM extending, What's wrong?
Excuseme, One question more to close...
I review the command lvextend but it isn't clearly for me.
How will the syntax be, to specify the pvg_name?
lvextend -L 26540 /dev/vgXX/lvYY ???????
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2003 12:00 PM
08-18-2003 12:00 PM
Re: LVM extending, What's wrong?
# lvextend -L new_size_in_MB /dev/vgXX/lvol_name PVG_name
Your PVG name can be found from /etc/lvmpvg file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2003 12:10 PM
08-18-2003 12:10 PM
Re: LVM extending, What's wrong?
1) The PVGstrict policy is not set for the LV
2) PVG is not created on system (/etc/lvmpvg)
3) The order (sequence) in lvmpvg file is wrong.