- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lvextend fails
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
04-08-2002 06:31 PM
04-08-2002 06:31 PM
I have one N-4000/HP-UX 11.00 with root disk mirrored each 18 GB disks.
My root filesystem is 150 MB and is about 90% full. I want to increase it to 300 MB. I have about 8 GB free space in each root disk.
when I run lvextend it fails with the following error:
# lvextend -L 300 /dev/vg00/lvol3
lvextend: Not enough free physical extents available.
Logical volume "/dev/vg00/lvol3" could not be extended.
Failure possibly caused by contiguous allocation policy.
Failure possibly caused by strict allocation policy
# vgdisplay -v /dev/vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 8
Open LV 8
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4350
VGDA 4
PE Size (Mbytes) 4
Total PE 8680
Alloc PE 4366
Free PE 4314
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
Pls. help me to resolve this.
Thanks in advance.
Raje.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2002 06:39 PM
04-08-2002 06:39 PM
Re: lvextend fails
1) use make_recovery
2) use pvmove strategy but you got to have an unused PV.
Check this thread ... it has both options..
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x24eb935c6049d611abda0090277a778c,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2002 06:45 PM
04-08-2002 06:45 PM
Re: lvextend fails
Logical volumes lvol1, lvol2 and lvol3 MUST be contiguous. There are two ways to help:
1. Booting from your ignite tape increase the size of the partition.
2. Remove items from you root partition that shouldn't be there. Core files and unwanted files (old backups placed in the wrong area) are common problems. If there are files you wish to use somewhere, create an additional files system.
There are ways to use spare disks, but unless you have this type of experience it may something that you wish to stay away from.
Cheers
~Michael~
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2002 06:51 PM
04-08-2002 06:51 PM
Re: lvextend fails
These two postings are also important.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x316efd3f91d3d5118ff40090279cd0f9,00.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x1e6f84534efbd5118ff40090279cd0f9,00.html
~Michael~
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2002 06:57 PM
04-08-2002 06:57 PM
Re: lvextend fails
You cannot extend the root disk by default methods as it is supposed to be contiguous. Since you already have a mirror disk and have space available on it,it's relatively simple. do the following if you have onlineJFS. Otherwise bring it to single user mode.
IMPORTANT: First create a make_recovery tape
1. pvdisplay -v /dev/dsk/your_boot_disk
2. Note down the next logical volume after lvol3 (lvol4?)
3. lvreduce -m 0 /dev/vg00/lvol4 /dev/dsk/boot_disk (important.. you are taking out from the boot disk not the mirror disk. You need to do this as you have to create free extents after lvol3).
4. lvreduce -m 0 /dev/vg00/lvol3 /dev/dsk/alt_disk (this time we are reducing the mirror on the mirror disk as the mirrors will mismatch during the lvextend).
5. lvextend -L 300 /dev/vg00/lvol3
6. fsadm -b new_size_in_blocks /
This fixes your sizing problem. To adjust the mirrors do the following..
7. lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/boot_disk
8. lvreduce -m 0 /dev/vg00/lvol4 /dev/dsk/alt_disk
The above two steps will make space on the mirror disk to allow root's mirror.
9. lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/boot_disk
Now establish the mirror for lvol4 wherever on the alt_disk.
10. lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/boot_disk
Before following the above procedure, make sure you understood it well.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2002 07:27 PM
04-08-2002 07:27 PM
Re: lvextend fails
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2002 10:58 PM
04-08-2002 10:58 PM
SolutionLastly the strict/contiguous allocation policy is pr lvol so you'll need to run a lvdisplay to see it.
Regards,
Trond