LVM is a logical volume manager for the Linux kernel

learn more… | top users | synonyms

4
votes
0answers
289 views

Getting “No key available with this passphrase.” when trying to add a new LVM encryption password

I am getting "No key available with this passphrase." when I try to reset the password for the LVM encryption on my Ubuntu box. I have tried the following commands: sudo cryptsetup luksAddKey /dev/...
3
votes
0answers
104 views

16.04 - Slow Kernel Boot (LVM issue)

After upgrading to Ubuntu 16.04 my system boot slow down consistently To analyze the cause I used this command. systemd-analyze plot > boot.xml google-chrome ./boot.xml I have found out ...
3
votes
0answers
784 views

Upgraded to 16.04 and now getting error message

After successfully upgraded to 16.04, I am now getting this message whilst booting lvmetad not active yet, using direct access
3
votes
0answers
59 views

How to change /home to a new encrypted LVM partition

I installed Ubuntu 16.04 LTS and chose the option to remove all and set an encrypted LVM(I have a backup of all my data). I have 1 SSD(/dev/sda) and 1 HDD(/dev/sdb). What the installer did: It set ...
3
votes
0answers
219 views

Using LVM in the already running Ubuntu system

I am using Ubuntu 14.04 dual booting Windows 10. I had one hard drive and now I've added another. I've allocated around 840GB for Ubuntu. In the past I've been able to mount this drive to /media/...
3
votes
0answers
1k 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'...
3
votes
0answers
57 views

How make LVM Snapshots to back in time, in case of bad or non working instalation

I have LVM in my ubuntu installation and i want to know how I can make a snapshot of the whole system, if possible, for example if I install a experimental software and i don't like it, go back in ...
3
votes
0answers
5k views

ubuntu 14.04 not booting, update-initramfs “nothing to do, exiting”

I did a mess while installing ubuntu 14.04 on my XPS 15 (9530 haswell) and I need help to rebuild boot partition. My computer has one miniSATA SSD 32 GB and a 1TB HDD. I crypted both with LUKS with ...
3
votes
0answers
348 views

lvm disappeared after disc replacement on raid10

here my problem: I am running ubuntu 12.04 on a raid10 (4 disks), on top of which I installed an lvm with two volume groups (one for /, one for /home). The layout of the disks are as follows: Disk /...
2
votes
0answers
26 views
+50

Unable to create a flakey file system for testing

In Ubuntu 14.04 when I try: sudo dmsetup create test --table '0 123 flakey 1 0 /dev/loop0' (or the delay target), I get an error: device-mapper: reload ioctl on test failed: Invalid argument ...
2
votes
0answers
20 views

Ubuntu Server issues with LVM

I need help with my Ubuntu Server 16.04. After reinstalling, I've noticed that some LVM2 units were not mounted, unlike the others that was in EXT4. I've followed the instructions in this link ...
2
votes
0answers
119 views

Ubuntu Server 16.04 SW RAID1 LVM - broken RAID unable to boot

I have an old notebook hp nx9020. I want to use RAID1 so I have PCMCIA card - SATA controller and SATA drive on it. I am using this configuration for years (maybe 8 years) on Debian, later on Ubuntu ...
2
votes
0answers
30 views

Ubuntu saying “Volume group ubuntu-vg not present” before prompting for password

Ubuntu 16.04 isn't prompting for my luks password. I pressed ctrl+alt+F1, and the output says "Volume group ubuntu-vg not present." Of course not! I haven't been asked for my password! ubuntu-vg ...
2
votes
0answers
82 views

Encrypted LVM Disk Password not “in box”

After a recent installation of Kubuntu 15.04 using encrypted LVM, I have the following problem. When I boot the system, the pretty Kubuntu encrypted disk password screen appears, but when I type the ...
2
votes
0answers
205 views

After upgrade to 15.04 system does not boot from encrypted disk

The system was installed with LVM encryption, so it used to ask for a passphrase before booting. Now, the boot process fails with the following: Gave up waiting for root device. Common problems: - ...
2
votes
0answers
203 views

update-grub fails on lvm cryptoroot

Disclaimer: I'm running this server now but I did NOT install it. I have two disks connected to an Intel Hardware Raid Controller running in RAID1. On top of it there is a fully encrypted 12.04 ...
2
votes
0answers
2k views

Logical Block number in the “Buffer I/O error”

I was trying to determine a bad PV which was causing the LV to report Buffer I/O error and found this interesting behaviour in the "Buffer I/O error" message. On a Large LV that is mapped to ...
2
votes
0answers
334 views

