Score:0

How to extend LVM size

in flag

I have additional free space on my sda disk and I want to add this space to my LVM. How can I add this 2.5T space to my LVM without destroying the existing partition or losing any data?

sda 8:0 0 2.5T 0 disk
├─sda1 8:1 0 1M 0 part
├─sda2 8:2 0 2G 0 part /boot └─sda3 8:3 0 98G 0 part
└─ubuntu--vg-lv--0 253:0 0 98G 0 lvm /

vgdisplay
  --- Volume group ---
  VG Name               ubuntu-vg
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  4
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                1
  Open LV               1
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               <98.00 GiB
  PE Size               4.00 MiB
  Total PE              25087
  Alloc PE / Size       25087 / <98.00 GiB
  Free  PE / Size       0 / 0   
  VG UUID               TuH50U-jINw-l4IH-vuos-1sSt-xrO4-1c7C5Z

Thanks in advance.

Score:0
in flag

I solved the problem by running parted and creating a new partition by mkpart primary.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.