- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to extend stripped LV?(not add disks)
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
Discussions
Discussions
Forums
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
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
тАО05-21-2005 08:29 PM
тАО05-21-2005 08:29 PM
How can I do to extend a stripped lv? I have no expirence on it.
For some reason, I must to extend /opt directory and it's a stripped lv.
The information of vg, lv, and my test result is below here.
# vgdisplay 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 4350
VGDA 4
PE Size (Mbytes) 8
Total PE 8680
Alloc PE 6051
Free PE 2629
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
# vgdisplay -v vg00 | grep dsk
PV Name /dev/dsk/c2t2d0
PV Name /dev/dsk/c1t2d0
#
#
# lvcreate -L 104 -n ceshi -i 2 -I 64 /dev/vg00
Warning: rounding up logical volume size to extent boundary at size "112" MB for striping.
Logical volume "/dev/vg00/ceshi" has been successfully created with
character device "/dev/vg00/rceshi".
lvcreate: Not enough free physical extents available.
Logical volume "/dev/vg00/ceshi" could not be extended.
lvcreate: Couldn't retrieve the list of the physical volumes
belonging to volume group "/dev/vg00".
Run the "lvextend" command to create space on the Logical Volume.
#
# lvdisplay /dev/vg00/ceshi
--- Logical volumes ---
LV Name /dev/vg00/ceshi
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule striped
LV Size (Mbytes) 0
Current LE 0
Allocated PE 0
Stripes 2
Stripe Size (Kbytes) 64
Bad block on
Allocation strict
IO Timeout (Seconds) default
#
# lvextend -L 200 /dev/vg00/ceshi
Warning: rounding up logical volume size to extent boundary at size "208" MB for striping.
lvextend: Not enough free physical extents available.
Logical volume "/dev/vg00/ceshi" could not be extended.
lvextend: Couldn't retrieve the list of the physical volumes
belonging to volume group "/dev/vg00".
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
тАО05-21-2005 08:32 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2005 08:45 PM
тАО05-21-2005 08:45 PM
Re: How to extend stripped LV?(not add disks)
And the vgdisplay command shows the vg00 has about 20GB free.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2005 12:45 AM
тАО05-22-2005 12:45 AM
Re: How to extend stripped LV?(not add disks)
When you are creating a LVOL of 208 MB across two PV's in strict stripping then both of your PV's should have atleast 104MB i.e. 13PE's free. Confirm it from complete output of "vgdisplay -v /dev/vg00"
If any one has not got yet then either create file system without stripping or create it with max size equal to double then the free space on one disk where the free space is less.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2005 02:25 AM
тАО05-22-2005 02:25 AM
Re: How to extend stripped LV?(not add disks)
I will try it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2005 02:36 PM
тАО05-22-2005 02:36 PM
Re: How to extend stripped LV?(not add disks)
I checked the pv(s) by 'pvdisplay -v' and I found that one disk have no free space. It's why I got that error message.