- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 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
03-14-2008 11:24 PM
03-14-2008 11:24 PM
Warning: rounding up logical volume size to extent boundary at size "9232" MB.
lvextend: Not enough free physical extents available.
Logical volume "/dev/vg00/lvol8" could not be extended.
Failure possibly caused by strict allocation policy.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2008 11:38 PM
03-14-2008 11:38 PM
Re: logical volume
You have to increase the volume space first. You have no enough free space to increase the logical volume. Add pv to your vg00.
Davis Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2008 11:41 PM
03-14-2008 11:41 PM
Re: logical volume
no I have space in volume
# vgdisplay
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 10
Open LV 10
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4384
VGDA 4
PE Size (Mbytes) 16
Total PE 8748
Alloc PE 8017
Free PE 731
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2008 11:47 PM
03-14-2008 11:47 PM
Re: logical volume
The space you calculated in vgdisplay, you have 731 PE available
731X16 = 11696 MB / 2 =5848 MB available. Because your internal disk is mirrored and you got the total disk available in both HDD.
so you can extend upto 5848 MB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2008 11:50 PM
03-14-2008 11:50 PM
Re: logical volume
Your max PE per PV is only 4384. So you have to modify your vg characteristics with vgmodify command. Which is your OS version?
Davis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2008 12:07 AM
03-15-2008 12:07 AM
Re: logical volume
If no. of PEs are less on one of the disk it will fail.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2008 12:24 AM
03-15-2008 12:24 AM
Re: logical volume
#vgdisplay -v vg00
#more /etc/lvmpvg
#lvdisplay -v /dev/vg00/lvol8
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2008 12:31 AM
03-15-2008 12:31 AM
Re: logical volume
also it is mirrored
see below,
# vgdisplay -v vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 10
Open LV 10
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4384
VGDA 4
PE Size (Mbytes) 16
Total PE 8748
Alloc PE 8017
Free PE 731
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/syncd
LV Size (Mbytes) 1792
Current LE 112
Allocated PE 224
Used PV 2
LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 12272
Current LE 767
Allocated PE 1534
Used PV 2
LV Name /dev/vg00/lvol3
LV Status available/syncd
LV Size (Mbytes) 3072
Current LE 192
Allocated PE 384
Used PV 2
LV Name /dev/vg00/lvol4
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 128
Allocated PE 256
Used PV 2
LV Name /dev/vg00/lvol5
LV Status available/syncd
LV Size (Mbytes) 1024
Current LE 64
Allocated PE 128
Used PV 2
LV Name /dev/vg00/lvol6
LV Status available/syncd
LV Size (Mbytes) 5312
Current LE 332
Allocated PE 664
Used PV 2
LV Name /dev/vg00/lvol7
LV Status available/syncd
LV Size (Mbytes) 4096
Current LE 256
Allocated PE 512
Used PV 2
LV Name /dev/vg00/lvol8
LV Status available/syncd
LV Size (Mbytes) 9216
Current LE 576
Allocated PE 1152
Used PV 2
LV Name /dev/vg00/lvol9
LV Status available/syncd
LV Size (Mbytes) 25600
Current LE 1600
Allocated PE 1600
Used PV 1
LV Name /dev/vg00/u01
LV Status available/syncd
LV Size (Mbytes) 25008
Current LE 1563
Allocated PE 1563
Used PV 2
--- Physical volumes ---
PV Name /dev/dsk/c0t6d0
PV Status available
Total PE 4374
Free PE 0
Autoswitch On
Proactive Polling On
PV Name /dev/dsk/c3t6d0
PV Status available
Total PE 4374
Free PE 731
Autoswitch On
Proactive Polling On
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2008 12:36 AM
03-15-2008 12:36 AM
Re: logical volume
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2008 12:40 AM
03-15-2008 12:40 AM
Re: logical volume
--- Logical volumes ---
LV Name /dev/vg00/lvol8
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 9216
Current LE 576
Allocated PE 1152
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
this is my current logical volume size i am increasing from 9216 to 9225 only i mean i am increasing 9MB additional
u are telling 5848 MB is possible to increase but i need only 9 Mb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2008 12:45 AM
03-15-2008 12:45 AM
Re: logical volume
you must enter lvcreate -L 9 instead 9232.
you entered -L 9232 is 9 GB.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2008 01:01 AM
03-15-2008 01:01 AM
Re: logical volume
please understand my question
I have currently 9218 MB space ok
I am planning to increase this value to 9225 ok
lvextend -L 9225 /dev/vg00/lvol8
then what is the wrong
this is new value of logical volume
if i want to increase this space i have to adde this space +current one.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2008 01:04 AM
03-15-2008 01:04 AM
SolutionYou can not extend this LV , here are the reasons.
1. lvol8 is mirrored across both the disks and There is no free PE on one of the disk.See the underlined disk below. That is the reason ur getting "strict allocation policy error."
Physical volumes ---
PV Name /dev/dsk/c0t6d0
---------------------
PV Status available
Total PE 4374
Free PE 0
----------
Autoswitch On
Proactive Polling On
PV Name /dev/dsk/c3t6d0
PV Status available
Total PE 4374
Free PE 731
Autoswitch On
Proactive Polling On
3. U have created "/dev/vg00/lvol9" and /dev/vg00/u01 without mirroring and it is used the available space from both the disks.
4. The only way to extend the lvol8 is to remove the mirror and extend,But it is not adviceble since u will lose alternative disk(one will be without lvol8)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2008 01:13 AM
03-15-2008 01:13 AM
Re: logical volume
Moreover the disk space has been utilised by the lvol9 and u01, see the below o/p's:
LV Name /dev/vg00/lvol9
LV Status available/syncd
LV Size (Mbytes) 25600
Current LE 1600
Allocated PE 1600
Used PV 1
LV Name /dev/vg00/u01
LV Status available/syncd
LV Size (Mbytes) 25008
Current LE 1563
Allocated PE 1563
Used PV 2
These lvols are not mirrored so considering current scenario, u can not extend it without making some changes in LV or u need to add one more disk to this vg.
May be u can think of relocating the PEs assigned to u01 since it is using PEs from both the disks but to do that as well u have to take the data backup , since that will destroy the data and u have to create newfs and restore the data.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2008 03:04 AM
03-15-2008 03:04 AM