LVM is a logical volume manager for the Linux kernel

learn more… | top users | synonyms

3
votes
2answers
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
84 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
75 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
586 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
252 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 ...
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
347 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 ...
0
votes
2answers
81 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
868 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
55 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
61 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 ...
2
votes
1answer
183 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
42 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. ...
2
votes
0answers
199 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
661 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
59 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
660 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
711 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
186 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
471 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
248 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
117 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
435 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, ...
1
vote
0answers
637 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
2k 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
365 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
315 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
266 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
7k 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
383 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?
0
votes
2answers
2k views

How to reinstall kernels after accidental deletion with a separate boot partition and an encrypted LVM volume?

My installation is a Ubuntu 12.04 64 bits (Classic "legacy" MBR - No EFI/UEFI here) with two partition : A separate boot partition An encrypted LUKS volume that contains the system Logical Volumes ...
0
votes
1answer
241 views

ubuntu doesn't boot with initrd.img-3.13.0-35-generic and initrd.img-3.13.0-36-generic

I'm not able to boot with initrd.img-3.13.0-35-generic and initrd.img-3.13.0-35-generic - just drops into a busybox shell with the regular generic message. I though that was something kernel related ...
1
vote
1answer
1k views

How to install Ubuntu server 14.04 on LVM RAID?

I want to try install ubuntu on LVM RAID logical volume, but fail on step grub installation. There are my steps as below: 1. use three HDDs called sda, sdb, and sdc to create a volume group. 2. ...
0
votes
1answer
211 views

Please assist with partition management- cannot reformat drive to install Windows?

I installed Ubuntu 14.04 onto my drive, and am now trying to install Windows . Ideally, I would like to just completely wipe the drive and remove all partitions, so I am working with a blank slate, ...
0
votes
1answer
51 views

Will upgrade from 12.04 to 14.04 work with LVM encryption?

I have a laptop running 12.04 and the HD is encrypted with LVM. Will the system boot if I upgrade to 14.04?
1
vote
1answer
2k views

How to boot USB from GNU GRUB 2.02~beta2-9ubuntu1?

I am using HP 1000-notebook pc corei-3 series. I had installed Ubuntu 14.04.1-desktop-amd64, accidentally using the lvm option. After finding my 500 Gb hard drive stuck in lvm I started to find ...
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 ...
1
vote
1answer
1k 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
33 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
1answer
141 views

How to migrate to a bigger ssd?

I'd like to migrate my ubuntu 14.04 install from a smaller sdd (256Gb) to a bigger one (Crucial MX100 512Gb) without reinstalling. What is the best way to process? I read that clonezilla was not ...
-2
votes
1answer
811 views

How to install windows 7 in an extended partition

I installed Ubuntu 14.04 a few days back. As I was in a hurry I clicked on the LVM option. Now when i open GParted in the live cd, it shows that the SDA5 partition has only 16 mb of free space. So is ...