Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@localhost liveuser]# vgdisplay
- --- Volume group ---
- VG Name fedora
- System ID
- Format lvm2
- Metadata Areas 1
- Metadata Sequence No 5
- VG Access read/write
- VG Status resizable
- MAX LV 0
- Cur LV 3
- Open LV 2
- Max PV 0
- Cur PV 1
- Act PV 1
- VG Size 349.95 GiB
- PE Size 4.00 MiB
- Total PE 89588
- Alloc PE / Size 27585 / 107.75 GiB
- Free PE / Size 62003 / 242.20 GiB
- VG UUID db5n4Z-1C2C-KC2e-Xuek-uHGu-js9M-0gV3IY
- [root@localhost liveuser]# pvdisplay
- --- Physical volume ---
- PV Name /dev/sda5
- VG Name fedora
- PV Size 349.96 GiB / not usable 2.00 MiB
- Allocatable yes
- PE Size 4.00 MiB
- Total PE 89588
- Free PE 62003
- Allocated PE 27585
- PV UUID eWJSCP-hMmO-JdNg-YNZl-L00h-N3Q8-aLmVpz
- lvm pvresize -v --setphysicalvolumesize 209897472K /dev/sda5
- Wiping internal VG cache
- Wiping cache of LVM-capable devices
- Archiving volume group "fedora" metadata (seqno 5).
- /dev/sda5: Pretending size is 419794944 not 733908992 sectors.
- Resizing volume "/dev/sda5" to 419794944 sectors.
- Resizing physical volume /dev/sda5 from 0 to 51244 extents.
- /dev/sda5: cannot resize to 51244 extents as later ones are allocated.
- 0 physical volume(s) resized / 1 physical volume(s) not resized
- |------------------------------|
- | x x x x x x x x | 349.96 GiB
- |------------------------------|
- |------------ ------------------|
- | x x x x x / 209.0 GiB /x x x |
- |------------ ------------------|
- .............| 209.9 Gib
- |------------------------------|
- |xxxxxxxx | 349.96 GiB
- |------------------------------|
Add Comment
Please, Sign In to add comment