LVM is a logical volume manager for the Linux kernel

learn more… | top users | synonyms

0
votes
0answers
14 views

GRUB fails to install with LVM setup

I have 1x 160GB HDD and 2x 80GB. The way I want to partition all the disks is as follows, GPT partition tables with 10GB partitions which will be LVM physical volumes. The rest of the disk space will ...
0
votes
1answer
11 views

Go to LVM with an already non-LVM disk, how to?

I plan to use LVM. My Ubuntu is currently non-LVM based. I wonder if I can do that without resintalling or if I can: resize current partition (call it part Old) create new partition (call it part ...
0
votes
0answers
13 views

How to increase /boot partition size when installing Ubuntu 14.04 using the “use entire disk and set up encrypted LVM” option?

How to edit the size of the /boot partition when installing Ubuntu? Using the guided partitioning option "use the entire disk and set up encrypted LVM" results is a /boot partition which is only ...
2
votes
1answer
9 views

Is Ubuntu LVM a RAID?

I had a 4 disk LAMP system running Ubuntu 10 then upgraded to 12. The drives are managed by LVM since initial setup. Recently, one of the drive failed (the newest and largest of course, 3TB). I sent ...
1
vote
0answers
19 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 ...
0
votes
0answers
10 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 ...
0
votes
2answers
24 views

Mounting encrypted LUKS partition from Live CD

Error to begin with, can't boot I had to do a hard reboot of my computer, and when booting up it (initramfs I think) gave an error: mount: mounting /dev/mapper/ubuntu--vg-root on /root failed: ...
7
votes
2answers
19k views

Adding Disks With LVM

I'm sure this has been answered somewhere on here before (I even found kinda a guide here, but seemed to be a bit spotty and incomplete) but I was wondering if someone could assist me or at least ...
1
vote
0answers
9 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
2answers
4k views

Grub2 on LVM: How can I switch between alternate root LVs?

I have a working setup of Ubuntu Server 12.04 LTS (precise) installed on a LVM Volume (/dev/vg0/root). /boot is on the same LV, and Grub2 boots nicely from it using its own raid/lvm/xfs modules. Great ...
0
votes
0answers
15 views

Moving LVM from ubuntu 14.04 LTS desktop to ubuntu Server

I have Ubuntu 14.04 LTS desktop configured as below separate file systems / - root /boot - boot LVM - LVM Configured for (/home) Now, I am planning to install Ubuntu Server and then add this existing ...
0
votes
1answer
44 views

Mount external hard drive with LUKS Encryption + LVM

I recently switched to a bigger Hard Drive by running dd if=/dev/old of=/dev/new However now I am trying to get some files that changed after copying, so I connected the old Hard Drive over USB. The ...
89
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 ...
0
votes
0answers
13 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 ...
0
votes
1answer
31 views

Unable to free up space on vg-root

I have an Ubuntu Server installation 14.04 that I used the ubuntu default LVM partitioning by the installer (With the /home, /, /tmp... as separate partitions) and I never thought anything of it and ...
0
votes
1answer
514 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 ...
0
votes
1answer
16 views

NTFS partition corrupted for dual boot

I tried to dual-boot Ubuntu with Win8.1 but at installation by mistake selected LVM and then did reboot. All my partitions now in Ubuntu Live CD shows as single LVM. How can I recover the data of old ...
2
votes
1answer
46 views

Expanding disk inside Hyper-V using LVM

In my lab environment I have an Ubuntu server 12.04 which I am trying to add space to. LVM was set up at boot up and after adding 100GB through the edit disk wizard I am unable to add that space to ...
0
votes
2answers
6k views

Mount Logical Volume failing

I'm trying to mount my logical volume and get the following error: root@mediaserver:/home/jon# mount /dev/mediaserver/homeserver /media mount: you must specify the filesystem type So I tried to ...
0
votes
0answers
23 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
13 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 ...
1
vote
0answers
23 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
18 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 ...
0
votes
0answers
73 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
2answers
710 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 ...
0
votes
1answer
23 views

How do I rescan drives I've expanded?

I frequently expand drives on my VMs. How can I rescan the drives without rebooting the server?
0
votes
0answers
58 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 ...
33
votes
6answers
128k views

How can I resize an LVM partition? (i.e: physical volume)

I want to shrink my second (LVM) partition, in order to create a new partition in the newly freed space. I am using the Live CD to do so, because I know I can't resize/move this partition while it is ...
0
votes
0answers
23 views

Why am I being repeatedly asked for swap partition password when apt-get upgrade?

I installed recent kubuntu on a laptop, and choose to encrypt / and swap. Works fine. But very often, when I do apt-get upgrade, I get questions about password for swap partition. I could understand ...
1
vote
2answers
439 views

Installing EFI to Raid 1 using partman and seed file, on both drives

So my question is, Is it possible to install the EFI partition onto both drives when doing a seed install on Ubuntu? That way if one drive goes, the relevant efi partition/data is there on the second ...
1
vote
1answer
82 views

Initramfs + Luks - only one password prompt

What I want to achieve: Being asked for a password, only once during boot time; The other (non-root) partitions to use the keyfile inside the /root/ directory. What I have achieved so far: (A) ...
0
votes
1answer
94 views

In ubuntu 15.04, boot-repair running forever

To reproduce my problem [of accidentally deleting all the kernels] Delete all the kernels Try to fix the problem with boot-repair from live USB LVM enabled Pastepin link is here Please help me ...
0
votes
0answers
15 views

How to definitively remove old physical device name

I did something wrong when creating partition type, partition and lvm physical volume. I removed a wrong named partition vdb1 into /dev/vdb virtual physical storage and renamed a new created one with ...
1
vote
2answers
148 views

“ubuntu” shows up in boot menu, but my laptop keep telling me that “No OS detected”

I tried to intall ubuntu 13.10 on my Acer Aspire 4750 yesterday, and I think I make a mistake choosing that "LVM" option. Now I am facing these : "ubuntu" option now shows up in my boot menu. ...
2
votes
0answers
158 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 ...
0
votes
1answer
102 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
16 views

Swap sharing Windows and Ubuntu

This question has been asked before but not in this manner. I have Windows 8.1 and Ubuntu 15 dual booting on an SSD, A secondary HDD is currently has a partition at the end that is NTFS formatted ...
0
votes
1answer
37 views

ALERT! /dev/disk/by-uuid/… does not exist (after lvextend and aptitude upgrade) [closed]

After resizing the lvm of my machine and - some time later, updating kernel of my machine, the machine does not start. Error: ALERT! /dev/disk/by-uuid/... does not exist What can I do here? Just ...
1
vote
1answer
2k views

Manually installing Ubuntu 12.10 with LVM

I have a 8 GB flash drive. I need it to install Ubuntu with encrypted LVM. When I use automatic partitioning everything is be okay and works. But the machine sets 2 gigabytes SWAP, an unreasonably ...
8
votes
2answers
14k views

What are the advantages/disadvantages of the new encryption feature in ubuntu 13.10

I'm in the middle of installing 13.10 and the Ubuntu page I was following on how to install from a USB stick says nothing about these two choices (on the Installation type screen): 1) Encrypt the ...
1
vote
0answers
26 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
5answers
19k views

How to remove all LVs VGs and Partitions On All Drives Before Installing 12.04

I have 2 hard drives that had been used for Ubuntu Server 11.10. Now I would like to start from scratch with 12.04 but I'm having some trouble with the existing logical volumes and volume groups. ...
0
votes
1answer
59 views

How to prevent the catastrophic loss of ubuntu lvm drive encryption key?

In a previous install of ubuntu, my lvm encryption pw was no longer recognized and I lost it all! This occurred on a dual boot setup on a macbook pro 2010, from when I did a drive repair from within ...
1
vote
1answer
480 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. ...
5
votes
3answers
15k views

How to install Ubuntu server with UEFI and RAID1 + LVM

I used to install my servers with LVM over software RAID1, and grub install on the MBR of both drives. Now I have an UEFI server, and the compatibility (BIOS) mode does not seem to work. So I went ...
2
votes
1answer
2k views

LUKS and LVM install: no boot (gave up waiting for root device)

I just finished installing 12.04 on my system, configuring it with LUKS and LVM. I can open the encrypted position just fine in a recovery disk, but I just can't seem to get it to boot. It waits ...
0
votes
1answer
217 views

How to partition for a successfull boot with raid5 + lvm +encryption

I have been trying to make this setup work for several days. The system never boots... When I do a setup without the software raid I can get it to work. How should I set up my system partition to be ...
0
votes
0answers
45 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
1answer
58 views

Landing in the GRUB command line at start up (bcs of XFS filesystem at /boot!)

Edit. The problem that I landed directly in the GRUB command line was another bug than originally asked for - see the answer. I changed the title accordingly. I think the title says it all. I'll ...
0
votes
1answer
45 views

reinstall ubuntu without rebooting on usb pen drive

I want to know if it is possible to reinstall ubuntu server edition without rebooting on an usb pen drive. I have LVM and I want to install the new version on a new LV, then change grub2, and then ...