Reusing disk partition during ubuntu installation

is there a way to tell partman to re-use current disk layout/lvm layout when using preseeding? either that or bypass partman completely? i'm using a custom preseed file with my own partman recipe. but ...
2
votes
0answers
58 views

How to remove encryption from volume during installation

I'm currently in the process of installing Ubuntu Server 12.04 onto a fresh build. I have two 3TB hard drives that I'd like to run in software RAID 1, and was following this tutorial. During ...
2
votes
0answers
538 views

Ubuntu Server 12.04: Boot hangs with error "udevd[538] inotify_add_watch(…) failed: invalid argument

I'm currently faced with the following situation: when rebooting a Ubuntu 12.04 LTS server after updating (it ran perfectly for a year or so, I updated it around two months ago and rebooted with no ...
2
votes
0answers
100 views

Combine two hard drives

I have a PC with 2 physical hard drives, each is 500 GB (sda and sdb) I'd like to combine them in one large hard drive (1T). I couldn't find a clear approach on how to do it. I tried LVM with no ...
2
votes
0answers
396 views

LVM logical volumes do not activate on boot on 13.10

I am running an UbuntuGNOME 13.10 and I set it up without an LVM during the installation process. I am now running it with to encrypted partitions, one is containing a LVM. This all works fine, except,...
2
votes
0answers
539 views

help me understand lvm initial setup loop device

I have a (very) rough understanding of what lvm is, I'm finding it a little hard to grasp loop devices however. Anyway here's my issue: Someone ran an Ubuntu server install for me and probably went ...
2
votes
0answers
68 views

can I easily migrate a working root system from non-LVM partitions to LVM partitions?

I am running an ubuntu 12.04 system with a lot of modifications on a system with two (identical) harddisks. At the moment those are not running any LVM partitions. I would like to start using LVM, but ...
2
votes
0answers
1k views

12.10 installation with LUKS encryption & LVM in EFI mode

I'm trying to figure out how to perform an installation of Ubuntu 12.10 (in UEFI mode) with LUKS encryption and LVM scheme. What I've done so far: Booted on a GParted Live CD 0.14.1-6 in "UEFI mode ...
2
votes
0answers
247 views

How to choose LVM mapping mode when installing Ubuntu server 12.04?

I would like to create a volume group with striped mode on top of 2 RAID-1 devices. The issue here is I cannot choose striped when configuring LVM at installation stage. It's always be linear.
2
votes
0answers
425 views

when installing /boot inside a lvm group, where do I install the boot loader?

I am setting a personal file/cloud server based on ubuntu server 12.04 and owncloud but there are certain things about the partitioning that I can't get my head around... Let's say for example I want ...
1
vote
0answers
22 views

LVM Check Disk for Bad Sectors with RAID Mirroring to Fix Them?

I'm working on creating a very reliable, high-volume storage server on Ubuntu. Suppose you have a large 4 TB RAID1 set of 2 disks on LVM... At this size, I find it's more common to get a bad sector. ...
1
vote
0answers
37 views

How to Install Ubuntu Server without swap?

I have a 256GB solid state drive on which I plan on installing Xen and a few VMs. For the host (dom0), I want to use Ubuntu Server 16.04 and have it take up as little space as reasonably possible. ...
1
vote
0answers
38 views

Ubuntu is broken after attempted LVM installation

I am trying to install LVM on an Ubuntu 14.04.4 machine, I have the system booted on /dev/sda1, and want to create an LVM partition on /dev/sda2. These are the steps I have followed: apt-get install ...
1
vote
0answers
77 views

btrfs balance “No space left on device” with no success on any -dusage and -musage values

I have the following issue with btrfs balance start / on a btrfs on an 140 GB LVM with 4 physical device (in case that matters): sudo btrfs balance start / fails with ERROR: error during balancing '/...
1
vote
0answers
17 views

LVM mirrored reads goes to one drive instead of both

I've set up LVM mirror on two HDDs. The mirror works (and even has proven it's efficiency when drives failed two times). The problem is that all read operations goes to only one HDD, I see it with ...
1
vote
0answers
57 views

How to get clvmd running on Ubuntu 15.10?

I'd like to get clvmd running on Ubuntu 15.10 which currently fails and failed (I'm summarizing resolved issues as well) due to failure of start of service clvm because of missing ~/etc/init/...
1
vote
0answers
55 views

LVM & LUKS manual partitioned but issues with loader/init/grub

