HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- ProLiant Servers (ML,DL,SL)
- >
- Re: How to extend a logical volume under linux (ce...
ProLiant Servers (ML,DL,SL)
1825756
Members
3130
Online
109687
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
07-27-2008 12:31 AM
07-27-2008 12:31 AM
How to extend a logical volume under linux (centos 4.4)
Hi all,
Using ACU on our DL380 G3 with Smart Array 5i controller, we added a new physical disk to a RAID 5 array and then successfully increased the logical disk to its maximum size (69443 MB).
However, since LVM still reports a much lower capacity and no space available for extension, we are wondering what we are missing here.
Thanks
lvm> lvdisplay
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol00
VG Name VolGroup00
LV UUID swJxom-32HW-Unhm-zkbr-hQsz-Wxw1-2X1acG
LV Write Access read/write
LV Status available
# open 1
LV Size 48.75 GB
Current LE 1560
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:0
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol01
VG Name VolGroup00
LV UUID 42FZ1p-MOlf-ZLSl-5CyF-2QXK-YXBl-pzRODl
LV Write Access read/write
LV Status available
# open 1
LV Size 1.94 GB
Current LE 62
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:1
Using ACU on our DL380 G3 with Smart Array 5i controller, we added a new physical disk to a RAID 5 array and then successfully increased the logical disk to its maximum size (69443 MB).
However, since LVM still reports a much lower capacity and no space available for extension, we are wondering what we are missing here.
Thanks
lvm> lvdisplay
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol00
VG Name VolGroup00
LV UUID swJxom-32HW-Unhm-zkbr-hQsz-Wxw1-2X1acG
LV Write Access read/write
LV Status available
# open 1
LV Size 48.75 GB
Current LE 1560
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:0
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol01
VG Name VolGroup00
LV UUID 42FZ1p-MOlf-ZLSl-5CyF-2QXK-YXBl-pzRODl
LV Write Access read/write
LV Status available
# open 1
LV Size 1.94 GB
Current LE 62
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:1
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2008 09:06 AM
07-28-2008 09:06 AM
Re: How to extend a logical volume under linux (centos 4.4)
What you're missing is that logical disks in the ACU have absolutely nothing to do with LVM within the OS so you have to add the new space to your volume group to use it.
If fdisk already shows the new larger logical drive size you can create a new partition in that space of type 8e (Linux LVM). Run partprobe to notify the kernel of the change, pvcreate the new partition, vgextend on to it, lvextend the LV you need to grow, and ext2online to expand the filesystem to fill the LV.
If fdisk does not show the new size it probably means you haven't rebooted since you expanded the logical disk in the ACU. After a reboot you should see the new size.
It would probably have been better to create a new logical disk after expanding the array instead of expanding the existing logical disk. However, it should work either way.
If fdisk already shows the new larger logical drive size you can create a new partition in that space of type 8e (Linux LVM). Run partprobe to notify the kernel of the change, pvcreate the new partition, vgextend on to it, lvextend the LV you need to grow, and ext2online to expand the filesystem to fill the LV.
If fdisk does not show the new size it probably means you haven't rebooted since you expanded the logical disk in the ACU. After a reboot you should see the new size.
It would probably have been better to create a new logical disk after expanding the array instead of expanding the existing logical disk. However, it should work either way.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2008 09:11 AM
07-29-2008 09:11 AM
Re: How to extend a logical volume under linux (centos 4.4)
Thanks! It worked smoothly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2008 09:12 AM
07-29-2008 09:12 AM
Re: How to extend a logical volume under linux (centos 4.4)
The instructions given where exhaustive
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP