LVM is a logical volume manager for the Linux kernel

learn more… | top users | synonyms

0
votes
1answer
508 views

Dual Booting 2x Linux Distros - LVM Confusion

I currently have Lubuntu 14.04 (64-bit) installed w/LVM. I'm trying to install another Lubuntu 14.04 (32-bit). It's an HTPC and there are some retro gaming emulators that will only run on 32-bit. ...
4
votes
0answers
306 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
1answer
350 views

How to install Warty Warthog on VirtualBox? [closed]

I was following this tutorial on how to install Ubuntu 4.10 But in the step for partitioning disks, I only get the option: Manually edit partition table When I try to create a new logical volume ...
0
votes
2answers
65 views

12TB storage, can someone help me? :)

I have thought about making a RAID 5 with 4 hard drives, 4TB each. There are files with few KB and other files with some GB. I want it to be as stable as possible. This will not be mounted as / or /...
1
vote
0answers
145 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 ...
0
votes
1answer
542 views

Ubuntu 14.04 Desktop on RAID-5 with LVM, GRUB failed to install

I want to configure a home media center and file storage, to keep the data safe I want to use RAID-5 (I have 4 HDs) and LVM for future scaling. I've configured RAID-5 and LVM, but GRUB installation ...
0
votes
1answer
156 views

Installing Ubuntu on RAID with LVM, failed to boot

I've installed Ubuntu on RAID-5 with LVM and made a /boot partition but it failed to boot. Can anyone help or point to a resource describing the process? Update: I decided to re-install the OS. This ...
0
votes
1answer
674 views

After upgrade to kernel 3.16.0-30-generic I cannot use the keyboard

After installation of 14.10 and the "automatic upgrade" of the kernel to 3.16.0-30-generic from 3.16.0-23-generic I cannot use my keyboard to enter my passphrase for decrypting my physical drive. ...
2
votes
1answer
68 views

Installing Server with existing data on drives

I have a Windows 7 HTPC which I'm planning on turning into a headless Home server using Ubuntu server as its OS. I'd like to use LVM. My current set-up is 1x64gb ssd as the boot drive and 2xSATA ...
1
vote
2answers
116 views

Mounting external disk with defaulted 13.10 FDE

I have a hard disk which was previously used in my netbook with Ubuntu 13.10's default full disk encryption (FDE) configuration. I would now like to mount this disk as an external drive (via SATA to ...
0
votes
1answer
207 views

Massively broken boot and partition system

My machine has a single 2TB HDD, with 3 partitions: /dev/sda1 fat32 512MB /dev/sda2 ext2 244MB /dev/sda3 ext4 1.82TB My 14.04 was complaining of 0 bytes on /boot, so I went in and done a sudo apt-...
3
votes
3answers
3k views

Logical volume is not mounted but is in use. Please close all applications using this device (eg iscsi)

How do I resize a LVM partition using system-config-lvm? As per: http://askubuntu.com/a/489909/45156 I clicked on the partition and try to resize, but get Logical volume is not mounted but is in ...
2
votes
2answers
93 views

“Unable to reduce RAID LV - operation not implemented”

I've created a logical volume using Ubuntu 14.04 that started off at 80GiB. I resized it to 128GiB, but now I'd like to reduce back to 80GiB. There's an ext4 file system filling the volume. My command ...
1
vote
1answer
77 views

How do I move several LVM VG's on a pair of software RAID5 arrays from one Ubuntu install to another?

I have two software RAID5 arrays with LVM sat on top. I'm moving from Ubuntu 12.04 on an old PATA drive to Ubuntu 14.04 on a new SATA drive. I have the basic system up and running but now I'd like to ...
1
vote
1answer
620 views

Can not clone lxc container with lvm backingstore after ubuntu update

Command lxc-clone -s -K -M -H -o debian7 -n debian7-bak Result lxc_container: bdev.c: mount_unknown_fs: 209 failed to determine fs type for '/dev/vg/debian7' lxc_container: bdev.c: detect_fs: 320 ...
0
votes
1answer
305 views

How to check file-level write performance?

In a very similar question, the accepted answer suggests to do: dd if=/dev/zero of=/tmp/output bs=8k count=10k; to measure the write speed of a hard disk. My tests were inconclusive. I have an LVM-...
0
votes
1answer
2k views

DM-Crypt does not accept passphrase

The partition table is: sda1 - /boot sda2 - dmcrypt with LVM, containing root, home and swap volumes Cryptsetup does not accept passphrase, that have been used for a long time and can not have any ...
0
votes
1answer
370 views

Logical Volume now has two segments after lvextend

My ubuntu machine has an LVM2 Volume Group (VG) containing a number of Logical Volumes (LV). The VG is composed of 2 Physical Volumes (PV). All of my LVs were created striped with 2 stripes each. ...
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'...
0
votes
2answers
88 views

Making my server virtual - what happens to my LVMs?

I have a physical server with about 10TB in two different LVMs and VGs. I'm going to be installing a bare-metal hypervisor on the hardware now, which means I'll have to rebuild my Ubuntu server. I set ...
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 ...
0
votes
1answer
920 views

Can't shrink ubuntu 14.10 partition, GParted shows drive is full but only 6.6GB is used

Sorry for what is probably not the hardest question. I've been using ubuntu for a while but I've recently installed it on a new computer, and filled a blank hard drive with it. Now i wish to shrink ...
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 ...
0
votes
1answer
63 views

LVM partitioning - how to assign disk space equally

