LVM is a logical volume manager for the Linux kernel

learn more… | top users | synonyms

3
votes
1answer
1k views

Install LVM on Ubuntu Server

I want to setup an Ubuntu server with LVM. I installed Ubuntu using ubuntu-12.04.1-alternate-amd64.iso because I believe that the "alternate" disc must be used to install with LVM. However it created ...
0
votes
1answer
1k views

Can I dual boot two Linux distros with common boot partition?

Can I dual boot two Linux distros with common boot partition? The reason I'm asking this is because I have a LVM setup with only one primary partition for /boot.
4
votes
1answer
2k views

Setting up lvm with HDD and SSD

My current hard drive is just about full and rather than just toss it and get a new one (since it works fine), I want to get a new drive and set them both up using lvm. While I'm at it, I also want to ...
1
vote
2answers
718 views

Upgrade to 12.10 fails with grub fatal error

After upgrading to server 12.10 grub is complaining, and thus no boot. Boot-repair and all other solution fail because for some reason grub-install can not read /boot/grub from my lvm system disk. I ...
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= ...
0
votes
2answers
2k views

How do I use LVM with 12.10 when I already have Windows 8?

I asked about the best way to setup a PC with Windows 7, Windows 8 and Ubuntu 12.10 here and followed the recommended order. But when I try to install Ubuntu 12.10 it doesn't allow me to select LVM ...
1
vote
1answer
1k views

Windows 7 busted after Ubuntu 12.10 LVM installation

I'm lost. With the new option in Ubuntu 12.10: "Use LVM with the new Ubuntu installation" I have not thought that my Windows partition would be getting lost. I did it in the trust that Ubuntu would ...
4
votes
4answers
2k views

It is possible to install dual boot Ubuntu and WIndows 7, using LVM?

I am installing a fresh install of ubuntu 12.10, and says than I can install ubuntu using the entire disk and creating LVM "partitions", but my plan is to install Windows 7 using one of those LVM ...
4
votes
1answer
1k views

How do I check whether I am using LVM?

I installed Ubuntu by choosing the option "Something else" at the step called "Allocate drive space" of the installer. Then I created my own partition table. Now that Ubuntu is installed, can I check ...
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 ...
3
votes
3answers
3k 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 ...
1
vote
2answers
994 views

Failed GRUB after 10.04 to 12.04 upgrade in system with LVM

I am using Ubuntu Server as a SMB server at work and two days ago I have tried to upgrade it to 12.04. After reboot, I got this grub_xput missing grub rescue> and all attempts to start from ...
17
votes
3answers
55k 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 ...
7
votes
3answers
4k 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 ...
1
vote
0answers
356 views

Kernel panic on reboot after failed logical volume resize

I attempted to do a logical volume resize yesterday using the follwoing commands $sudo pvdisplay "/dev/sda8" is a new physical volume of "113.11 GiB" --- NEW Physical volume --- PV Name ...
1
vote
1answer
259 views

system-config-lvm will be removed if i install Playonlinux?

When i try to install Playonlinux, I am told (by synaptic, as well as the "Software Center") that system-config-lvm will be removed, does anyone know why?
0
votes
1answer
117 views

Backing up bind mounted folders

My layout is as follows. LVM Setup: /dev/VG/Documents, /dev/VG/Music, /dev/VG/Pictures, /dev/VG/Music, /dev/VG/Documents, etc.... Each of the LVMs is bind mounted to the corresponding folder name in ...
1
vote
1answer
179 views

New install preserving home directory

I have 32bit 11.10 installed on an LVM disk taking up all 500 GB, and I would like to install 64bit 12.04 on top, preserving the data in my home directory. I used to do that pre-LVM by just not ...
0
votes
1answer
235 views

Recover LVM setup by reinstalling Ubuntu

If I have a LVM set up on my "data" disks, will reinstalling Ubuntu on the OS disk allow me to recover the original LVM set up? I'm slightly worried that I won't be able to see any data on my disks ...
2
votes
1answer
135 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 ...
2
votes
1answer
668 views

Alternate install to USB bootloader issues using LVM encryption

I am trying to use the alternate installer (12.04.1 i386) run from a CD to install onto a USB thumb drive (to have a portable installation). I am using the guided LVM install. I get to the part ...
1
vote
1answer
412 views

Install Ubuntu10.04 on LVM :: error: no such disk

I installed Ubuntu10.04 on one LVM Disk. But when I boot my computer. It prompts: error:no such disk But after a few seconds,it can display the Grub menu and I can go in my Ubuntu10.04. What is ...
0
votes
1answer
380 views

How does the command “linux-boot-prober” work?

I have installed some Ubuntu on my LVM disks. In Ubuntu10.04, I rename the Ubuntu12.04's lv but the "linux-boot-probe" goes wrong. Here is what I did: sudo lvname LVMDisk Ubuntu12.04 LabUbuntu12.04 ...
2
votes
1answer
1k views

After kernel upgrade, unable to boot with / on lvm

I did a kernel upgrade on my desktop system from 2.6.32-41 to 2.6.32-42 using apt-get dist-upgrade. I opted not to update /boot/grub/menu.lst and added the required lines myself, based on the previous ...
2
votes
2answers
807 views

“Partition Misaligned by 1024 bytes” on encrypted lvm

Disk Utility is giving me the error "The partition is misaligned by 1024 bytes. This may result in very poor performance. Repartitioning is suggested" on a partition which holds an encrypted LVM. I ...
1
vote
1answer
756 views

How to setup whole-disk encryption with dual boot on a MacBook Pro (generation 9,2 with 12.04)

