Score:0

How can I decrease the size of a LVM partition and add it to another LVM partition?

cn flag

I have 2 logical volumes, both part of a volume group called "ubuntu--vg". These partitions are /dev/mapper/ubuntu--vg-ubuntu--lv and /dev/mapper/ubuntu--vg-media. Originally, during my fresh install, only /dev/mapper/ubuntu--vg-ubuntu--lv was made out of the volume group with 1 TB of storage. ubuntu--lv had only 200gb of storage, so I made another logical volume that took up the remaining ~800gb. /dev/mapper/ubuntu--vg-ubuntu--lv is mounted as my main filesystem, and /dev/mapper/ubuntu--vg-media is mounted as my media directory. How can I decrease ubuntu--lv to around 60gb so I can add 140gb to my media logical volume? Thank you in advance

PonJar avatar
in flag
I don’t use LVM myself but I think GParted can do this these days probably when you have booted into a live environment. Just backup anything you cannot afford to lose first
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.