LVM is a logical volume manager for the Linux kernel

learn more… | top users | synonyms

80
votes
0answers
3k views

How do I enable Ubuntu (using full disk encryption) to call LUKSsupend before sleeping/suspending to RAM?

This question is related to another one by @Stefan, but it is not a duplicate of it. The questions are slightly different: the author simply wanted to know if this had been implemented, while I'm ...
3
votes
0answers
306 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
77 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 ...
2
votes
0answers
97 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
103 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 ...
2
votes
0answers
38 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 ...
2
votes
0answers
121 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
1k 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
78 views

Can volume snapshots be used as replacement for Clonezilla images?

I've been always using classic disk partitioning and Clonezilla images of selected partitions for fast recovery in case of a catastrophic disk failure. I'm now testing LVM on a new system. It also ...
2
votes
0answers
3k 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 ...
2
votes
0answers
52 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
374 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
96 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
280 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, ...
2
votes
0answers
392 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
63 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
230 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
351 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
14 views

LUKS partition lost?

I'm starting to getting desperate about a partition encrypted with LUKS which is not recognized anymore. Here's what happend: Tried to resize partitions on sdb5 (lvm1 in crypt-container1). Made a ...
1
vote
0answers
6 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
38 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
48 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
57 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
709 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 ...
1
vote
0answers
42 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 ...
1
vote
0answers
31 views

How to shrink LVM2-designated partition without recreating it?

I've installed Ubuntu with LVM2 and now I want to make a new partition on that disk. I've shrank the root virtual volume and now swap volume is located on last extents of the physical volume. AFAIU ...
1
vote
0answers
290 views

Restoring a VM to LV, GRUB disk not found

This is what my setup looks like: ubuntu 14.04 running KVM with libvirt has a HW-Raid it's running from (/dev/sda) and another HW-RAID (/dev/sdb) that is the PV to a LVM VG called "datavg" with ...
1
vote
0answers
104 views

Update GRUB with encrypted LVM on second volume/drive?

On one machine I have an encrypted LUKS container around an LVM on /dev/sda that I can boot into. On the same machine is a second drive with an encrypted LUKS container around an LVM on /dev/sdb (that ...
1
vote
0answers
298 views

LVM VG is not activated during system boot

Since upgrade from Ubuntu 14.04 to 14.10, one of my VGs doesn't come online when the system boots up, and unfortunately, this VG has my root FS, thus I'm dropped to the initrd BusyBox prompt. ...
1
vote
0answers
158 views

ddrescure raw image? lvm encryption lubuntu hard drive to usb drive

I've read I should ddrescue my not-booting hard drive in raw to a larger USB drive. I read this GNU ddrescue Manual but I'm sure which command to use, and whether to chose direct disk access or raw? I ...
1
vote
0answers
571 views

Is Ubuntu still toxic to Macs with Fusion Drive?

Installing Ubuntu BROKE my (since-repaired) Fusion Drive. I burned ubuntu-14.04-desktop-amd64+mac.iso to a DVD, and booted it and I asked it to install beside my OSX install on my homemade* Fusion ...
1
vote
0answers
25 views

Ubuntu not finding my LVM2 volume

first let me say that I'm pretty green when it comes to Ubuntu (and Linux in general) but using guides that I came across online I was able to setup a Ubuntu 13.10 media/file server using a spare PC ...
1
vote
0answers
162 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 ...
1
vote
0answers
24 views

Preserving LVM Partitions while installing ubuntu

I decided to make the switch from OpenSuse to ubuntu. I use lvm with opensuse and I wanna have my partitions in ubuntu. The only option I see in installation is to erase everything and use lvm which I ...
1
vote
0answers
210 views

LVM Partitions Not “Available” On Boot

On my Ubuntu Trusty AMD64, KDE desktop build I have 2 LVM2 PVs, each with a single VG. Each VG contains 2 or more LVs. On boot (a) none of the LVs are "available" so cannot be mounted from fstab they ...
1
vote
0answers
131 views

Two “ubuntu-vg” partitions unable to mount due to naming clash

I had Ubuntu 13.04 installed on my laptop. Rather than upgrading, I decided to install 14.04 fresh on a new SSD. So, I have two drives. One with 13.04 and my old data, and one with 14.04. Both ...
1
vote
0answers
149 views

How to hibernate in a full-encrypted disk using LVM?

I'm running Ubuntu 14.04 and set up my system using LVM with full disk encryption. Then I installed uswsusp and the loading failed. I searched the web and found that this is because my swap partition ...
1
vote
0answers
2k views

Getting “read failed after 0 of 4096 at xxxxxx: Input/output error” error for LVM

I have system with Ubuntu 12.04. On this system used LVM for managing disk drives and similar mass-storage devices. When I used lvscan command for scanning all the logical volumes then it displayed ...
1
vote
0answers
91 views

Ubuntu 12.04.04 LTS xfs xlog_space_left

I am running Kernel: 3.2.0-59-generic will moving to 3.2.0-61-generic fix the issue with xlog_space_left: head behind tail? I do a serious amount of lvsnap shots every hour on a mysql database on a ...
1
vote
0answers
35 views

Failure proof logical volumes on heterogenous bunch of irreliable hard disks

Like I guess most people do, I have accumulated an assortment of various hard drives over the years. They are mostly of different size, manufacturer, speed, etc. There are too many off them to put ...
1
vote
0answers
24 views

Lv not showing correct in fdisk

I am working on a project with iscsi to create a iscsi-target and initiator. Right now i made a logical volume which looks like this: But when I do fdisk -l it shows: The problem is why does it ...
1
vote
0answers
594 views

Ubuntu 13.04 will not erase previous Ubuntu with RAID

When trying to do a clean installation of Ubuntu 13.04 on a system that has a RAID controller and RAID5 volume set and also had Ubuntu 11.04 installed will not allow me to delete the RAID or even ...
1
vote
0answers
548 views

LVM mounted ubuntu 12.04. No space left on device

I have a logical volume that is 2.44 TB in size which is mounted. I use it to store movies and TV shows for sharing on the home network. However, all of a sudden the system now gives the error: No ...
1
vote
0answers
192 views

2x SSD like one drive 12.10

I want to do a clean install of ubuntu 12.10. I got 2x 40GB SSD's. I want to have them like one drive. (like RAID0), is there a way to do this with LVM, in the graphical Ubuntu 12.10 installation? I ...
1
vote
0answers
171 views

Is it possible to extend filesystem using network drive?

I'm running very low free disk space on my file system. Is it possible to extend file system size using network drive (using LVM or similar) Preferably I would like to use Google drive (There is ...
0
votes
0answers
22 views

Repartitioning live system. Anything i missed?

I tried to repartition the server about a month ago, and ended up being unable to connect after reboot (SSH denied after messing with fstab) . I tried to read up on the subject afterwards, and I might ...
0
votes
0answers
7 views

How do I encrypt my HDD and combine with my other encrpted HDD

I am trying to combine 2 HDD's. One of them is already encrypted and is my boot drive. The other one is not encrypted and Linux doesn't see it as more disk space. Could someone explain me how to do ...
0
votes
0answers
29 views

Unattended installation using kickstart and preseed gives blank screen

I have build my own custom image of ubuntu server 14.04.2 for an unattended installation using kickstart and preseeding, and it all looks good, but when the installation finishes it gives me nothing ...
0
votes
0answers
29 views

LVM, GRUB2 and whole disk boot

Ubuntu 14.04.2 LTS on a HP N54L My existing layout is a LVM on a parition as per default Ubuntu install.   sdd 8:48 1 29G 0 disk      └─sdd1 8:49 1 28.9G 0 part ...