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

18
votes
1answer
546 views

How to make suspend to RAM secure on Ubuntu with full disk encryption (LVM on top of LUKS)?

I'm on Ubuntu 13.04 using full disk encryption (LVM on top of LUKS). I would like to incorporate luksSuspend into the suspend procedure (and later use luksResume) so that I can suspend to RAM without ...
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.
11
votes
2answers
9k 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 ...
10
votes
4answers
29k 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 ...
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 ...
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 ...
8
votes
1answer
489 views

Find files affected by bad blocks with md-raid5 and LVM

I've been doing a lot of research on this topic over the last few weeks - and I think I'm close to completing my recovery, as much as is possible at least. To make a long story short, I'll just ...
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 ...
5
votes
1answer
2k 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 ...
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? ...
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 ...
5
votes
1answer
430 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 ...
5
votes
3answers
1k views

From GRUB2, boot an ISO in an LVM2 logical volume

tl;dr - Is it possible to boot from a .iso file that is located in an unencrypted lmv2 logical volume? How? I'm trying to set this up in a VirtualBox VM before I do it for real with my laptop. I have ...
5
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 ...
4
votes
2answers
1k views

How can I make Grub recognise my old Linux Partition

Problem: I have two partitions. On one I have installed Fedora 9 and on my other partition I just installed Fedora 12. Now that I've installed Fedora 12 I can't get Grub to boot the old partition. ...
4
votes
3answers
6k views

Add unallocated space to lvm

I shrunk my windows partition and now have 10 GB of unallocated space that I now want to use to grow my / partition which is an ext4 in an lvm. I'm running Fedora 12. I ran system-config-lvm but the ...
4
votes
1answer
2k views

NVidia ION and /dev/mapper/nvidia_… issues

I have an NVidia ION board with 4 SATA ports and want to use that to run a Linux Server (CentOS 5.4). I first hooed up 3 HDs (that will be a RAID5 array) and a forth small boot HD. I first started to ...
4
votes
1answer
7k 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 ...
4
votes
1answer
410 views

Extend volume group after extending physical volume

I am using LVM to allocate disk for my VMs so I can increase the "physical disk size". The only way I found to merge this free space to my VM Volume Group was: create a partition on new free space ...
4
votes
2answers
435 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 - ...
3
votes
3answers
3k views

Home Server: storage virtualisation, what to choose?

I'm looking for virtualisation solutions for storage and OS for a home server. A sort of private cloud where I manage the storage space independently of the VM one. This question focus on storage ...
3
votes
3answers
22k views

How to mount an LVM volume?

I'm trying to mount an LVM2 volume in Linux, but all the instructions I see online say to mount the Volume Group, such as: mkdir -p /mnt/VolGroup00/LogVol00 but I don't know how to figure out the ...
3
votes
3answers
5k views

Fastest way to convert an ext4 formatted disk to LVM with ext4 on it?

I'm currently doing cp -aR to copy data from my (99% full) 1TB ext4 formatted disk to a new LVM-with-ext4-on-it disk. It's taking forever. Is there any way to attempt to "convert" the disk in place? ...
3
votes
1answer
8k 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 ...
3
votes
1answer
567 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 ...
3
votes
4answers
7k 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. ...
3
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 ...
3
votes
1answer
461 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 ...
3
votes
2answers
730 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. ...
3
votes
1answer
1k views

LVM vs /dev/md0 performance problem

I am trying to tune my NAS, running openfiler, and wondering why I'm getting relatively poor read performance from 4 WD RE3 drives in RAID 5. When I run hdparm on the meta device I get the levels of ...
3
votes
0answers
58 views

Mount volume group(OnApp)

I am attempting to get OnApp setup in a lab using the following documents: OnApp Installation Guide I am one step away from success and to my knowledge based on the information given and my(limited) ...
2
votes
3answers
6k 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 ...
2
votes
1answer
12k views

How? Mount, Find & Recover DATA in HDD outside of Synology Box

How? Mount, Find & Recover DATA in HDD outside of Synology Box I had originally posted this question here on Synology Forums and no real solution was suggested except a Linux / RAID based ...
2
votes
3answers
1k 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 ...
2
votes
1answer
484 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 ...
2
votes
1answer
212 views

Protect from access lvm encrypted partition from windows

This is my first question here, so forgive me if it isn't appropriate or too noobish. I want to install Linux and Windows on my machine, but so that the linux partitions would be lvm encrypted and ...
2
votes
1answer
475 views

How to rename LVM volume?

Is is possible to rename an LVM volume? I would like to rename local0 to vm Device is /dev/mapper/vgdata-local0 I'm using Ubuntu 12.04
2
votes
1answer
668 views

Linux SSD Performance with Luks / LVM

I've recently obtained a Samsung EVO 840 1TB SSD as a hard disk replacement for my laptop (Lenovo X220t, core-i5-2520m, 8GB RAM). So far, I'm not impressed with the resulting performance and request ...
2
votes
1answer
433 views

How to remove multiple word from grep command in AIX

I am trying to check disks used for mirror in lvs. currently I am using "lslv -m ulv" command but to check for multiple lvs is difficult. I guess there should be some option in grep to exclude ...
2
votes
1answer
3k views

Extending LVM partition on Debian/Virtualbox

I've just resized the Virtual Space on VirtualBox image 5G to 15G. I then used GParted to resize the physical partition which now looks like this: and using fdisk command: Disk /dev/sda: 16.1 GB, ...
2
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 ...
2
votes
1answer
1k 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.
2
votes
1answer
517 views

Gparted: Copy Greyed Out

I booted my system to a gparted linux live CD and I have two partitions: /dev/sda1 /dev/sda2 I want to move both of them to my new physical hard drive (called /dev/sdb). When I right click on ...
2
votes
1answer
2k views

Creating LVM partition on SD card fails with “device not found”

I'm trying to create a single LVM volume on my SD card, using Ubuntu Netbook Remix. The SD card is at /dev/mmcblk0. So far, I've used fdisk to create a partition (type 8e - Linux LVM) on the device. ...
2
votes
0answers
78 views

Migrate LVM to ZFS

I am currently thinking about moving away from my LVM setup to a ZFS setup with RAIDZ. My current setup consists of 5 x 4TB disks in a LVM and a 60GB SSD for the system. At the moment there is about ...
2
votes
0answers
3k views

How to resize an lvm volume (after lvresize got corrupted. is it possible to revert?)?

I did following under the root login (shrinking /home, expanding /var): umount /home lvresize -L-7G /dev/mapper/myvg-home it was warning: WARNING: Reducing active logical volume to 28.89 GiB ...
2
votes
0answers
203 views

Uefi and full disk encryption with lvm on luks

I have an asus machine on which i can use old bios and new uefi. I've always used the old bios system, running a full encrypted debian with the following configuration: an unencrypted boot partition ...
2
votes
0answers
507 views

/etc/init.d/lvm2 script not executed during startup

On startup, I want the /etc/init.d/lvm2 script shipped with Debian squeeze to be executed. I ran update-rc.d lvm2 enable and checked that the symlinks are created in the /etc/rcX.d folders: # find ...
2
votes
0answers
717 views

LVM volume activation before fstab mounts

I am trying to mount LVM volumes during startup of my Debian Squeeze system. Since for some reason, the LVM volumes / groups are inactive by default, they need to be activated before any mounting can ...
2
votes
0answers
281 views

Does Windows 7 support TRIM for Spanned Dynamic Disks?

Windows 7 supports TRIM for an individual SSD, but does it work with two SSDs merged together as a Spanned Dynamic Disk? "Dynamic Disk" is Microsoft's proprietary version of LVM.The equivalent ...