Logical Volume Management provides storage abstraction, a generalization of disk partitioning.

learn more… | top users | synonyms

0
votes
0answers
6 views

Is there a distribution with an installer that can automatically do LVM over LUKS with everything aligned as needed?

http://www.void.gr/kargig/blog/2012/01/11/linux-ssd-partition-alignment-tips/ talks about aligning SSD partitions and LVM physical volumes. ...
0
votes
0answers
16 views

Cannot create lvm snapshot

I've found a proble creating a snapshot, as follows: [root@centos7 ~]# vgs centos VG #PV #LV #SN Attr VSize VFree centos 3 2 0 wz--n- 9,50g 1,99g [root@centos7 ~]# LANG=C lvcreate ...
0
votes
0answers
23 views

Good Bye lvreduce, hello lvresize?

I've found a couple of times that using lvreduce, (first unmounting, shrinking ext4 with resize2fs, and fsck'ing) ends in: mount: wrong fs type, bad option, bad superblock on ...
0
votes
0answers
11 views

LVM2 Mirror Support Missing from Kernel after System Migration

I had a system that was running on a small netbook that had LVM2 set up to group two external USB hard drives into a volume group, and to use that volume group to create a mirrored logical volume. ...
0
votes
1answer
14 views

LVM + LUKS partition - Is this architecture dependent or independent?

I've been recently dealing with an LVM + LUKS partition trying to install a new linux (ubuntu in this case). I tried a few different options to make it work, but the pc resisted, the only system I ...
3
votes
0answers
67 views

RAIDing with LVM vs MDRAID - pros and cons?

In his answer to the question "mixed raid types", HBruijn suggests using LVM to implement RAID vs the more standard MDRAID. After a little investigation, it seems LVM also supports RAID ...
-3
votes
1answer
18 views

How many volume groups can be created in physical volume?

I want to know the details regarding LVM: please provide some link regarding Linux to study and understand it.
0
votes
0answers
16 views

LVM: possible to recover full snapshot?

Accidentally, I have let a LV snapshot created by libvirt/virt-manager run to full. Is there any way I can at least recover (some) data written to the snapshot? Many thanks! lvs ...
1
vote
1answer
16 views

Removing /home LVM and merging in to /

[root@host.com ~]# pvdisplay -s Device "/dev/sda2" has a capacity of 0 [root@host.com ~]# vgdisplay -s ...
1
vote
1answer
37 views

Fix LVM physical volume definition after removing /dev/sdb

Recently I set up LVM partition with an new disc /dev/sdc. I created the LVM with the following commands: pvcreate /dev/sdc vgcreate data /dev/sdc mkfs.ext4 /dev/data/srv tune2fs -m 0 ...
1
vote
0answers
67 views

How to restore /sysroot on Fedora 20

I can't boot my Fedora 20 system as usual. Upon boot I get the message Entering emergency mode. Exit the shell to continue. journalctl reveals the following: systemd[1]: Starting Switch Root... ...
5
votes
1answer
34 views

LVM: is this mirrored? is copy this slow?

Background: My Windows Home Server bit the dust - some kind of OS Hang. The drives and hardware were still good; after making sure I had all my data backed up, I decided to investigate Ubuntu and ...
0
votes
0answers
20 views

Error when trying to mount Xen LVM2 volumes

I have a hard drive which used to be part of a server running Citrix XenServer 5.6.100 SP2 with a Software RAID1 (I only have one of both hard drives). This hard drive is now physically attached to a ...
0
votes
0answers
46 views

how can I backup and restore of partitions and logical volumes?

This is my disk scheme sda1 /boot ext4 sda2 /somefiles ext4 sda3: lvm volgroup1/lvolume1 / ...
2
votes
1answer
80 views

No logical volume groups found, LVM stuck at boot

I'm running Ubuntu 14.04 (64bit). Long story short, I've compiled a custom kernel and now I'm running into some issues with my encrypted hard drive. When I boot my machine and attempt to start the ...
1
vote
1answer
54 views

Swap partition in LVM?

I was wondering if putting the swap partition into a logical volume group has any drawbacks (e.g. performance), or would it be "just the same" as having it as a separate primary/logical partition? I ...
1
vote
1answer
32 views

Built new kernel, LVM won't mount from initrd

I need to upgrade my kernel on a RHEL 5 system to build with some experimental drivers. I have configured the kernel with module loading for LVM (dm_* modules). Once the initrd runs the /init ...
2
votes
0answers
11 views

How to increase an FS using a LiveCD - that has SW RAID+LVM

If we have an older OS and can only increase the FS if we umount the FS because it is the ex.: /usr - then we have to use a LiveCD. The /usr is in the rootvg (LVM) that is on a SW raid Q: What are ...
2
votes
1answer
85 views

How do I resolve an error when booting, “Couldn't find device with UUID…”

I have a RHEL 6 system, running on a VMWare machine. The admin of the VM server added a second RAID volume to the server, which my RHEL system does not use. Now, when I boot the RHEL system, I get a ...
0
votes
0answers
86 views

Understanding iostat with Linux software RAID

I'm trying to understand what I see in iostat, specifically the differences between the output for md and sd devices. I have a couple of quite large Centos Linux servers, each with E3-1230 CPU, 16 GB ...
1
vote
1answer
155 views

LVM not coming up after reboot, couldn't find device with uuid

Had a VM that was, up until recently working without issue, but needed to be rebooted after some configuration changes. However after rebooting the VM didn't come back up, saying it couldn't find the ...
3
votes
1answer
58 views

LVM - failed to install bootloader

I have Mint 16 installed on an LVM system. I originally had 3 logical volumes: lvswap, lvrootone, and lvstorage, with Mint 16 installed on lvrootone. I was hoping to use this scheme to upgrade and try ...
4
votes
0answers
76 views

Why does hdparm see two different values for the size of a drive?

I have a 1 TB drive attached via USB. It contains an LVM physical volume filling the entire device (without any partition table). When I tried to extend a logical volume by using the entire PV, the ...
2
votes
2answers
106 views

How does grub2 load the kernel from an LVM volume?

Grub2 is able to load the kernel even if /boot is placed on an LVM volume. To use this feature one needs to add insmod lvm (the module can be on the grub bios partition that is not on an LVM volume) ...
1
vote
0answers
29 views

Converting RAID partitions to LVM

I have a 3TB HDD. of type RAID 5. I want to convert it to LVM. How can I do this without data loss and without needing for installing the OS again? $ df -h Filesystem Size Used Avail Use% ...
3
votes
1answer
89 views

Removal of HDD causes kernel panic

I recently added a 2nd HDD to a system and then proceeded to do a clean install on to this 2nd HDD of CentOS 6.5. The original system was CentOS 5.9. My plan was to leave the original HDD in place so ...
1
vote
1answer
112 views

How to reduce LVM size and increase one exsiting partition space

I want to increase 7 GB space in one of my existing partitions (/dev/xvde1), and reduce an LVM partition 7 GB (/dev/mapper/vg--home-lv--home). My total disk size is 40 GB. Detail of partitions is as ...
2
votes
1answer
153 views

How to add existing normal partition into LVM in Linux?

I'm having a partition in Linux with some data, I want to add this partition into LVM, which is already running in the same system. What will be the step to do so?
1
vote
2answers
182 views

Very poor read performance compared to write performance on md(raid1) / crypt(luks) / lvm

I'm experiencing very poor read performance over raid1/crypt/lvm. In the same time, write speeds are about 2x+ faster on the same setup. On another raid1 setup on the same machine I get normal read ...
0
votes
1answer
100 views

Is it useful to setup RAID0 on laptop? [closed]

I have a Dell laptop, which I am going to replace the CD-ROM hub with a HDD. I am thinking if I setup a RAID0 on my original HDD and the new HDD, would I have some I/O performance improvement? ...
2
votes
1answer
51 views

Can I convert an existing LVM VG to a stripe (RAID0 eq)?

I have an existing LVM volume group of 3 disks (ext4), with 4 logical volumes. Not quite ready for the leap to a nextgen FS, I would like to balance the load on the disks. I have seen you can create ...
0
votes
0answers
26 views

Proxmox storage question

I am designing a proxmox installation for use as a home server, I chose it for the inherent flexibility and ease of administration, this restricts me to debian based solutions. So after some ...
0
votes
0answers
76 views

How to enter LVM GUI from CentOS live CD?

I'm trying to reduce in size one of my logical volumes in CentOS. I booted from the CentOS 5.10 installation CD into linux rescue and tried running: lvreduce --resizefs --size 450g ...
1
vote
1answer
160 views

Multipath to a logical volume in a staging VM

