- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problen extending lvol3
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-28-2007 04:20 AM
03-28-2007 04:20 AM
Problen extending lvol3
I need to restore an Oracle DB with 30 GB to lvol3 but I don't have enough space in Lvol3 only 20 GB.
lvextend -l 750 /dev/vg03/lvol3 /dev/dsk/c4t2d0
lvextend: Not enough free physical extents available.
Logical volume "/dev/vg03/lvol3" could not be extended.
Failure possibly caused by contiguous allocation policy.
Failure possibly caused by strict allocation policy
How to extend lvol3 by using free using free PE in /dev/dsk/c4t2d0
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2007 04:30 AM
03-28-2007 04:30 AM
Re: Problen extending lvol3
lvdisplay /dev/vg03/lvol3
and:
vgdisplay -v /dev/vg03
A very typical situation is that the LVOL is mirrored and while there are enough free extents in total to allow the LVOL to be extended, there are not enough to allow the mirrors to be on separate disks. The output of the two requested commmands should tell the tale.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2007 05:05 AM
03-28-2007 05:05 AM
Re: Problen extending lvol3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2007 05:07 AM
03-28-2007 05:07 AM
Re: Problen extending lvol3
You could try using a smaller figure for -l, I think its likely you don't have enough free extents on the disk /dev/dsk/c4t2d0
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2007 06:01 AM
03-29-2007 06:01 AM
Re: Problen extending lvol3
dr12w / lvdisplay /dev/vg03/lvol3
--- Logical volumes ---
LV Name /dev/vg03/lvol3
VG Name /dev/vg03
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 20480
Current LE 2560
Allocated PE 2560
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict/contiguous
IO Timeout (Seconds) default
dr12w / vgdisplay -v /dev/vg03
--- Volume groups ---
VG Name /dev/vg03
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 3
Open LV 3
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4341
VGDA 4
PE Size (Mbytes) 8
Total PE 8680
Alloc PE 4864
Free PE 3816
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vg03/lvol1
LV Status available/syncd
LV Size (Mbytes) 5120
Current LE 640
Allocated PE 1280
Used PV 2
LV Name /dev/vg03/lvol2
LV Status available/syncd
LV Size (Mbytes) 4096
Current LE 512
Allocated PE 1024
Used PV 2
LV Name /dev/vg03/lvol3
LV Status available/syncd
LV Size (Mbytes) 20480
Current LE 2560
Allocated PE 2560
Used PV 1
--- Physical volumes ---
PV Name /dev/dsk/c5t14d0
PV Status available
Total PE 4340
Free PE 628
Autoswitch On
PV Name /dev/dsk/c4t2d0
PV Status available
Total PE 4340
Free PE 3188
Autoswitch On
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2007 06:02 AM
03-29-2007 06:02 AM
Re: Problen extending lvol3
--- Volume groups ---
VG Name /dev/vg03
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 3
Open LV 3
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4341
VGDA 4
PE Size (Mbytes) 8
Total PE 8680
Alloc PE 4864
Free PE 3816
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vg03/lvol1
LV Status available/syncd
LV Size (Mbytes) 5120
Current LE 640
Allocated PE 1280
Used PV 2
LV Name /dev/vg03/lvol2
LV Status available/syncd
LV Size (Mbytes) 4096
Current LE 512
Allocated PE 1024
Used PV 2
LV Name /dev/vg03/lvol3
LV Status available/syncd
LV Size (Mbytes) 20480
Current LE 2560
Allocated PE 2560
Used PV 1
--- Physical volumes ---
PV Name /dev/dsk/c5t14d0
PV Status available
Total PE 4340
Free PE 628
Autoswitch On
PV Name /dev/dsk/c4t2d0
PV Status available
Total PE 4340
Free PE 3188
Autoswitch On
dr12w / lvdisplay /dev/vg03/lvol3
--- Logical volumes ---
LV Name /dev/vg03/lvol3
VG Name /dev/vg03
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 20480
Current LE 2560
Allocated PE 2560
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict/contiguous
IO Timeout (Seconds) default
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2007 06:04 AM
03-29-2007 06:04 AM
Re: Problen extending lvol3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2007 06:22 AM
03-29-2007 06:22 AM
Re: Problen extending lvol3
With lvextend, you need to specify the **FINAL SIZE** of the LV, not the amount by which you would like to extend the LV.
lvol3 already has 2560 extends. If you would like to extend this to 30 GB then
lvextend -L 30720 /dev/vg03/lvol3 /dev/dsk/c4t2d0.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2007 06:24 AM
03-29-2007 06:24 AM
Re: Problen extending lvol3
lvextend -l 3840 /dev/vg03/lvol3 /dev/dsk/c4t2d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2007 07:09 AM
03-29-2007 07:09 AM
Re: Problen extending lvol3
Still same problem
dr12w / lvextend -L 30720 /dev/vg03/lvol3 /dev/dsk/c4t2d0
lvextend: Not enough free physical extents available.
Logical volume "/dev/vg03/lvol3" could not be extended.
Failure possibly caused by contiguous allocation policy.
Failure possibly caused by strict allocation policy
dr12w / lvextend -L 30720 /dev/vg03/lvol3 /dev/dsk/c4t2d0.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2007 07:25 AM
03-29-2007 07:25 AM
Re: Problen extending lvol3
lvchange -C n /dev/vg02/lvol3
and you should then be able to extend the LVOL.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2007 07:44 AM
03-29-2007 07:44 AM
Re: Problen extending lvol3
thanks a lot. It did work
thanks to all of you guys