- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- How to Extend LVM Partition?
Operating System - Linux
1755747
Members
2591
Online
108837
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
Discussions
Discussions
Forums
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
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
тАО08-18-2010 02:55 PM
тАО08-18-2010 02:55 PM
How to Extend LVM Partition?
Hello,
I used Clonezilla to create an image from a 146GB SAS drive and restored it to a 300GB SAS drive. I would like to expand the partition to fill the 300GB drive. Because gparted doesn't support LVM, i've been trying to make a go with the lvm tools but can't figure out the magic incantation. Can someone help? Thx.
pvdisplay:
--- Physical volume ---
PV Name /dev/block/104:2
VG Name VolGroup00
PV Size 136.59 GiB / not usable 30.43 MiB
Allocatable yes (but full)
PE Size 32.00 MiB
Total PE 4370
Free PE 0
Allocated PE 4370
PV UUID afygbk-acsm-lRaO-L2v7-7m4B-
lvdisplay:
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol00
VG Name VOlGroup00
LV UUID 2b3nwP-ZgmD-7hbh-dwkR0-LBUP-
LV Write Access read/write
LV Status available
# open 0
LV Size 103.19 GiB
Current LE 3302
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:0
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol01
VG Name VolGroup00
LV UUID bSqvjT-NZaC-UkHj-Hr3w-
LV Write Access read/write
LV Status available
# open 0
LV Size 33.38 GiB
Current LE 1068
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:1
ls /dev/mapper:
control VolGroup00-LogVol00 VolGroup00-LogVol01
ls /dev/cciss:
c0d0 c0d0p1 c0d0p2
I used Clonezilla to create an image from a 146GB SAS drive and restored it to a 300GB SAS drive. I would like to expand the partition to fill the 300GB drive. Because gparted doesn't support LVM, i've been trying to make a go with the lvm tools but can't figure out the magic incantation. Can someone help? Thx.
pvdisplay:
--- Physical volume ---
PV Name /dev/block/104:2
VG Name VolGroup00
PV Size 136.59 GiB / not usable 30.43 MiB
Allocatable yes (but full)
PE Size 32.00 MiB
Total PE 4370
Free PE 0
Allocated PE 4370
PV UUID afygbk-acsm-lRaO-L2v7-7m4B-
lvdisplay:
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol00
VG Name VOlGroup00
LV UUID 2b3nwP-ZgmD-7hbh-dwkR0-LBUP-
LV Write Access read/write
LV Status available
# open 0
LV Size 103.19 GiB
Current LE 3302
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:0
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol01
VG Name VolGroup00
LV UUID bSqvjT-NZaC-UkHj-Hr3w-
LV Write Access read/write
LV Status available
# open 0
LV Size 33.38 GiB
Current LE 1068
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:1
ls /dev/mapper:
control VolGroup00-LogVol00 VolGroup00-LogVol01
ls /dev/cciss:
c0d0 c0d0p1 c0d0p2
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2010 07:31 PM
тАО08-18-2010 07:31 PM
Re: How to Extend LVM Partition?
How about create one more image file to fill up the disk. Assign the new image file as a new PV and add it to the existing VG. Then your VG will get more free PV, for you to do lvextend or new LV.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2010 06:01 AM
тАО08-19-2010 06:01 AM
Re: How to Extend LVM Partition?
A partition is something that sits below LVM.
Try these two steps:
1) expand the partition with fdisk or parted
2) then do a 'pvresize /dev/block/104:2'
Try these two steps:
1) expand the partition with fdisk or parted
2) then do a 'pvresize /dev/block/104:2'
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP