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

2
votes
0answers
1k 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 ...
0
votes
1answer
600 views

Debian 6.0.6 Squeeze: Expand LVM to fill expanded virtual hard disk

I am running VMWare ESXi with multiple virtual machines. One of which is running Debian 6.0.6 Squeeze (x86_64) and had a thin provisioned hard disk of 16GB. This has now become full, so I expanded the ...
2
votes
1answer
3k views

resize a volume

I would like to increase lv_home to 20G and increase lv_root to 120G. In VMware I extended the harddrive to 200G. You can see that below in .host:/ Filesystem Size Used Avail Use% Mounted ...
2
votes
1answer
263 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
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 ...
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
2
votes
4answers
680 views

The opposite of mount -o loop: can I read a block device as a regular file?

I'm trying to back up an LVM volume using Duplicity (note: not just the file contents of the volume, but the actual volume itself, byte-for-byte). The best way I've so far found is to dd all the data ...
0
votes
0answers
726 views

Udev rule for changing owner of Linux LVM device nodes

I'm having some trouble changing the owner of a Linux LVM logical volume on my Debian wheezy system. I added the following udev rule to both the initramfs and the real root file system: SUBSYSTEM=="...
0
votes
0answers
417 views

In linux is it possible to extend a ramdisk with a physcial drive in a logical volume?

I do not like how tmpfs behaves with swap and will allow memory to be exhausted before using the swap on physical disk (yes swappiness can be adjusted but it's still affecting the rest of the OS by ...
2
votes
1answer
593 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 ...
1
vote
3answers
132 views

Reverting pvcreate on a Windows System Recovery partition

As the title says I incorrectly ran: pvcreate /dev/sdb1 Where sdb1 was a Windows System Reserved partition. Now I know I could probably use the Windows CD to recreate it, but is there a way to do ...
1
vote
2answers
303 views

LVM without stripe

I want to use LVM to have a partition that spans over multiple drives. I know that there is a down side in that if one drive fails all the data in the array is lost. Is it possible to have LVM not ...
8
votes
1answer
868 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 ...
1
vote
1answer
1k views

Installing Debian on existing encrypted lvm

I have a dual-boot machine, where I already set up Ubuntu in an encrypted lvm. I want to use the same lvm for Crunchbang (a debian derivative), since I designed that lvm with two root-Volumes, a swap-...
2
votes
0answers
1k views

Recover data from one PV of an LVM mirror

A 1TB disk containing one partition which was the only PV in a VG containing one LV was failing by becoming intolerably slow without reporting any errors. My first thought was to attempt to use LVM ...
1
vote
0answers
835 views

Why “not a valid LUKS device”?

During installing Debian Squeeze I created partitions on a VPS (/dev/vda): vda1 = /boot vda2 = encrypted LVM (not using a standard way of Debian installer, but with the help of cryptsetup switching ...
0
votes
0answers
120 views

What is the right way to re-partition a disk with already installed linux?

What is the right way to fully re-partition my HDD (on a VPS -> no access to hardware), if there is currently installed a Debian Squeeze? I would like to create all encrypted LVM partitions, e.g.: ...
0
votes
2answers
785 views

GRUB2 UEFI booting from LVM on RAID (with XEN)

I'm experimenting with booting root filesystem from LVM volume inside the raid (mdraid superblock 1.x) via UEFI with GRUB2. Also I'm using Xen hypervisor. From grub command line I can see my lvm ...
1
vote
2answers
444 views

Migrating away from LVM

I have an Ubuntu home media server setup with 4.5TB split across a few hard-drives (1x3TB, 2x1TB) and I'm using LVM2 to manage the volumes. I have recently added a 60GB SSD to my server, and I wish to ...
1
vote
2answers
270 views

Can you use LVM and RAID together?

I heard with LVM you can have very big partitions by fusing hard drives together. I heard with RAID you can have backups of your data. Can i, and how would i do this: With 4 same hard drives, i want ...
0
votes
1answer
651 views

LVM snapshot size

I currently have 2 volume's: [root@compute4 /]# lvscan ACTIVE '/dev/vps/vm108_img' [30.00 GB] inherit ACTIVE '/dev/vps/vm109_img' [90.00 GB] inherit Now, I use the LVM ...
1
vote
1answer
462 views

Improve dd restore speed

Just now after waiting about 33 hours I finished restoring hard disk dev.pm.m3 resided on the LVM partition from previosly created zipped dump 5_dev.pm.m3_2012-11-03.gz. Here is its status: gzip -dc ...
0
votes
1answer
112 views

How to create physical and logical volumes on system reboot

My system is set up so that I take four devices, create a RAID 10 array out of them, create a physical volume, a volume group, and then three logical volumes, and lastly I create filesystems out of ...
7
votes
3answers
16k 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? ...
1
vote
2answers
231 views

Extending the /home partition

I currently have all my backups in /home. I added a new 2 TB disk in the machine and would like to extend my current /home partition by 2 TB (possibly with LVM). However, I don't want to lose my data ...
7
votes
4answers
2k 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 ...
0
votes
1answer
1k views

Move home to partition or resize home to fit partition

I've two disks in my PC. My /home is in the /dev/sda3 so it's on sda1. Then I have another disk formated and mounted as /data in /dev/sdb1. I want to move /home to /data or delete data complety and ...
1
vote
1answer
64 views

A tiered approach to cloning linux partitons

I'm looking at a strategy for cloning Linux (root) partitions without having to use a Live CD. Literature suggests rightly that the source and target partitions must be umounted to be able to get a ...
2
votes
1answer
604 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 ...
0
votes
0answers
155 views

I used LVM's pvcreate on an exisiting windows install. What do I do?

I was using LVM on an arch install disk and typed pvcreate /dev/sda2 but that was where my Windows installation was located. Did it overwrite the whole disk? If not, how can I revert it back to a ...
1
vote
1answer
1k views

LVM needed for encrypted, expandable RAID?

I am currently building a RAID-5 with three 2TB HDDs on Debian. I am wondering how I could configure my RAID to be encrypted and expandable in the future. I do not need nor want partitions, but must I ...
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, ...
2
votes
1answer
2k views

Having trouble with EXT4 on LVM on software RAID 5 (corruption)

Here's the quick and dirty of my problem. I'm using Lubuntu 12.04, Xubuntu 12.04 and plain Ubuntu 12.04. Tried with generic kernels 3.2.0-25 and 3.2.0-26. This issue persists on all 3 variants which ...
1
vote
2answers
409 views

Discover and mount all filesystems on all drives (including LVM)

I have a Live CD that I am creating that will access all physically attached disks on a machine. There is no user intervention involved and I need to find and mount all drives that can be mounted. I ...
1
vote
1answer
1k views

resizing/moving LVM volumes

I have a server machine running CentOS 6.2. It is configured using LVM mapping as it is the default and I didn't see any problem with going that way. I have a 500Gb drive in there right now, and 54Gb ...
0
votes
3answers
714 views

Best way to partition 1 TB (Linux and Windows 7)

Is there an intelligent way to partition 1 TB and be prepared for resizing/adding/deleting partitions? I was thinking about LVM, but as far as I remember, Windows 7 can't be installed on ...
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 ...
0
votes
1answer
1k 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
750 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 ...
2
votes
2answers
4k 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
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
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 ...
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 ...
3
votes
1answer
719 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'...
1
vote
1answer
846 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
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 ...
1
vote
1answer
943 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
367 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
9k 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 ...