LVM is a logical volume manager for the Linux kernel

learn more… | top users | synonyms

20
votes
3answers
73k 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 ...
17
votes
3answers
16k views

How to set up multiple hard drives as one volume?

I am about to set up box to basically be a file server. I plan on having multiple drives in the box, and would like to set them all up so that they appear to be a single drive. So I could essentially ...
5
votes
2answers
12k views

Setting Up RAID During 13.04 Install

I am attempting to install Ubuntu 13.04 Desktop on RAID 5, but I can't figure out how to do it. I have read that it can be done during the install, though I haven't found a good explanation of how ...
16
votes
1answer
11k views

How is Trim enabled?

I have heard, that Ubuntu 14.04 will have Trim enabled by default. How will this be done? By adding a discards option to the ext4 mount options or by running a cron-job? Will the default options for ...
8
votes
3answers
17k views

How to change LUKS passphrase?

Having installed Ubuntu 11.10 with whole disk encryption and LVM, I need to provide a way for users to easily change LUKS passphrase. Preferably, this should be done using GUI tools, thus, enabling ...
13
votes
1answer
11k views

How can I install Ubuntu encrypted with LUKS with dual-boot?

Ubuntu 13.04 installation disk has an option to install Ubuntu encrypted using LUKS. However, there is no option to perform an encrypted installation along-side existing partitions for a dual-boot ...
7
votes
2answers
10k views

How to configure LVM & LUKS to autodecrypt partition?

I have recently installed ubuntu server 11.04 with the full lvm encryption(installed from the setup) . I wish now to use a key file to do automatic unlock. I have tried to follow this guide ...
4
votes
1answer
2k views

Swap encryption and hibernating

I run Ubuntu 12.04 on my laptop, with an encrypted home folder + swap partition. Before I had this encrypted setup, I used to have my hibernation enabled. I found this documentation on how to enable ...
8
votes
3answers
41k views

How to resize / enlarge / grow a non-LVM ext4 partition

I have already searched the forums, but couldnt find a good suitable answer: I have an Ubuntu Server 10.04 as KVM Host and a guest system, that also runs 10.04. The host system uses LVM and there are ...
1
vote
2answers
8k views

How can I create one logical volume over two disks using LVM?

Hi. I've got a working Ubuntu 12.04 server, which is going to serve as media server. I've added two disks of size 3TB to put my data on, and I wish to combine these as one 6TB logical volume which I ...
8
votes
2answers
12k views

How to change the password of an encrypted LVM system (done with the alternate Installation)?

I installed Ubuntu 11.10 with the alternate CD and encrypted the whole system (except boot) with the encrypted LVM. Everything works great as before, but I would like to change the password of the ...
5
votes
2answers
2k views

How to migrate an encrypted LVM install to a new disk

I have a somewhat customised laptop install I want to move to a SSD directly, without having to reinstall Ubuntu, reinstall all the apps and make all the other changes again. The SSD is smaller, so I ...
4
votes
2answers
9k views

How to shrink Ubuntu LVM logical and physical volumes?

I have installed Ubuntu 12.10 as the only OS on my system. I told Ubuntu to overwrite everything as I was in a hurry, hence I only have the two partitions Ubuntu creates, the Boot Partition of a ...
2
votes
3answers
272 views

Recover data from formatted LVM (Luks, Ext3) after Ubuntu installed over it

I have a 1TB HDD and some days ago I did a mess That disk had: One EXT3 partition ( / ) One EXT3 partition ( /boot ) One LUKS LVM which had a EXT3 partition of about 200 GB I wanted to replace ...
1
vote
1answer
44 views

What's in this 524MB drive?

I have recently installed Ubuntu 14.04 on my dual boot PC with windows 8.1. On Ubuntu I have seen a 524 MB drive popped up. As I take a look at it, its not swap or anything. Its content are as ...
5
votes
3answers
4k views

How do I create a multiboot environment using LVM for your *buntu operating systems on a GPT formatted system drive, in a UEFI based system?

My reason for using LVM is that I reinstall, upgrade and generally mess around with my OS installs so much that I have found that LVM gives me fantastic flexibility in moving, expanding, cloning and ...
2
votes
1answer
180 views

