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

20
votes
4answers
3k views

No more space in root filesystem, how could I increase the size?

This is my filesystem : ~  df -h -x tmpfs -x devtmpfs Filesystem Size Used Avail Use% Mounted on /dev/mapper/fedora-root 9.8G 7.6G 1.7G 83% / /dev/mapper/fedora-home 50G 27G ...
20
votes
2answers
1k 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 ...
13
votes
2answers
14k 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 ...
12
votes
2answers
48k 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 ...
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
5answers
76k 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 ...
11
votes
1answer
10k views

Gparted cannot resize extended or LVM partition

I created a VM using VirtualBox and realized it was small. So, i managed (after some time) to create a new, bigger HD. Live GParted CD image (v.022): Now I need to integrate the unallocated ...
10
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
876 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 ...
7
votes
3answers
17k 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? ...
7
votes
4answers
3k 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 ...
6
votes
1answer
4k 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 ...
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 ...
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 ...
5
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 ...
5
votes
1answer
4k 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 ...
5
votes
4answers
14k 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. ...
5
votes
1answer
3k 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
3answers
9k 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 "...
5
votes
1answer
16k 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 ...
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
0answers
219 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 ...
5
votes
1answer
509 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 ...
4
votes
1answer
11k 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 ...
4
votes
1answer
3k 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 hooked up 3 HDs (that will be a RAID5 array) and a fourth small boot HD. I first started ...
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
2answers
16k 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
2answers
2k views

XFS Incorrect statement of “No space left on device”

I have a server setup of an XFS partition on LVM on a Ubuntu 14.04.1 LTS. While copying files to the home partition, "No space left on device" is displayed. df -h displays sufficient space: /dev/...
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 ...
4
votes
1answer
1k 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
551 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 - https://wiki....
3
votes
1answer
7k views

Installing Windows on a LVM partition, next to already installed Ubuntu

I have a SSD driver partitioned with LVM, here is lvm lvs output: LV VG Attr LSize Pool Origin Data% Move Log Copy% Convert lts ubuntu -wi-ao-- 103.14g ...
3
votes
1answer
720 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 don'...
3
votes
1answer
2k 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
3
votes
1answer
98 views

Can zfs/zpool be setup in an LVM formatted disk

I have Ubuntu 14.04 setup with LVM on a 500GB disk on my laptop. I want to setup/playaround with zfs/zpool. What is the best approach for this without losing my data
3
votes
1answer
5k 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, ...
3
votes
1answer
106 views

How to get disk read/write speed for LVM logical partition?

I'm writing an agent collecting metrics of linux server. I get disk info with kernel file /proc/diskstats. It works for disk type disk or part, but if disk type is lvm or dm, I cannot get read / write ...
3
votes
1answer
161 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) ...
3
votes
1answer
534 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
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 partition,...
3
votes
2answers
769 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
4k 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.
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
1answer
73 views

How to encrypt a live rootfs on Arch Linux

I have a Linux Arch system running on a VPS. The rootfs is installed on a LVM partition. I would like to overlay an encrypted container on this partition, then reinstall the rootfs on it and enable ...
3
votes
0answers
321 views

lvmcache — one cache pool for multiple origin LVs

I have a shiny new computer with a not-that-large SSD (120GB) and two gigantic spinning-rust HDs (3TB each). I want to partition it as follows: swap (~128GB), operating system (~128GB), and data (...
3
votes
2answers
1k views

How do I permanently reset the UUID of an LVM partition?

A (dd cloned) backup of my boot partition left me with duplicate UUIDs. blkid shows: /dev/sda1: UUID="32579810-0388-416d-bb49-7031ac2c2975" TYPE="ext4" ... /dev/mapper/raidgroup-osbackup: UUID="...
2
votes
3answers
9k 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
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 ...
2
votes
1answer
26k 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 ...