Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [lvm]

LVM is a logical volume manager for the Linux kernel

0
votes
0answers
16 views

Multiple hard drive full disk encryption

I'm trying to achieve full disk encryption using LUKS on both internal hard drivers but during boot system asks for passphrase multiple times. I also tried key file method but initramfs cant find this ...
0
votes
0answers
29 views

need help installing ubuntu 18.4/recovring previous installation

During an automatic update on Ubuntu 16.04 LST with an update to Ubuntu 18.04 LST, I encountered and error which I have made worse by trying to fix. To summarize I have a "boot drive" /sda1 with 3 ...
1
vote
0answers
13 views

Is there a way to relocate LVs from an un-partitioned disk to a partition on another disk?

Freshly signed up newb here, apologies in advance for any silliness and wordiness. (Also excuse the makeshift formatting; ssh is not enabled on my build yet, and my company has copy-paste disabled in ...
2
votes
1answer
41 views

Understanding free space / volumes on Ubuntu

I am new to Ubuntu. I am running 18.04 in a VM on ESXi 6.5, where I am running Docker containers. One of the apps I am running in docker is causing me some issues, one of which could be related to ...
0
votes
0answers
47 views

Setup encrypted LVM on ubuntu 18.04 server edition

While installing Ubuntu 18.04 server edition, the option "Use entire disk and setup encrypted LVM" is missing So how do encrypt the entire disk while installing server edition?
1
vote
0answers
26 views

Why did unattended-upgrade remove lvm2 and libreadline5?

I installed Ubuntu 18.10 last week on a new host with LVM. It has one SSD with boot and root in one VG, and then I added one HDD in a different VG containing /home and /media. A day or so later, ...
0
votes
0answers
22 views

Cannot increase size of swap partition under lvm

I'm running Ubuntu 18.04, and the installation uses LVM. The partitions were automatically setup, with swap only getting 976 MiB. I decided to increase the partition size using the method here: how to ...
0
votes
2answers
61 views

Deleted 18.04 server. How to reinstall 18.04 server without loosing existing files?

Please excuse the way I've gotten into this situation. After upgrade from 16.04 LTS server to 18.04 LTS server I was removing 16.04 programs php7.2 depended on. One of those was SSL-something. Since I ...
-1
votes
0answers
21 views

How to extend root partition using lvm?

I have the next lvm structure /dev/ubuntu1604tmpl1-vg/root [ 18.00 GiB] /dev/sda1 [ 512.00 MiB] /dev/ubuntu1604tmpl1-vg/swap_1 [ 1020.00 MiB] /dev/sda2 ...
-1
votes
0answers
64 views

Ubuntu 18.10 server installer not seeing LVM2 volumes

I am trying to install ubuntu-18.10-live-server-amd64.iso (from a DVD) over an existing Ubuntu installation. The current installation uses LVM2, with 3 logical volumes, and I want to preserve one of ...
2
votes
1answer
135 views

WARNING Option 'hash' missing in crypttab after upgrading Ubuntu

I upgraded Ubuntu from 18.04 to 18.10. I have full disk encryption enabled. When I boot up, I get this error message displayed above the password prompt for the full disk encryption: cryptsetup: ...
0
votes
0answers
31 views

LVM partition config causing boot delay because it's “Failing to connect to Lvmetad”

I'm running xubuntu 18 in VirtualBox. On boot I get this message about "Failing to connect to lvmetad: Falling back to device scanning" Then it hangs for 30s, and just before boot the rest of the ...
0
votes
0answers
26 views

Can I prevent the root password from being changed?

I found this question through Google. How do I reset a lost administrative password? I'm wondering If I can prevent this by encrypting my HDD with LUKS. How could the system get to /bin/bash if the ...
0
votes
0answers
60 views

Problems understanding ubuntu partitions and volumes while increasing storage

Trying to increase the storage space on an encrypted partition from ~18GB to ~32GB. Followed all the instructions here successfully including the gparted storage extend: https://www.howtogeek.com/...
0
votes
1answer
80 views

How to create LVM via Calamares for Lubuntu 18.10?

This is for an install on a UEFI-based laptop with a GUID partition already in place. There is only one disk I'm dealing with and it has partitions that I can't erase for provisional reasons (non-...
2
votes
1answer
131 views

Accidentally resized ext4fs over 16TB limit, how to rollback?

We tried to increase the size of our 15TB partition with lvresize with the following command: lvresize --resizefs --size +1T /dev/vg0/mm No errors were displayed during the operation, but the result ...
0
votes
1answer
64 views

Kubuntu - Creating Boot and LVM Partitions from scratch

At the moment, I’m trying out KUbuntu 18.04 and I’m wondering if someone can show me how to do an install that looks like: /dev/sda1 -> /boot -> 1GB (by the way, what format should boot be?) ...
0
votes
0answers
45 views

move boot partition to add additional space

I'm running out of space on my server and now I'm trying to expand the main partition. But I just can't figure out how to move the boot partition. The move command in fdisk is missing but I really ...
0
votes
0answers
44 views

How can i expand disk space of ubuntu--vg-root? (LVM)

I was running out of space so i used gparted to expand my disk space from 40GB to 90GB. Then i booted my ubuntu and used parted to assign the space to sda1: sudo parted /dev/sda resizepart 1 sudo ...
0
votes
0answers
31 views

RAID 0 + RAID 1 (RAID 0 + HD) or LVM + RAID 1

I have 3 hdds. 1 of 2TB (sda) and 2 of 1TB (sdb / sdc). I want to have 2 units of 2TB in mirror. for which I have to apply LVM or RAID 0 (sdb / sdc) in the units of 1TB to obtain (md0), and then RAID ...
2
votes
1answer
51 views

How can I add the new space to a volume group after resizing partition?

This was the output of lsblk before running parted: sda 8:0 0 90G 0 disk └─sda1 8:1 0 40G 0 part ├─ubuntu--vg-root 253:0 0 39G 0 lvm / ...
0
votes
0answers
26 views

Repartitioning after LVM partitioning

I installed Ubuntu 16.04 using LVM method. Now while trying to re-partition HDD using Gparted, I saw that my HDD present situation is like this : LVM is using the entire part of extended space. (...
1
vote
0answers
37 views

ubuntu 18 stucks to purple screen after update

Some days ago I run a simple update, then my computer chrashes. When I start it, after some seconds, I just see a purple screen and nothing happens. I can't go on recovery mode by holding shift nor ...
5
votes
1answer
106 views

Udevadm settle not working

I just upgraded to 18.04 on my NAS. I have a script that prompts my user for a luks password and then mounts the drive after it's decrypted. This used to work: cryptsetup luksOpen /dev/md0 md0_crypt ...
1
vote
0answers
61 views

unable to boot to windows 10 after installing kubuntu 18.04 on second hdd using lvm

I installed kubuntu 18.04 LTS on second hdd(sdb) with lvm enabled and after that am unable to boot to windows first hdd(sda)...if I select windows partition it goes to grub-rescue prompt. I tried ...
0
votes
1answer
14 views

Resizing Logical Group and Physical Volumes to use free space

I recently moved the unencrypted /boot from /dev/sda1 into the root of my encrypted LVM. Afterwards I deleted the /dev/sda1 and ended up with roughly 513MB of free space that I would like to reclaim. ...
0
votes
0answers
43 views

Boot a 2-drives mdadm RAID1 server with a physically disconnected drive

Here is the context: a friend and I have a project for which we would like to create a server based on old components. First of all, I spent some time reading what solution would be the best including ...
0
votes
0answers
33 views

Why does Ubuntu 18.04 Server setup forces /boot outside of LVM configuration?

In ubuntu 16.04 server I used to setup my machines with one LVM only partition (full disk PV/VG) and split in two LV : root (mount / ext4) and swap. This has proved impossible to do in 18.04 server ...
0
votes
0answers
12 views

Configure Grub 2 with three LVM encrytped drives

I am trying to figure out how to configure Grub 2 to see all the operating systems available. In my setup I have got a system with three drives: /dev/sda (Ubuntu) /dev/sdb (Fedora) /dev/sdc (openSUSE)...
0
votes
0answers
66 views

lvs command has no output

My laptop's main storage has only one LVM partition I guess the grub is damaged At first, I stucked in Ubuntu loading after the grub, The system was freezing, I tried to use recovery mode, but after ...
1
vote
0answers
55 views

Ubuntu update overwrote (almost) entire home directory

Sorry for the indescriptive title and lack of technical details, but I'm absolutely puzzled about what's going on: Today, a update for GNOME Ubuntu 18.04 was installed on my machine. The update, ...
0
votes
0answers
73 views

Creating Logical Volume Partition Type with parted

I am trying to create a logical volume partition using parted and so I used the following steps: Create partition with parted using the interactive mode which would translate to: mkpart, then Gave ...
0
votes
0answers
21 views

Demystify the LVM label

The LVM label identifies the device as an LVM physical volume. It contains a random unique identifier (the UUID) for the physical volume. It also stores the size of the block device in bytes, and it ...
0
votes
1answer
83 views

How do I get rid of unused space on LVM2 PV? [duplicate]

I have a slight problem. After resizing my Ubuntu LVM2 Physical Volume from 250G to 72G, Gparted was able to let me click on the resize button on /dev/sda5 But when I apply the changes it gives me ...
1
vote
0answers
29 views

Setup encrypted LVM with another OS installed

I'm trying to install Ubuntu 18.04 Server and have followed some guides as to how to achieve such (usually it includes cryptsetup, lvcreate and others) but I always get stuck on the first boot. My ...
3
votes
2answers
3k views

Install Ubuntu 18.04 desktop with RAID 1 and LVM on machine with UEFI BIOS

I have a machine with UEFI BIOS. I want to install Ubuntu 18.04, desktop version with RAID 1 (and LVM) so my system will continue to work even if one of the drives fail. I haven't found a HOWTO of how ...
0
votes
0answers
34 views

Cryptmount / setup is missing from initramfs

So silly me decided to do a "apt autoremove" which decided to remove cryptmount which if I was more vigilant would have realised from the error messages that came up during the uninstall that I should ...
2
votes
1answer
29 views

Mount folders to specific partition

I'm relatively new to Linux/Ubuntu and just installed 18.04 LTS Server on a VPS. During setup I created 3 partitions using LVM (other than boot): / swap /var This is the output from df -h: ...
1
vote
2answers
140 views

Mount Debian install as USB drive

I have a Debian 8 notebook which had a hardware failure (power board) which is a time consuming and error-prone repair. So I purchased a 2.5" HD USB enclosure and placed the HD from the notebook in ...
0
votes
0answers
14 views

I can't add another OS onto my computer becuase I can't partition/split my lvm partition to create more storage

I am currently using Ubuntu 16.04. When setting up Ubuntu, I wiped my whole computer and chose to use lvm. Currently, Ubuntu is the only OS on my computer. But now I want to put another OS but still ...
2
votes
0answers
33 views

Recover LVM without /etc/lvm/backup/

I just thought what if I lost the LVM backup folder and I only have the HDD's belonging to my one and only Volume Group. Here is a little summary: root@ubuntu-srv:/# pvs PV VG Fmt Attr ...
1
vote
1answer
131 views

LVM thin pool is not activated

There was a thunderstorm, the server under Ubuntu 16.04 turned off despite UPS. On the server, the exchange folder (/srv/data) is under samba. The /srv/data mounts a thin volume vg /thinpool/data from ...
0
votes
0answers
189 views

File system errors on virtual machine: Resize inode not valid. fsck exited with status code 4

TL;DR I'm trying to fix a disk that got corrupted because I hard-shutdown the VM. The farthest I've managed to go is to use fsck.ext4 and a back up superblock to allow me to mount the disk again. ...
0
votes
0answers
154 views

Cloning Ubuntu 18.04 LVM filesystem question

This is a very basic LVM cloning question since Ubuntu 18.04 pretty much requires using this filesystem scheme. I've read quite a few threads/answers regarding the cloning of various Ubuntu ...
0
votes
0answers
448 views

Ubuntu 18.04 cloning LVM and then resizing question

I installed Ubuntu 18.04 onto an old PC that had a 320 Mb IDE HDD. Everything seemed to work well so I used Clonezilla to clone the install onto a 512 Mb SDD. Even though I set Clonezilla to expand ...
1
vote
0answers
166 views

Trying to intialize LVM with a 3.7 TB Hard drive

Trying to extend a barely setup LVM on my fresh install of an Ubuntu server. I am getting the following error message: Device /dev/sdd excluded by a filter when trying to run: sudo pvcreate /dev/...
4
votes
0answers
565 views

Timed out Availability of block devices

On a fresh Ubuntu 18.04 (64 bit) Server install, the blk-availability.service always killed by timeout at shutdown. I think the dependency of this service is bad, but I don't know what would be the ...
0
votes
0answers
49 views

Clone Ubuntu Server (LVM) to Smaller SSD

I currently have Ubuntu Server 16.04 installed on an 500GB HDD. The OS only takes up ~60GB of the partition. I have a 250GB SSD that I'm trying to clone it to. So I tried shrinking the partition using ...
0
votes
0answers
32 views

File system problems, sudo parted -l, sudo fdisk -l show16 loops? [duplicate]

I guess something is wrong with my filesystem. Gparted shows: sda 1 (boot 487 MB), sda 2 (extended 238 GB), sda 2, sda 5 (lvm2 pv 238 GB) of the 238 GB, only 48 MB are unused The fdisk -l ...
1
vote
1answer
960 views

Every time I install or remove a package I get LVM2 error

I need help dealing with this error. I run Ubuntu Budgie 18.04LTS. anon@computer:~$ sudo dpkg --configure -a Setting up lvm2 (2.02.176-4.1ubuntu3) ... update-initramfs: deferring update (trigger ...