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
981 views

How to expand disk in a Ubuntu VM?

I have a Virtualbox VM, with Ubuntu 12 installed in a 8gb disk, with encrypted LVM. I managed to add a 20gb disk, and now I need to expand the LVM to use those 20gb too, or just copy the entire small ...
1
vote
0answers
462 views

What does it mean “not a valid LUKS device”?

During an upgrade from Fedora 15 to 17, I installed into an existing LUKS encrypted partition. I'm sure I borked the boot loader options, because the new system boots to GRUB. When I attempt to fix ...
0
votes
1answer
1k views

Why does LVM HDD fail “mount” command when booting from CDROM?

Currently I have a superuser post asking if I can install/upgrade existing LUKS/LVM without having to erase and rebuild the partitions. This has provided instructions to mount the HDD, but there are ...
1
vote
2answers
3k views

How to align Logical Volumes on contiguous Physical Extents?

I have originally created 2 Logical Volumes in a Volume Group. The 2 Logical Volumes occupy the whole Volume Group and are sat on contiguous Physical Extents. However, after I have shrunk the first ...
5
votes
1answer
485 views

A weird issue relate to ext4/lvm/raid-5 after partition recovery

I have 3 hard disks, in the following paragraphs named /dev/sda, /dev/sdb and /dev/sdc, newest came first. Note: /dev/sdc has one primary partition /dev/sdc1, one extended partition /dev/sd2, and 3 ...
2
votes
2answers
11k views

vgdisplay and lvdisplay No volume groups found

root@ubuntu-server:~# pvdisplay root@ubuntu-server:~# vgdisplay No volume groups found root@ubuntu-server:~# lvdisplay No volume groups found root@ubuntu-server:~# what to do. I can't find ...
4
votes
1answer
12k views

How can I mount an encrypted LVM under Windows?

I have a virtual machine with Ubuntu server with an encrypted LVM. I set up a virtual drive using imdisk to access its virtual hard drive without running the virtual machine, but I can't find any way ...
3
votes
1answer
651 views

Migrating to LVM

The drive on my Ubuntu media server is nearly full. I hope to add another 2TB of capacity to the machine and would prefer for all 3.5 TB to be recognized as a single drive. To complicate things, I ...
1
vote
1answer
770 views

Adding Space to RAID5 using mdadm, lvm and ext3

I have seen a few descriptions about using mdadm with lvm to create an easily expandable raid, such as this question, but I still think I'm missing something. Say that I create the raid using mdadm ...
2
votes
3answers
8k views

LVM volume with corrupt MBR: how to mount and recover data from it?

I am new to LVM and partitioning in general, and so, am in a situation here. The Situation: I accidentally overwrote MBR of a Fedora 16-created LVM disk. Now, everything else on this disk is ...
1
vote
1answer
895 views

Simple Ubuntu Server - Expanding disk space - adding a new drive LVM, RAID0 existing setup - how?

I have a 1TB ext4 partition mounted at / with all my data and Ubuntu 11.04 (natty) installed. Now this drive is almost full (I used it as a database server for some processing). RAID0 is ok, I can ...
0
votes
1answer
345 views

Dead drive in LVM/XFS configuration

I had three drives in LVM: a 2 TB drive and two 1 TB drives (added later). One of the 1 TB drives -- I believe the third one -- has died. Spanning all three drives was an XFS partition. Reading: ...
1
vote
1answer
7k views

GRUB menu not coming up during system boot

My Dell system came with Win7. I installed Ubuntu 10.04 into an LVM encrypted partition with the /boot unecrypted on it's own partition. The PC boots directly to the Ubuntu decrypt screen with no ...
1
vote
1answer
281 views

Add partition to Windows XP Guest after extending Logical Volume on host?

How do I add a partition to a Windows XP Guest after extending the Logical Volume on the host? I have a CentOS 6 Server running several virtual machines, one of which is a Windows XP Guest. The ...
2
votes
3answers
2k views

Get LVM size using AWK?

I'm in need to find out the LVM size of image vm001. Let's say I have a LVM volume called /dev/VGgroup/vm001. Now using lvdisplay I can find out the size: --- Logical volume --- LV Name ...
1
vote
1answer
3k views

Using LVM after installing Debian

I have Debian Squeeze installed on VirtualBox. While installing I've chosen Ext3 filesystem and it takes whole virtual disk space. fdisk says: Disk /dev/sda: 33.0 GB, 32986103808 bytes 255 heads, 63 ...
0
votes
1answer
637 views

LVM vs RAID Home NAS Options

From what I am reading it appears Logical Volume Management might be a better solution for what my plans currently involve. My current setup consists of 3 1-TB drives all acting as some part of my ...
0
votes
1answer
904 views

Dualboot on lvm with luks

I try to install PC-BSD 9 besides Fedora 16 on my Thinkpad. I installed Fedora on the hard disk, using default lvm with encryption. I left 50GB "unused" on the 250Gb HDD. When I boot into the LiveCD ...
1
vote
0answers
671 views

vgscan not finding groups after an unexpected reboot

I have an LVM partition on one of my disks: Disk /dev/sdb: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors Units = sectors of 1 * 512 = 512 bytes ...
6
votes
1answer
2k views

A ZFS or LVM or MD redundant heterogeneous storage proposal

I have the same problem most people have: how to create a reliable personal storage solution with the fact that: Hard drives fail with alarming regularity. Losing files is unacceptable. I will buy ...
1
vote
0answers
313 views

Tools for block diagrams / listings of multi-layered storage virtualization with LVM and LUKS?

When multiple storage virtualization systems are used together, it can be complicated and time-consuming to gain an understanding of the structure of the various relationships involved. What tools ...
1
vote
1answer
656 views

Mounting a LVM volume as normal user.

Here is what is observed: sharad@nt535:~$ ls -l /mnt total 12 drwxr-xr-x 2 sharad sharad 4096 2012-01-17 17:14 MyPicsAndVids drwxr-xr-x 2 sharad sharad 4096 2012-01-17 17:14 SharadHomeDir ...
0
votes
1answer
230 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
600 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 ...
6
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
503 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
63 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 ...
3
votes
1answer
3k 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
1k 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
1answer
86 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
548 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
506 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
820 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 ...
13
votes
2answers
12k 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
510 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
325 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
1k 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
125 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
351 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
461 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
1k 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
1k 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
1k 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
179 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 ...
4
votes
1answer
10k 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
398 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 ...