LVM is a logical volume manager for the Linux kernel

learn more… | top users | synonyms

77
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
297 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
45 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
65 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
34 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
113 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
77 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
48 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
353 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
95 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
269 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
387 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
227 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
333 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
18 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
36 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
46 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
620 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
39 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
29 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
264 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
98 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
144 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
527 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
24 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
143 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
128 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
137 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
85 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
22 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
540 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
169 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
19 views

BTRFS bad tree block start

First some background on my setup. I have 7 Hard Drives in a raid 5 (I know, move to raid 6, but not the issue here) array. On top of that, I run LVM, with a partition for btrfs. BTRFS is at version ...
0
votes
0answers
18 views

Ubuntu 12.04 and Hardware RAID 5 and LVM

I have an existing database server setup with RAID5 (3pcs 1 TB disk - usable is 2TB). One of its partition is /data is LVM. There is production data already in there so we opted to create another ...
0
votes
0answers
12 views

costum grub2 menuentry for mdadm lvm partition

I want to set a new entry in /etc/grub.d/40_costum to boot from a mdadm/lvm partition. I know how to do it with standard mbr/gpt partition like (hd0,1)/vmlinuz. How do I use raid1 and lvm grub2 ...
0
votes
0answers
9 views

cryptswap1 on top of Encrypted LVM

"Encrypt the new Ubuntu installation for security" appears to encrypt my /dev/sda3 device as sda3_crypt, with LVM volumes for root and swap. After installation, /etc/crypttab has entries for ...
0
votes
0answers
20 views

Ubuntu fresh Luks/LVM Install “Operative System not Found”

I have a Dell Inspiron 7720 with two hdd, 1st: 1Tb and 2nd: 300Gb. The first hdd have Windows 8.1 Pro and i'm trying to install Ubuntu 14.04 LTS in the second. I made a fresh and clean install of ...
0
votes
0answers
12 views

Backup lvm thin pool metadata

Usually, if you want to backup a volume, you create a snapshot and then dd it to some location, but it doesn't work with pool metadata: # lvcreate -s "vg_oktestdb1/pool_tmeta" --name metasnap -l ...
0
votes
0answers
12 views

Help! One of my raid partitions has disappeared

First time posting but I can't solve this by my self, so pleas help me. I have a problem, I can't access one of my partitions. I have three 2 TB disks that are running "hardware/intel software ...
0
votes
0answers
15 views

How to install Ubuntu beside other Ubuntu on crypted LVM?

i have question, how can i install ubuntu beside other ubuntu on crypted LVM ? The problem is, that installer of ubuntu does not see LVM volume group. I have tried it with ubuntu server installer, but ...
0
votes
0answers
17 views

Ubuntu Server 14.04.2 no caching page found

I just upgraded from Ubuntu Server 14.04 to 14.04.2 and now I get this error on my three USB hard drives which are set up in a single LVM. I never had this error before and was able to transfer data ...