Skip to main content

All Questions

Tagged with
1 vote
1 answer
52 views

Issues Configuring Swap and Moving /home to a New Encrypted Disk on Ubuntu 24.04

I have Ubuntu 24.04 installed with the default disk partitioning settings chosen by the installer, including LVM encryption. I have two SSDs: First disk with the following partitions: /boot/efi /boot ...
LocalUser's user avatar
  • 111
0 votes
1 answer
94 views

Ran fdisk on wrong disk which was part of an LVM

I wanted to add space to an LVM so added a Virtual disk to my Ubuntu 20.04 Virtual Machine. The VM already had 3 disks /dev/sda 32.2GB # OS Disk /dev/sdb 537GB # Data Disk, part of the LVM: ...
Piyush B's user avatar
  • 131
0 votes
1 answer
1k views

Extending encrypted partition (LVM, LUKS)

I'm running a dual boot (Win 10 Pro, Ubuntu 20.04) system on a single NVMe harddisk. Linux contains one encrypted root partition, an encrypted boot partition and a swap partition. As the root ...
bsj4sla's user avatar
3 votes
1 answer
3k views

How to expand logical volume on existing physical volume on Linux

nvme0n1p3 has 8.5G, ubuntu--vg-ubuntu--lv has 4G. How can I expand ubuntu--vg-ubuntu--lv to 8G? NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme0n1 259:0 0 ...
Aaron Cool's user avatar
0 votes
0 answers
31 views

Setting up VirtualBox on Ubuntu 18.04

I just recently reformatted my hard drive to multiboot 3 different linux distros. I installed Kali first, and used the installer to create logical volumes where I later installed CentOS and Ubuntu. ...
Eric Johnson's user avatar
1 vote
0 answers
118 views

How do I install my operating system onto an LVM partition on a clean computer?

I have just finished building a small home server and came across LVM as a powerful tool to use to manage disk partitions. I want to install Ubuntu 14.04 onto an LVM partition but none of the articles ...
dippynark's user avatar
  • 151
2 votes
1 answer
6k views

Ubuntu disk space increase in an LVM group is not being reflected in the OS

I added some disks to my RAID configuration, taking it from 6TB to about 14TB. Increased the size of my Ubuntu server’s virtual machine disk to 12TB, and then used GParted to expand the partition from ...
user avatar
1 vote
0 answers
1k views

LVM: "Volume group is not consistent" and "Incorrect metadata area header" but volume still mountable

I'm on Ubuntu 14.04 with a volume group that has 4 disks in it: Incorrect metadata area header checksum on /dev/sde1 at offset 4096 Incorrect metadata area header checksum on /dev/sde1 at offset ...
sagargp's user avatar
  • 131
0 votes
2 answers
1k views

How to realocate space from the Swap partition to the ext4 'normal' partition in Ubuntu?

My Linux is running in a VM for which I allocated half of the physical amount of RAM (32 div 2) and 20 GB of disk space. I can see the structure of my disks. The 'linux swap' partition took 16GB. ...
CLM's user avatar
  • 13
1 vote
0 answers
366 views

LVM Unable to remove physical volume

Aim: To remove the physical volume from the LVM in order to reformat it. LVM Setup: 1x 2TB HDD 1x 3TB HDD Problem: When trying to pvmove, I get an error saying "No extents available for allocation" ...
Adam's user avatar
  • 11
1 vote
1 answer
2k views

Simple Ubuntu Server - Expanding disk space - adding a new drive LVM, RAID0 existing setup - how?

I have a 1TB ext4 partition mounted at / with all my data and Ubuntu 11.04 (natty) installed. Now this drive is almost full (I used it as a database server for some processing). RAID0 is ok, I can ...
NightWolf's user avatar
  • 143
1 vote
2 answers
567 views

LVM Extend... not sure the filesystem

I would like to extend my LVM partition. First I did lvextend -L +100G /dev/server/home Now I still have to extend the filesystem. The tutorials tell me to use resize2fs, but that only works for ...
Jarvin's user avatar
  • 7,316
1 vote
1 answer
290 views

How can I backup an Ubuntu install with multiple partitions and restore it to a single partition (or LVM)?

The title says it all: I have a machine that has several partitions. I'd like to back it all up (preferably as a single image) and restore it to a single partition/maybe LVM. I've run into more and ...
aresnick's user avatar
  • 291