Results 1 to 2 of 2
Thread: Increase LVM/vg etc.
|
|
Enjoy an ad free experience by logging in. Not a member yet? Register.
|
|
-
02-20-2017 #1Just Joined!
- Join Date
- Feb 2017
- Posts
- 1
Increase LVM/vg etc.
Hi,
Need help in increasing my LVM (I think).
It's a vmware VM. Increased disk size and increased partition size with gparted.
here is fdisk -l:
and:Code:root#IcingaProd:~# fdisk -l Disk /dev/sda: 64.4 GB, 64424509440 bytes 255 heads, 63 sectors/track, 7832 cylinders, total 125829120 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000b94e9 Device Boot Start End Blocks Id System /dev/sda1 * 2048 499711 248832 83 Linux /dev/sda2 501758 125829119 62663681 5 Extended /dev/sda5 501760 125829119 62663680 8e Linux LVM Disk /dev/mapper/ubuntu--vg-root: 30.9 GB, 30878466048 bytes 255 heads, 63 sectors/track, 3754 cylinders, total 60309504 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Disk /dev/mapper/ubuntu--vg-root doesn't contain a valid partition table Disk /dev/mapper/ubuntu--vg-swap_1: 1073 MB, 1073741824 bytes 255 heads, 63 sectors/track, 130 cylinders, total 2097152 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Disk /dev/mapper/ubuntu--vg-swap_1 doesn't contain a valid partition table root#IcingaProd:~#
Saw many posts but none fits exactly and deleting partitions sound scary to me so I want to make sure.Code:root#IcingaProd:~# pvdisplay --- Physical volume --- PV Name /dev/sda5 VG Name ubuntu-vg PV Size 59.76 GiB / not usable 2.00 MiB Allocatable yes PE Size 4.00 MiB Total PE 15298 Free PE 7680 Allocated PE 7618 PV UUID 0Z5qaH-Pg2L-lWKI-dHsm-wYXu-P2Hi-bnnfA0 root#IcingaProd:~# lvdisplay --- Logical volume --- LV Path /dev/ubuntu-vg/root LV Name root VG Name ubuntu-vg LV UUID B9BvsQ-qw1U-nsiF-qYGM-42a3-s5c1-rtnsbP LV Write Access read/write LV Creation host, time ubuntu, 2014-10-06 13:01:28 +0000 LV Status available # open 1 LV Size 28.76 GiB Current LE 7362 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 252:0 --- Logical volume --- LV Path /dev/ubuntu-vg/swap_1 LV Name swap_1 VG Name ubuntu-vg LV UUID BgTi5c-IZrI-Adr6-GW0E-xnaF-cvCh-MYCwd5 LV Write Access read/write LV Creation host, time ubuntu, 2014-10-06 13:01:28 +0000 LV Status available # open 2 LV Size 1.00 GiB Current LE 256 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 252:1
Thanks
-
02-24-2017 #2Linux Engineer
- Join Date
- Jan 2005
- Location
- Saint Paul, MN
- Posts
- 818
Have you looked at: Recipes?


Reply With Quote