Logical Volume Manager for the Linux kernel manages disk drives and similar mass-storage devices, in particular large ones. "Volume" refers to a disk drive or partition thereof.

learn more… | top users | synonyms

0
votes
1answer
219 views

linux LVM data recovery

I added a partition to my LVM group on linux, but didn't back up the data that was on the disk before doing so. And now I can't mount the underling partition as /dev/sda4. Does anyone know how to get ...
2
votes
1answer
560 views

Linux command line partition manager with LVM

I need to write a program to format SD card with, FAT boot, ext4 and swap partitions. I would like the ext4 to use LVM. Ideally there would be scope for mdadm. I need help finding a command line ...
5
votes
1answer
3k views

LVM Encrypted Physical Volume versus Encrypted Logical Volume. Am I safe?

I'm somehow new to disk encryption techniques in Linux, but I have the basic notions about encryption. Here my conditions: I need to have "full disk encryption", including "/", not just "/home". I ...
3
votes
1answer
476 views

Recover LVM2 volume group after one HDD failed

I had two HDDs, each one containing a LVM partition which formed a volume group. Then I had two LVs, one for my / directory and one for my /home/ directory. Yesterday where I had my / dir failed. I'm ...
1
vote
1answer
62 views

Additional swap created on a new partition gets removed on reboot

I have created a new swap volume using logical volume management tool on RHEL. Suppose the volume is /dev/rootvg/swap2 I did mkswamp /dev/rootvg/swap2 and then swapon /dev/rootvg/swap2 when listing ...
1
vote
1answer
2k views

LVM: Removing a 'Zombie' (Unavailable) VG

I have an LVM related problem. We have a server that 'learned' about a foreign volume group through a hard drive that was briefly attached. Now, with that hard drive gone again, all LVM utilities ...
1
vote
1answer
967 views

How to revert a shrink of an LVM volume

I had a Linux LVM volume that was about 400 GB. I shrank it to 217 GB following the steps below. umount /local e2fsck -f /dev/mapper/vg00-lvol2 resize2fs /dev/mapper/vg00-lvol2 217G lvresize -L 217G ...
1
vote
0answers
73 views

How to create a partition on a shrunk LVM volume

I have a Linux LVM volume that is about 400 GB. I have shrunk it to 200 GB to get some space for a new NTFS partition on which I can install Win7. umount /local e2fsck -f /dev/mapper/vg00-lvol2 ...
2
votes
1answer
509 views

Why does the debian installer erase the swap when encrypting?

I am installing a new copy of debian squeeze. I decided to use an encrypted Lvm this time. I noticed that is taking a really really long time to format the drive. It says it is erasing partition #5 ...
4
votes
2answers
457 views

Recovering Ubuntu after filesystem was overwritten using dd

I had an Ubuntu installation on my laptop, on an encrypted LVM (this was /dev/sda1). I was planning to write an Arch Linux image to my USB drive (/dev/sdc1), following this guide - ...
0
votes
1answer
751 views

Using Linux LVM snapshots for system backups - “semop failed for cookie” error

I'm running Ubuntu 11.04, with the / partition in an encrypted LVM volume. /home is in the same logical volume. I'm trying to use the LVM snapshot functionality to enable time-consistent backups of ...
12
votes
2answers
10k views

How do you add more space to a Fedora (LVM) partition?

In a nutshell, i have a VM that ran out of space. I increased the size of the VM's harddrive to be 4 times bigger but the OS partition is still only using 1x the space. I need to change the LVM ...
0
votes
1answer
453 views

Replace LVM drive with a larger size

I have two drives setup in LVM holding my media. I ran out of space and would like to replace the 1tb with a 2tb I just got. What is the best way to go about copying the contents from the old 1tb ...
1
vote
1answer
307 views

Extending available space in LVM using LUKS

I have one volume group consisting of lv_root, lv_swap and lv_home. I want to increase the space available to lv_home by adding an extra hard drive. Can this be done while maintaining a LUKS-based ...
0
votes
2answers
841 views

unable to mount lvm ext4 filesystem

I was moving a couple of physical volumes from my lvm. I managed to successfully pvmove and pvremove them. After this i was moving some files from the lvm to one of the removed pvs. Now during this my ...
0
votes
1answer
116 views

How to restore data from a set of old LVM disks using images?

I have three hard drives that were previously in a Debian server setup to use LVM that I now need to access data on. The first hard drive had a boot partition along with an LVM partition, the other ...
0
votes
1answer
280 views