How do I configure multipath in testing VM (purpose is purely academical)? I made new logical volume, modified multipath.conf to be as follows: defaults { udev_dir /dev ...
3
votes
1answer
814 views

Can't resize lvm volume “lv_home is in use. e2fsck: Cannot continue, aborting”

I would like to shrink my logical volume for home directory, so that I can extend volume for root. df -h /dev/mapper/vg_mitoscomp-lv_root 50G 33G 15G 70% / /dev/mapper/vg_mitoscomp-lv_home ...
1
vote
0answers
25 views

what is the “System ID” of a LVM volume group

On my system, where I use LVM2, I have several volume groups. When I run sudo vgdisplay, I see that all of them have an empty System ID field. What is that field for? Is that correct to have it empty ...
3
votes
1answer
435 views

I can see my LVM but I can't initialize it. Missing UUID of one of the disks

I have had a 2 disk LVM called Data going for about 6 months, and I recently bought a third disk. I installed the disk in the machine, and wanted to format it and extend the lvm onto it, like I've ...
2
votes
2answers
813 views

device mapper on RHEL6 unable to create devs for LVM logical volume

I have XEN guest running RHEL6, and it has a LUN presented from the Dom0. This contains an LVM volume groups called vg_ALHINT (INT for Integration and ALH is an abbreviation of its Oracle database ...
2
votes
2answers
164 views

lvm: what's the purpose of a Volume Group?

Each Volume Group can have many resizeable Logical Volumes. each of Logical Volume can have different filesystem, encryption options etc. that means having a single Volume Groups is enough. so why LVM ...
1
vote
2answers
52 views

How to find the underlying disks of a mirrored volume in LVM (linux)?

When I run command lvs -a the output shows the logical volumes from which the mirrored-volume has been made but how to find the actual disks from which the sub-logical volume were allocated. Any ...
1
vote
2answers
83 views

Restore formated Partition Table on LVM Physical

I have a machine (guest VM running CentOS 6.5) with 2 disks. Main OS on sda and then a 2TB LVM on the second sdc. I added 2 more 2TB disks to the machine and was going through the process of ...
4
votes
1answer
202 views

LVM2 pvdisplay and vgdisplay disagree

In my laptop, I have a single hard drive (/dev/sda). On this hard drive, I have an EFI partition (/dev/sda1), a boot partition (/dev/sda2), and an encrypted partition containing / (/dev/sda3). Inside ...
0
votes
0answers
26 views

Decrease crypted LVM partition

On a Linux Mint install, I used the option to use whole disk and encrypt it. Now, I want to install Windows on another partition. How I can safely decrease size of this encrypted LVM? Of course, ...
3
votes
1answer
420 views

Using LVM with SSD and SATA drives

I saw in this question that it is possible to place both a SSD and a standard SATA hard drive into a single LVM volume group (VG). How does this affect performance? Is there a way to force the OS ...
1
vote
1answer
262 views

Replace hard drive in ubuntu

I know variants of this question have been asked before, but I couldn't find a specific answer to my situation. So here goes: Running ubuntu server 12.04 with the os on a separate drive and two 1,5 ...
0
votes
1answer
93 views

LVM Snapshot without copy-on-write

I've been experimenting with LVM and how I can use it for managing data on my NFS server. With everything that I've read about snapshots, I am still unsure about how they perform in real life. Why ...
2
votes
1answer
197 views

KVM linux guest, 2nd HDD, LVM partition or whole disk

I've got a RAID 10 arrays on a couple of KVM host machines. The RAID 10 array is one big VG. I usually create a small LV for guest disk image storage then the rest of the VG I carve out as LVs to add ...
3
votes
0answers
128 views

Unable to close a Luks partition

For backup purposes, I have "snapshotted" a LVM partition. This partition was crypted so I have opened this Luks partition (snapshot) in order to do my backup. The problem is that I have forgotten to ...
0
votes
1answer
329 views

Adding a second hard disk CentOS

I'm running CentOS on my VMware server console, and I want to know how to make a second virtual hard disk on which I can expand the size of the primary logical volume AND and a third to hold two ...
1
vote
1answer
222 views

Debian Squeeze RAID 5 Install?

I have a box with four Hard Drives on it. I am going to install Debian Squeeze (I know it's old... I have to) on it. I want to be able to treat the the four Hard Drives as a single Harddrive. Durringt ...