LVM is a logical volume manager for the Linux kernel

learn more… | top users | synonyms

0
votes
1answer
2k 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.
6
votes
1answer
4k 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
736 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
5k 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 ...
4
votes
4answers
4k 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 ...
12
votes
1answer
11k 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
3k 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
4answers
6k 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
1k 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 ...
44
votes
8answers
187k 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
7k 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
1answer
287 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
191 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
223 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
349 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
293 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
876 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
670 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
811 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 ...
3
votes
1answer
3k 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
1k 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
1k 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 ...
3
votes
2answers
4k 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 ...
3
votes
2answers
18k 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
8k 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
1k 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
3answers
1k 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
1k 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 ...
2
votes
1answer
4k 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
5k 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
754 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
979 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 CD....
5
votes
4answers
41k 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 ...
13
votes
3answers
86k 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
538 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
1k 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
3k 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
768 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 ...
14
votes
4answers
37k 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 ...
2
votes
1answer
2k 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
287 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
961 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 ...
2
votes
0answers
681 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 ...
24
votes
3answers
46k 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 ...
1
vote
2answers
4k views

LVM logical volumes fail to activate on boot after 11.04 to 11.10 live upgrade

I have upgraded my server from 11.04 to 11.10 (64 bit) using sudo do-release-upgrade The machine now halts during boot because it can't find certain logical volumes in /mnt. When this happens, I hit "...
6
votes
3answers
30k views

How to move / copy logical volume (lv) to another volume group (vg)?

Basically, I want to move / copy several logical volumes (lv) into a new volume group (vg). The new volume group reside on a new set of physical volumes. Does anyone know how to do that safely without ...
2
votes
3answers
4k views

How to install into existing LVM logical volumes

I have a Debian Squeeze install, and I'd like to switch to Ubuntu 11.10. In my current setup, I have 2 HDDs, the first 250GB and the second 500GB. The 250GB drive just has a NTFS partition with Win7 ...
0
votes
1answer
727 views

What should be content of grub2 custom entry to boot to another OS on LVM over LUKS along with Ubuntu?

I have Archlinux installed along with Ubuntu on LVM over LUKS. The problem is I cannot boot to arch from menuentry provided by os-prober. Can anyone tell me the custom entry configuration to dual boot ...
1
vote
1answer
893 views

LVM tries to de-activate in use volume at shutdown and partition alignment concerns

Is it okay to have root file system on a lvm2 logical volume? Because, I always get the following error on every time I reboot or shutdown the machine. Can't deactivate volume group "vgSystem" with 1 ...