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

1
vote
0answers
30 views

Control auto-LV-mounting

On Debian, I want to control the auto-mount of LVs, because I have multiple nodes that have access to a shared VG. For example, when I try to activate a LV, I want it to refuse the activation. I ...
1
vote
2answers
293 views

copy logical volume to another server

I have copied a logical volume from Server A to Server B, using dd command, however every time I try to mount the volume root@munin:~# mount /dev/DS/data_snap /mnt/ mount: you must specify the ...
0
votes
1answer
133 views

Partition 3TB disk as 1 primary partition or as 2*1.5TB in a LVM?

I have a Debian box that I am about to restore from backup since the old 2TB disk crashed and died. So I have a new 3TB disk that will replace him, but when I filled the 3TB partition with the same ...
0
votes
0answers
273 views

LVM woes - is it possible to recover data from LVM?

I think I've cocked up a smidge, so asking for some advice. I have 4 drives in my machine: sda - OS sdb-d - sdb1, sdc1, sdd1 - swap sdb2, sdc2, sdd2 - LVM Total logical volume size ...
1
vote
1answer
708 views

How do LVM Snapshots work on the PE level?

How do LVM Snapshots work on the PE level? What is stored where? What data is lost when the snapshot runs out of COW space? (description + explanation below) I was experimenting with LVM and ...
1
vote
1answer
2k views

Fedora 18 add new hard disk with LVM Partition

I recently built my 1st computer and realized today that despite having multiple hard disks, I'm out of space because I did not set up the partitions correctly. I am trying to add two of my hard ...
1
vote
2answers
103 views

Options for treating multiple partitions as one

I have an HDD partitioned with one partition used for media files, mounted somewhere on my system (which is a Debian Wheezy box). I would like to expand the space available for files in my mount ...
2
votes
0answers
702 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 ...
0
votes
1answer
347 views

Logical Volume Partitions

I am trying to incorporate Logical Volumes into the paritioning scheme for the VM I am creating, in Red Hat Enterprise Linux 6.1. I am booting from an ISO Image and I have a Kickstart Script that ...
1
vote
2answers
943 views

LVM Difference in paths for mounts

So I can do the following: mount /dev/datavg/datalv /mnt or mount /dev/mapper/datavg-datalv /mnt Are these the same? Is their an advantage to one over the other? Is one better practice?
2
votes
0answers
963 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
528 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 ...
1
vote
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
249 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
19k 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
949 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
375 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
489 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: ...
0
votes
0answers
267 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
0answers
393 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
125 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
229 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
689 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
804 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
958 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
546 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
664 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
345 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
228 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
531 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
328 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
109 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 ...
5
votes
3answers
9k 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
189 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 ...
6
votes
3answers
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
63 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
536 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
146 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
918 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
4k 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
322 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
622 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 ...
4
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
969 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
421 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 ...