Are there any LVM like solutions for Windows?

Are there any LVM like solutions for Windows? http://en.wikipedia.org/wiki/Logical_Volume_Manager_%28Linux%29
1
vote
1answer
446 views

Fedora15 - Help me understand how cryptsetup and LVM interact

Upgrading F11 to F15 I've decided to encrypt the disk. Anaconda appears to have limited support for custom disk partitions (mine is dual boot). The result of my second install attempt was a PV boot ...
1
vote
1answer
964 views

lvm vgdisplay shows 0 free extents, while df shows freespace

My vgdisplay shows 0 PE's. But if i mount the volume and run df -h i get loads of free space. Is this something to do with the way lvm allocates extents? I don't get similar behaviour from my other ...
1
vote
1answer
942 views

Ubuntu Moving root folder to a new lvm partition

I began running out of space on my / partition*. So I decided to create a new lvm partition and move to that one instead. Now, I have created the lvm partition, mounted it, rsync folders from / to ...
4
votes
2answers
2k views

Creating a disk image of dm-crypt/LUKS encrypted LVM partition (Linux)

Is there any disk imaging software out there that can intelligently take an image of an encrypted LVM partition, if I provide the passphrase? I am referring to software that is similar to Clonezilla ...
0
votes
2answers
941 views

How to resize hard disk of linux in vm

I installed a centos in vm, then expand the volume of hard disk by the setting of vm. How to resize the hard disk without re-install? I do not set lvm in the frist install
2
votes
0answers
177 views

How to mount USB disk with LVM/LUKS crypted volumes on a Mac? [duplicate]

Possible Duplicate: How to mount an encrypted ext3 filesystem under OS X? I have a USB disk that I've partitioned with LVM and encrypted some of the volumes with LUKS. This is all ...
3
votes
1answer
9k views

Troublesome hard-drive in LVM ā€” is it broken?

I have a LVM volume set up with several harddrives, and one of them seems to be failing, or at least something strange is going on. Every time the logical volume series sees heavy write activity, the ...
5
votes
1answer
2k views

Moving a LVM/LUKS encrypted partition to the end of a harddrive?

I need to move a LUKS encrypted partition to the end of a harddrive to expand another partition. Does anyone know how to do this? Is it possible to do this with other partition editing programs? ...
3
votes
1answer
2k views

How do I expand an LVM volume (Ubuntu Server)?

I have an Ubuntu Server installation, and I only setup 20Gb on the 80Gb HDD using LVM at installation, thinking it would give me more options down the road. I should of just set up the whole ...
0
votes
1answer
2k views

lvm Remove missing physical volumes