I want to divide the remaining space on an LVM physical volume exactly equally between five new logical volumes (they're going to end up as personal network drives for five users). Is there a best-...
2
votes
1answer
187 views

GRUB see LVM disk with Kubuntu only after enter to BIOS

I have a boot problem. I've installed Kubuntu 13.10 from a standard image file (using the standard installer) without manual partitioning. During the set-up process I chose the option "Setup on ...
1
vote
1answer
57 views

Is there a way to backup an individual partition that is part of a logical volume?

Is there a way to backup an individual partition that is part of a logical volume? I would like to do an automated regular snapshot that is compressed if possible.
1
vote
0answers
43 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 ...
0
votes
2answers
3k views

grub fails to install to MBR (RAID+LVM+LUKS)

Please note the edit at the end I'm building a home server (my first attempt at it) using Ubuntu Server 14.04.1 on an old machine (BIOS doesn't support UEFI), and I want to set up the whole system on ...
0
votes
1answer
4k views

Increasing the filesystem and partition size - vgdisplay “no volume groups found”

I want to increase the main partition size on Ubuntu 12.04.5 LTS server. I'm trying to follow this guy's tutorial. http://www.rootusers.com/how-to-increase-the-size-of-a-linux-lvm-by-expanding-the-...
2
votes
0answers
208 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 ...
0
votes
1answer
16 views

How to properly modify the contents of an LVM Logical Vollume that is being use by a Virtual machine

Q1 - How to properly modify the contents of an LVM Logical Vollume that is being use by a Virtual machine?. Q2 - On Xen?. Q3 - On VirtualBox?. Q4 - On KVM?. Thanks for our time.
1
vote
0answers
718 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 ...
0
votes
1answer
65 views

Partition a LVM disk

I have Ubuntu 14.04 installed. I want to add partitions table to a LVM disk of 465 GB. I would like to make two partitions without loosing any data. Gparted is showing that the whole 465 GB of the ...
3
votes
1answer
2k views

Restoring clonezilla image to newly created LVM partition

I have read an article about LVM and I would like to install it. Is it possible to make first an image of my total installation, then delete everything, create new LVM partitions as explained in the ...
0
votes
2answers
724 views

LVM: unable to create snapshot due to failed merge of prior snapshot

I inadvertently created a situation where I deleted an LVM snapshot that was pending a merge (yes - bonehead move). Now I can neither finish the merge nor create a new snapshot on the original logical ...
3
votes
1answer
992 views

Can't find LVM root dropped back to initramfs

When I boot up I get a screen saying "Gave up waiting for root device" Then it lists common problems "ALERT! /dev/mapper/ubuntu--vg-root does npt exist. Dropping to a shell!" Then I get initramfs. ...
1
vote
0answers
193 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 ...
0
votes
1answer
502 views

Mount and access encrypted LVM on second 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 ...
2
votes
2answers
2k views

How to read/mount full ubuntu volume from now external hard drive

Yesterday I decided to upgrade my laptop hard drive to an SSD. I was previously running Ubuntu 14.04 on the HDD that came with it. I have installed Ubuntu 14.10 on the SSD. I would like to mount up ...
0
votes
2answers
1k views

Setting up LVM and deleting partition volume

I am running Ubuntu 14.04 LTS in VMware. I recently ran out of space so I decided to add a 10GB volume. The problem is I didn't install ubuntu with lvm initially so now I am trying to do it ...
0
votes
1answer
258 views

Root Partition using too much space

I'm having problems with my disk usage. My system monitor says that I have 44,6gb used. But when I run disk usage analyzer, it shows that I have 5.4gb used. My partitions are in LVM. Here some images: ...
1
vote
1answer
148 views

How to setup device mapper RAID on LVM on Ubuntu 12.04

I have read that LVM can be setup as raid without using mdadm. I have setup LVM with two physical HDD and would like to set up RAID1 but I can't find any guidance. Is there any documentation on how ...
8
votes
2answers
456 views

Backup LVM snapshots and Grub2 problem

Long story short, I'm using obnam to take backups of my system. This is what I do: take LVM snapshot of /, /usr, /boot, /var, /home mount the snapshots on /bck-snapshots, /bck-snapshots/usr, /bck-...
1
vote
0answers
711 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
1answer
3k views

How do I use move space from /home lvm to root lvm

I have a root lvm with 10 GB, most of which is used, and a /home lvm with 877 GB. I want to resize the /home lvm to free up space, and then allocate that to root. I'm not clear on whether I can ...
0
votes
1answer
383 views

Can I resize a physical volume?

I've been trying to solve the following problem 5 good hours now. I've recently installed Linux Mint 17 with LVM, erasing my hard disk. For some reason I want to dual boot Ubuntu 12.04 alongside my ...
1
vote
0answers
336 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 ...
0
votes
1answer
278 views

Will “guided with encrypted LVM” enable TRIM on a SSD?

I currently have a little SSD (32 GB) for / and another HDD (250 GB) for /home where I use eCryptfs to encrypt my personal files. I consider buying a big SSD (500 GB) to have all the data on a SSD as ...
0
votes
3answers
8k views

Problem removing swap partition

I have a SanDisk SSD U100 124GB. When I installed Ubuntu 14.04 I partitioned as: - 250mb boot; - 4gb swap; - the rest ext4. Some times later, I removed the swap partition in order to merge it ...
0
votes
1answer
399 views

How do I add space to LVM's root partition without shutting down my VM?

I'm using vmware and want to add space to a VM without shutting down the system by simply adding space to the existing drive. How can I accomplish that?