I can install Ubuntu 12.04 on the MacBook when using the "noapic" kernel boot option, using the alternate amd64+mac image (from http://cdimage.ubuntu.com/releases/12.04/release/ ). But after ...
2
votes
2answers
1k views

Move free space out of LVM

I have a 500 GB LVM2 container on a 500 GB HDD which holds a 96 GB root partition (ext4) and a 4 GB swap partition. I made this setup using the alternate cd and set the amount of disk space to be used ...
1
vote
2answers
6k views

How do I move my LVM 250 GB root partition to a new 120GB hard disk?

I have the following situation: My current Ubuntu installation is running from an external HDD (250 GB) because I was to lazy to buy an new internal hdd. Now i've got a new internal (120GB) and i ...
2
votes
2answers
4k views

Unable to mount an LVM Hard-drive after upgrade

I imagine this is a basic gotcha ... but I can't see it. I have a system with 2(physical) harddrives. The boot system (/dev/sda) was running 10.04 & the second drive (/dev/sdb) was just a mounted ...
0
votes
2answers
807 views

disk space wrongly displayed after installing LVM disk

I installed ubuntu server using LVM partitioning on a 1 TB hard disk. However, after installation, i can only see 10 Gig space here is the fidsk output ` # fdisk -l Disk /dev/sda: 1000.2 GB, ...
1
vote
2answers
372 views

How do I get Ubuntu to not mount my encrypted partitions on boot?

I'm using dm-crypt and LVM, which I set up during installation. I have two volume groups, one of which is encrypted and not needed for system/boot purposes. As of now, Ubuntu asks for a password on ...
1
vote
2answers
666 views

Can I install to a raw logical volume, or must I partition the space first?

I would like to install a KVM-based Ubuntu guest to an LVM-based logical volume, without creating a partition table on the space first. There doesn't seem to be a way within the installer to mount my ...
0
votes
1answer
326 views

How to get LVM and RAID1 going in 11.10 server? [closed]

I screwed up my partitioning apparently trying to get LVM and RAID1 going. The machine is an Intel dual core dt with 2 GB of RAM and 2 SATA drives, one 250g and the other 500g. Have onboard gigabit ...
0
votes
1answer
2k views

Can I create a hybrid software-RAID array with disks of different sizes?

Products such as Synology offer something called Synology Hybrid RAID http://www.synology.com/us/products/features/RAID.php This RAID type allows you to make best use of your disks available by ...
1
vote
1answer
3k views

Adding space to VMware Virtual Disk for running Ubuntu Server Guest on LVM Partition

I have been testing methods for adding space to an Ubuntu Server guest running on VMware. I have setup the server using LVM so I can add physical disks to to the LVM group and expand the logical ...
0
votes
1answer
587 views

Where can I find the 64bit Minimal CD?

Where can I find the Minimal install 64bit version? Is it possible to encrypt partition with the Minimal Minimal version (like with the alternative version)?
0
votes
1answer
770 views

No root file system - Alternate CD + LVM

I am trying to install 11.10 as dual boot with Windows 7. I have all partitioned well as you can see here: http://www.flickr.com/photos/42897978@N00/7111180385/ I burned the Alternate CD ISO to a ...
3
votes
4answers
18k 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 ...
3
votes
1answer
5k views

Disks constantly spinning no matter what I do (jbd2). I'm on the brink of insanity

My disks have been spinning for months. It started with Ubuntu 11.10, and continues with 12.04. I can't figure out how to stop it. I've looked at various folks suggestions online about ext4 commit ...
8
votes
3answers
33k 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 ...
2
votes
1answer
225 views

Why is LSHW Only listing one of my two HDDs? [closed]

I have a 120GB HDD and a 1TB HDD in the system. I installed Ubuntu Server using LVM on the 120GB. After installation I added the 1TB to the existing volume group and added 10GB to /home as a test. ...
1
vote
1answer
746 views

LUKS on >2TB disk

I have a 3TB disk which I want to encrypt. As soon as I create a file system (mkfs.xfs or ext2-4) in the encrypted partition it outputs "Attempt to read block from file-system resulted in short read ...
1
vote
2answers
2k views

boot partition does not get updated in LVM setup

I am on the ubuntu 12.04 64bit Beta right now. Having a more exotic partition setup: - EFI - /boot PARTITION (fat) - LVM (encrypted) | |- /root |- /home |- /swap Now I noticed that my ...
2
votes
2answers
567 views

Home server filesystem

I'm planing to build a home server to act mainly as a uTorrent download and file server for me and the people I live with. I have come up with the following filesystem configuration and I would like ...
6
votes
2answers
9k views

How to change the password of a 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 ...
2
votes
1answer
1k views

Converting to btrfs from md raid5 with lvm

I have decided to start the transition to btrfs this weekend. I have a desktop with one md raid1 which is used for boot, and one large md raid5 for everything else. On top of the md raid5, I have LVM ...
1
vote
1answer
248 views

How do I preserve LVM while changing the physical disk?

I had a problem with vm virtual disk used in lvm and I cloned it somewhere in the datastore with vmktools and then I want to use it same place instead of old one. If I remove the the old disk from ...
0
votes
1answer
715 views

How can I get the boot process to complete?

Update Think this may be because I have some problem booting off lvm - still in need of any help anyone could offer - even just a pointer or two as to where to look would be greatly appreciated. One ...
1
vote
0answers
440 views

Encrypted LVM - bad password or options [closed]

I've deployed a number of laptops to our staff with encrypted LVM. I've used the alternative CD, whole disk & guided partitioning. This is the second laptop that came back to me with the same ...
7
votes
3answers
13k 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 ...