Merge LUKS-partition with partition on another HDD

I just bought a 2 TB hard disk because the home partition on the old one is almost full. What I want to do is to extend the home partition on hard disk 1 (sda2) to also include all the space on the ...
1
vote
2answers
948 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 ...
29
votes
0answers
1k views

How do I enable Ubuntu to suspend the machine using LUKSsuspend during sleep/hibernate

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 ...
4
votes
3answers
13k views

What is the use of /boot (lvm based) in partitioning?

As separate /home partition helps in easy reinstallation/upgrade. Does having /boot help while dualbooting with windows? I mean is it useful for normal desktop/notebook users or it is advanced ...
3
votes
4answers
22k views

How do I shrink the root logical volume (LV) on LVM?

I don’t need to actually shrink the MBR partition, just the logical volume that contains the root “/” filesystem. It’s ~200GB now, and I need to shrink it to ~150GB to make room for a new logical ...
0
votes
3answers
107 views

No Swap Partition!

I'm in dire need of help. My system has become incredibly laggy and hardly usable. I have realised that this is because for some reason I'm running without virtual memory (this is not intentional). ...
7
votes
3answers
5k views

How should I configure TRIM Support for LVM logical volumes?

I am setting up a notebook for software demo purpose. The machine has a Intel Core i7 CPU, 8GB RAM, a 128GB SSD, and runs Ubuntu 12.04 LTS 64bit desktop. As it is, the SSD is configured to have a ...
6
votes
0answers
5k views

Setting up LVM Snapshot as a backup/restore point in ubuntu [closed]

since I could not find how to post this as a blog/post/tutorial in AskUbuntu.. I decided on posting it here, were it is best exposed anyhow ... Setting up LVM Snapshot as a backup/restore point in ...
2
votes
1answer
751 views

Should I use a volume group or a logical volume for /home on LVM?

I'm setting up Lucid on a new laptop and I'd like to use LVM - partly for flexibility and partly to make it easy to move /home to a new distro if needed. Should I be setting up /home on it's own VG ...
3
votes
3answers
4k views

How to install in EFI mode with Encrypted LVM?

I'm trying to properly install Ubuntu 12.04.1 LTS 64-bit PC (AMD64) with the alternate install CD ".iso" on a lenovo Thinkpad X220. Default Hard Disk (with a pre-installed version of Windows 7) has ...
2
votes
1answer
350 views

Remove lvm to install Ubuntu

I am trying to install Ubuntu. However I have an lvm on the drive I want to install Ubuntu on. Gparted cannot remove the lvm which is /dev/sda6. How can I remove the lvm to instal lvm over it?
1
vote
0answers
806 views

12.10 installation with LUKS encryption & LVM in EFI mode

I try to figure out how to perform an installation of Ubuntu 12.10 (EFI Mode) with LUKS encryption and LVM scheme. What I've done so far: Booted on a GParted Live CD 0.14.1-6 in "EFI mode only" (in ...
1
vote
2answers
9k views

view LVM paritions in windows 7

im trying to browse in windows an old harddisk that i got, but its a LVM patition. How can I see a partition that is ext3/4 or part of LVM partition in windows? Anyone can recommend on a tool?
0
votes
1answer
76 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
1answer
457 views

accidentally use lvm during installation of 13.10

I have 2 partitions, one is for window and the other one is for Ubuntu. However I had a 12.04 version of Ubuntu , and I want to upgrade to 13.10. During installation process I choose replace 12.04 ...
0
votes
1answer
3k views

Mount LVM encrypted partition on external HDD - Device /dev/sdc5 is not a valid LUKS device

Recently, my Ubuntu server was unable to boot on my 500Go HDD I removed the HDD from my server case, put it in an external case, and connected it via USB to an Ubuntu laptop. I have SSH access on ...
0
votes
1answer
4k views

How to install ubuntu 12.10 with / partition on LVM?

After installing Ubuntu 12.10 I cannot boot my machine anymore. I get the following error. Gave up waiting for root device. Common problems: - Boot args (cat /proc/cmdline) - Check rootdelay= ...