Skip to main content

Questions tagged [lvm]

LVM is a logical volume manager for the Linux kernel

0 votes
0 answers
17 views

Need to Reinstall GRUB | Repair Boot after MB failed. OS on Raid1 / LVM partitions

My UEFI motherboard failed. I am running 22.04LTS on a bootable Raid1 array on a LVM layer. It is not a dual boot setup. Of course UEFI requires a small partition in fat32 to act as the boot, efi ...
2 votes
1 answer
6k views

Initramfs + Luks - only one password prompt

What I want to achieve: Being asked for a password, only once during boot time; The other (non-root) partitions to use the keyfile inside the /root/ directory. What I have achieved so far: (A) The ...
3 votes
2 answers
5k views

Expanding a disk/volume "live" without adding more partitions/disks

We are managing more and more Linux (Ubuntu) based VMs at work, but I'm starting to struggle with something as simple as expanding an existing VM's disk, something that takes literally seconds to do ...
124 votes
4 answers
160k views

Ubuntu Server 18.04 LVM out of space with improper default partitioning

I installed Ubuntu Server 18.04 with the LVM option and left the default partition setup. Now my main drive only has 4GB in a 1TB hard drive. How can I fix this without starting from scratch? Results ...
0 votes
0 answers
65 views

How to shrink the root parition after Ubuntu install? root partition is already installed

I installed Ubuntu 24.04 with advanced features ("Use LVM and encryption"), but I couldn't find more options to partition the disk during the installation. Here is the partition layout that ...
1 vote
2 answers
6k views

How to resize / and add another logical volume without data loss

Ubuntu 16.04 installed with these settings "Erase Disk and install Ubuntu" with "Use LVM with the new Ubuntu installation". Now have 3 partitions: /dev/sda1 mounted as /boot/efi /dev/sda2 Linux file ...
0 votes
1 answer
634 views

initramfs shell after upgrade to Ubuntu 22.04 - raid

I upgraded from 20.04 to 22.04 and after reboot I get the following screen / errors (see screenshot) and it goes to the initramfs shell. It's a RAID system. It might be that boot partition was too ...
0 votes
0 answers
54 views

Stuck in GRUB 2.06 command line after copying disk with CloneZilla

I have two identical HDD disks both have the same size. Because my main disk had some bad sectors, I decided to move my Ubuntu 22.04 system to another newer disk. Following the advice of people on ...
0 votes
0 answers
19 views

LVM2 - non-root VG LV not activated on reboot

One of our physical Ubuntu server has, 3 VGs in total - rootvg, 2 non-rootvgs(appvg1 & appvg2). Rootdisk is local HDD and both appvgs uses multipath disk (one disk each). appvg1 has filesystem ...
2 votes
1 answer
5k views

Ubuntu + Luks: Volume Group 'vgcrypt' not found (drop to busybox)

Problem: I followed the intructions for installing Ubuntu 16.04 over an EFI system with LUKS+LVM of this upvoted question on AskUbuntu, but I ended up with a somewhat unusable system. The only thing ...
0 votes
0 answers
13 views

Is installing Ubuntu server and adding package *-desktop equivalent to installing *buntu Desktop?

current Ubuntu installation media (ubiquity , calamares) do have difficulties with manual partition and ecryption (luks + lvm), while the server installation (subiquity) works well. Therefore: If the ...
9 votes
3 answers
5k views

Ubuntu 24.04 installer not showing encrypted lvm partitions (luks)

I want to replace my ubuntu 22.04 install which is in an encrypted lvm with new Ubuntu 24.04. I unlocked to crypted partition : sudo cryptsetup luksOpen /dev/nvme0n1p3 nvme0n1p3_crypt password: ok ...
1 vote
1 answer
1k views

LVM setup advice

As I understand it, using LVM is the preferred method when setting up Ubuntu. After reading a little about LVM on https://wiki.ubuntu.com/Lvm I decided to reinstall Ubuntu with LVM in mind. My ...
4 votes
1 answer
5k views

How to configure RAID + 2 LVM volumes via preseed?

Internally, we use Ubuntu (14.04 Trusty) on our workstations, and until now we've done all of our builds by hand, including the creation of RAID/LVM/LUKS-encrypted volumes. This doesn't scale, and I'...
1 vote
3 answers
3k views

LVM: unable to create snapshot due to failed merge of prior snapshot

I inadvertently created a situation where I deleted an LVM snapshot that was pending a merge (yes - bonehead move). Now I can neither finish the merge nor create a new snapshot on the original logical ...

15 30 50 per page
1
2 3 4 5
73