I've had some success with manually partitioning and installing LVM & LUKs. The partitions are created - home, root, swap and boot, the pv and vg's were all created and set up correctly. I ...
1
vote
0answers
71 views

Issue dismounting LVM on LUKS system when initial live-USB isn't present

I am having a rather peculiar problem with the Ubuntu half of my system. The TL;DR is that I have Ubuntu 14.04 using an LVM on LUKS setup. /boot lives on an unencrypted partition (/sda3) while swap ...
1
vote
0answers
65 views

dm-crypt plain on top of lvm with /boot on usb

Just as a preface, due to the specificity of my question, I did not find a thread that applies to my question. With that, I'll get started. Here are main points of what I'm trying to do: Full disk ...
1
vote
0answers
95 views

Ubuntu 12.04 preseed LVM partitioning

I'm attempting to automate the installation of Ubuntu 12.04.5 LTS using a preseed file, but I'm still getting prompted to confirm a Yes/No at a disk partitioning window. The question being asked is "...
1
vote
0answers
167 views

How do I start my Laptop with root partition on lvm2 thin pool

My Laptop is configured as dual boot system with Ubuntu 14.04 (and windows 8.1). Lately I replaced the dedicated root and swap partitions with a lvm2 partition (VG (Volume Group) LinuxBereich) ...
1
vote
0answers
37 views

recover lost files after online LVM resize

I did the following 5 days ago which may have triggered the problem. sudo lvextend -L +20GB /dev/vg1/filme sudo resize2fs /dev/vg1/filme Now I realize, that almost all files disappeared. Only the ...
1
vote
0answers
204 views

LUKS + LVM at Install Time

I am trying to use the Ubuntu 14.04.3 LTS installer to create a disk layout that logically looks like this during installation: /dev/sad | +-- /dev/sda1 (/boot) | +-- /dev/sda2 (LUKS) |...
1
vote
0answers
43 views

Ubuntu Server 14.04 - Fstab file deleted entry

This morning when I arrived at work the samba server shares had appeared to have gone down, after a short investigation I discovered that the partition in the LVM had become unmounted, after to ...
1
vote
0answers
125 views

Full disk encryption without enabiling LVM

Currently I am building an image to deploy with a fog server (used to deploy images over a network). I am using Ubuntu trusty and am required to have full disk encryption on the machines. The issue ...
1
vote
0answers
17 views

How to properly move /home from separate partition into / partition?

I have two logical volume which one is used for / and another one for /home. The thing is now I want to have /home to be not separated from the /. I want to use the logical volume which I use for / to ...
1
vote
0answers
84 views

How to hot add a new disk with virsh attach-disk?

I'm trying to add a new LVM disk to my guest machine (Ubuntu 14.04.1) by doing the following on the host: lvcreate -L 14G -n vm_vm005_data3 vg00 virsh attach-disk vm005 /dev/vg00/vm_vm005_data3 --...
1
vote
0answers
662 views

change host name initramfs ALERT! /dev/mapper/guacamole--vg-root does not exist

I have two servers - guacamole and chorizo to be set up with Openstack cloud. I installed ubuntu server on one, then used the linux "dd" to image the disk to build the other, and renamed the server ...
1
vote
0answers
170 views

lvm reporting wrong size after gparted expansion - Ubuntu 14.01

After realizing I had under-allocated space on a hyper-v vm for this unbuntu install, I expanded the partition in hyper-v and then used gparted to expand the lmv and boot partitions. However, after ...
1
vote
0answers
109 views

Performance driven, future proof desktop partitioning setup: SSD+HDD

I just got 2 new storage devices, a 128GB SSD and a 2TB HDD. Currently I have Ubuntu 15 (Desktop version) installed on a 2.5TB HDD (16GB RAM). And I would like to move Ubuntu to the SSD and my data to ...
1
vote
0answers
432 views

How to setup LVM cache on ubuntu 14.10 server

building a server machine for my personal server (media + application (docker)) I have two 2tb hdd(1 sata 2 old and 1 sata3) along with a samsung 120 gb ssd. I can format one of hdd but not both (...
1
vote
0answers
140 views

Recover the directory structure of a lost LVM Logical volume?

I am aware of the huge amount of data recovery questions on this site, and reading all of them I think my case is unique enough to warrant a new question. how it came to be I set up a LVM with ...
1
vote
0answers
64 views

How do you move a LVM crypto swap partition from sda to sdb?

I have LVM configured for an encrypted home folder. Naturally this implies that swap falls into the crypto catagory. I have installed a second disk with a swap partition already ready to go and ready ...