LVM is a logical volume manager for the Linux kernel

learn more… | top users | synonyms

0
votes
1answer
18 views

How can I resize physical volume with more than one logical volume

I want to resize a physical volume from 929,51gb to 800gb. In the physcial volume I have: root@oracle:~# pvs PV VG Fmt Attr PSize PFree /dev/sdc2 vg_root lvm2 a-- 929,51g ...
0
votes
1answer
129 views

lvm2 pv format option is grayed out in gparted

I would like to format a partition to lvm2 pv with gparted, but the option is grayed out.
2
votes
0answers
50 views

Disk size much larger than used + available space [duplicate]

After extending my LVM I got a mismatch when using df -kh. Filesystem Size Used Avail Use% /dev/mapper/Data-Media 11T 5,1T 5,3T 49% However the usage is correct. Any ...
0
votes
0answers
46 views

Ubuntu Installation: How to bring back NTFS disk partitions from logical volume LVM

I am new to ubuntu. I removed my windows OS & tried to switch to ubuntu 13.04. My system had 4 partitions (NTFS). When I tried to install ubutu 13.04 with boot-able USB today, During installation ...
0
votes
1answer
43 views

How to increase lvm disk partition size

I've came up with a problema, let me explain it: I have an Ubuntu 12 LTS virtualized on Hyper-V, initially it had 20Gb of asigned virtual disk but now I'm almost runing out of space so I've increased ...
1
vote
0answers
218 views

LUKS + LVM at Install Time

I am trying to use the Ubuntu 14.04.3 LTS installer to create a disk layout that logically looks like this during installation: /dev/sad | +-- /dev/sda1 (/boot) | +-- /dev/sda2 (LUKS) |...
4
votes
3answers
875 views

What is the proper way to install Ubuntu 15.04 with LVM, LUKS, and manual partitioning?

I am trying to install Xubuntu 15.04 with LVM and LUKS, manually partitioning in order to have a separate /home partition. So far I have booted the Xubuntu live CD and went through these steps: ...
0
votes
0answers
24 views

Trying to recover an LVM partition

I created an Ubuntu server to run Plex media server. The system has a 160gb drive that I allocated to just the OS and swaps and overhead. I added a 2tb drive that serves as /home and stores all the ...
0
votes
0answers
41 views

Move root partition from LVM to 32 GB SSD

I have LVM with just one partition for /home and / (default in ubuntu). I want to move root partition to SSD in my notebook (initally for Intel® Smart Response™). And is it good thing to do? Is 32 (...
0
votes
0answers
51 views

Failed boot after accidentally deleting kernels?

I accidentally deleted kernels while trying to clear more space in the boot partition (I couldn't update new kernels due to lack of space). Now I am unable to boot my Ubuntu Linux (14.04). I tried the ...
0
votes
0answers
198 views

LUKS encrypted: 2 keys, a passphrase and a keyfile, how to priorize keyfile?

I have installed Linux the LUKS way. I provided the passphrase. Later, I made a keyfile (with a random key) and added it to /etc/crypttab specifying its path. I get something like: # <target name&...
1
vote
1answer
107 views

Want to logout of ssh session but pvmove is running in foreground

Situation: I just migrated my disks from a HP MicroServer to a HP DL320e v2, in the process discarding an onboard backup HDD. To replace it I've added another SSD that I want to add to my LVM VG. ...
0
votes
1answer
499 views

Installer hangs when selecting full disk encryption

I'm doing a fresh install of Ubuntu 15.04. On the "Installation type" screen, I select "Erase disk and install Ubuntu" and then check "Encrypt the new Ubuntu installation for security", which causes "...
0
votes
2answers
54 views

Which Ubuntu version [closed]

I wonder which Ubuntu release version I should use. My machine have to contain/run a hostapd wifi AP, an OpenVPN connexion, and LUKS encryption. That's all. I detail it if ever it can make sense in ...
0
votes
0answers
674 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
157 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 ...
3
votes
1answer
710 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 236MB....
2
votes
1answer
36 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
43 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 ...
1
vote
0answers
132 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 ...
1
vote
2answers
3k 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: ...
1
vote
0answers
17 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 ...
2
votes
0answers
82 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
673 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
97 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 ...
0
votes
1answer
452 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 ...
2
votes
1answer
2k 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 ...
1
vote
0answers
87 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
1answer
325 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
1answer
3k 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?
1
vote
1answer
858 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
252 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 ...
1
vote
0answers
677 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 ...
1
vote
1answer
901 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
1answer
121 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 ...
0
votes
1answer
135 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 ...
0
votes
1answer
406 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 ...
2
votes
1answer
84 views

Unable to resize lvm2 partition [duplicate]

I have been facing this issue even when I boot through Gparted LiveCD. My goal is to install Windows dual booting with Ubuntu (My wife is not comfortable with linux) Don't ask me about the ext2 and ...
1
vote
0answers
174 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 ...
0
votes
1answer
108 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 ...
2
votes
1answer
5k views

Install Ubuntu 15.04 with full disk encryption, but without swap partition

I have a laptop with 16GB of RAM, but SSD is only 64GB. I need to install Ubuntu 15.04 with both standard options - "Encrypt the new Ubuntu installation for security" and "Use LVM with the new Ubuntu ...
2
votes
0answers
208 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
1answer
187 views

How to find the size of a filesystem?

How can I find out the size of a filesystem in Linux? By that I mean the exact number of bytes that are used from the partition, not just the output of df, as that can differ from the true size when ...
0
votes
1answer
107 views

Ubuntu 12.04.3 - Expanding/Resizing LVM partition upon additional Disk in a Hardware RAID 5

We have a database server configured as hardware RAID 5 with 3pcs 1TB Disk. Usable is 2TB and partition as follows: /data is LVM Filesystem Size Used Avail Use% Mounted on /dev/sda1 ...
0
votes
2answers
130 views

Mistakenly encrypted partition while installing Ubuntu

My friend has tried to install Ubuntu on her USB (with live-usb) and used LMV encryption for the USB. Right now, it is not possible to load Windows normally. It seems she mistakenly encrypt her laptop'...
1
vote
0answers
110 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 ...
4
votes
1answer
454 views

Can I disable LVM on my ubuntu installation

I have workin Ubuntu instance. Now I decided to refuse of LVM usage. Can I disable LVM and reformat filesystem so that regular file system will be used?
1
vote
1answer
256 views

How to grow LVM partition to include newly released partition (now unallocated space)

I had a Windows partition and I nuked it in favor of a VirtualBox VM. Now I could use the extra space it was occupying. LVM2 is in use on the Linux side but the Windows partition which has since been ...
1
vote
1answer
346 views

Partitioning Unallocated LVM Space as New Physical Partition with Hardware RAID

I'm a newbie to linux and partitioning and apologies in advance if this has been answered before; I've searched extensively on the web for answer, and after being unsuccessful I decided to post a ...
1
vote
2answers
237 views

Execute binary inside symbolic link

I'm trying to execute a binary installer inside a folder, that is a Symbolic Link to another partition. The partition is a LVM logical volume, mapped through /etc/fstab like: /dev/mapper/slow--vg-...