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
1answer
539 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
131 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
276 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
821 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
984 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 ...
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
738 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
119 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
751 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
406 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
264 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
603 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
427 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 ...
6
votes
3answers
14k 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
230 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
593 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
151 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
388 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
691 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
614 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
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
505 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
14k 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
15k 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
687 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
819 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
933 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
358 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
8k 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
289 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
752 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
968 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 ...
2
votes
0answers
725 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
327 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
779 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 ...