Score:0

Linux won't boot after shrinking LVM

in flag

I am using Ubuntu 18.10.

I have a Volume Group and a Logical Volume mounted on /home

Volume Group is /dev/mapper/volume_group and Logical Volume which is mounted on /home is /dev/mappper/volume_group_lv-home

This Logical Volume had 20G.

I used the following commands to decrease size of the LVM volume_group_lv-home, which is mounted in /home:

resize2fs /dev/mappper/volume_group_lv-home 5G
lvreduce -L 20G /dev/mappper/volume_group_lv-home

After i did those two commands above i did a reboot.

After the reboot i started getting the following messages, and it won't get past this:

"/dev/mappper/volume_group_lv-root: recovering journal"
"/dev/mappper/volume_group_lv-root: clean "

CTRL + ALT + F2 through F7 doesnt show anything. Only a blank black screen. Can someone help me?

in flag
There is not enough information here to offer specific help just yet. Could you [edit] your question to include: (0) the version of Ubuntu you're running (1) a more complete set of commands you used to shrink the volume (2) the size of the disk (3) the new size of the volume (4) the file system type. With this, it may be possible to correct the LVM headers so that the volume is valid again
in flag
I added more details of exactly what i did.
Score:0
in flag

After digging around i came up with the following:

I booted into my server using a Live Debian distro, mounted /root and edited fstab to the way it was previously.

After i rebooted the problem was solved...

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.