I have an logical volume /home which shows missing physical volumes. "Couldn't find device with uuid 'jhueouoe-eoueok-ceokek-chkoke'". I had removed that physical volume some time back(after migating ...
0
votes
1answer
321 views

Can't migrate logical volume to newly added physical volumes

I had a partition of 91GB added in a logical volume filled to 61GB. Now I got an external hard drive and added a couple of partitions 43GB and 26GB each to the logical volume. I now want to move the ...
1
vote
1answer
375 views

Convert LVM filesystem to LVM RAID1 (Ubuntu 10.10)

We just installed Ubuntu 10.10 on a server with ext4 and LVM: $ df -l Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda2 1875309692 656114888 1123931624 37% / ...
3
votes
2answers
747 views

How do I install Ubuntu 10.04 with full disk encryption alongside other operating systems?

I always used the Full Disk Encryption option of the alternate installer, but now I need to keep another OS running in the first partition but that option seems only to be able to use the whole disk. ...
12
votes
3answers
3k views

Does Linux support TRIM for SSDs on LVM?

I am getting a SSD and need to know, does Linux support TRIM if I set up LVM on top of the SSD? I'm finding conflicting information. I'm currently running Ubuntu 10.10 with kernel 2.6.35-28.
1
vote
2answers
584 views

Multiple LUKS+dm_crypt datasets demands multiple passphrases at boot time

I am experimenting with LUKS+dm_crypt. My setup is something like this: a LVM VG made of multiple Physical Volumes (PV). That VG contains multiple LV (Logical Volumes), most of them encrypted via ...
9
votes
3answers
1k views

How to make a redundant desktop system with daily snapshots? (Is btrfs ready for use?)

I want to configure a desktop system in which the home filesystem would be redundant (e.g. RAID-1), and would have weekly snapshots taken. I've already done this with ZFS, the snapshot system is ...
3
votes
4answers
8k views

LVM and cloning HDs

Using Linux, I have several backup levels. One of them is a periodical sector by sector copy (using dd) of my laptop harddisk to an external USB disk. Yes, I have other backups too, like remote rsync. ...
0
votes
1answer
81 views

Have Desktop Ubuntu Installed with 2nd HD having 2 LVM partitions: want to install LAMP

I have Ubuntu 10.04LTS Desktop version installed on a 300GB HD. I also have another 300HD divided into two 150GB LVM partitions neither of which are used at this time. I want to install LAMP and run ...
2
votes
1answer
2k views

Booting windows (any version) from an LVM volume

I'd like to know if any versions of Windows are able to boot from an LVM logical volume, with or without third party extension software.
8
votes
5answers
5k views

How to allocate limited SSD space in LVM for optimal performance

I just got a new SSD, and I'm looking for advice on how best to incorporate it into my existing LVM setup. I have the following logical volumes (mounted at the obvious places): # lvs LV ...
1
vote
1answer
747 views

How to resize an encrypted LVM in RAID 1 in Linux?

I am running 3 partitions in RAID 1. Partition : Mountpoint : Filesystem : Encrypted : LVM ------------------------------------------------------ 1 : /boot : ext2 : No : No ...
1
vote
2answers
2k views

How can I copy an LVM configuaration to another machine?

I inherited a machine that's set up with 3 disks, managed by LVM (v 2.02.46-RHEL5). I just got a new box with the same hardware configuration, and would like to clone the disk setup by copying an LVM ...
1
vote
1answer
464 views

how to multi-boot/upgrade Linux from LVM-based partition

I currently have FC3 Linux which installed itself on the hard disk using LVM partitioning, so it is basically all one big partition. I would like to try some other distributions and upgrade to ...
1
vote
4answers
664 views

Is it possible to mount an LVM built on one machine onto another?

I've got a system with three drives that's build as a set of volume groups, under Ubuntu. I'm moving the drives to my Gentoo server, which has space for all three. Is it possible to somehow get the ...
10
votes
2answers
32k views

Is there a simple way to move/copy a logical volume from one volume group to another? (LVM2)

I'm rearranging a bunch of disks on my server at home and I find myself in the position of wanting to move a bunch of LVM logical volumes to another volume group. Is there a simple way to do this? I ...
1
vote
2answers
1k views

How do I access lvm disk with same VG name as current?

I reloaded my PC onto a new disk then put the old disk back in the PC to recover old files. I kept the same PC name. The OS setup routine appears to have used my PC name (stiffler) to create the LVM ...
1
vote
3answers
4k views

List all physical volumes associated to a volume group

Maybe I'm missing something obvious but I do not see it listed in vgdisplay.
1
vote
1answer
2k views

Ubuntu performance is bad with cryptsetup/lvm setup

I currently have the following setup on my laptop - harddrive is divided in 3 parts, first one is a /boot for my ubuntu, third one is a windows installation, and one in the middle is a encrypted ...
1
vote
0answers
709 views

LVM partition as “physical” disk for VMware Player

I would like to make a VMware Player virtual machine, where the disk would be stored on an LVM partition. I'd like to have the virtual disk contents stored on raw LVM logical volume, and not as a file ...
5
votes
2answers
3k views

Advice on approaches to disk encryption in Ubuntu?

I'm considering encrypting the contents of my laptop, which runs Ubuntu 10.04 and has an ext4 + swap, and I'm wondering what the best options are here. I'm aware of: TrueCrypt: either block-level ...
1
vote
1answer
346 views

Paritions “appear” in my raid 1 array after reboot, and the partitions in the array have changed names

I am moving my Ubuntu install to lvm over raid 1. I created the arrays with only 1 disk initially, planning to add the second disk later. I got the files moved and the system booted up succesfully on ...
0
votes
1answer
1k views

Why won't xfs_check run?

I'm running a fully updated Ubuntu 9.04 "Jaunty" i686 server. I have an single XFS volume in an LVM group called /dev/mapper/vg0-bigthree. If I boot to single user mode and ensure that the volume is ...
6
votes
1answer
2k views

How can I resize a partition managed by LVM?

I have a fresh CentOS install on my machine and I would like to make space on the drive available in order to install Arch Linux. Unfortunately, LVM is new to me and doesn't appear to work well ...