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

learn more… | top users | synonyms

1
vote
1answer
23 views

how to create another physical volume/partition with existing unused lvm space without data loss?

I have a 1T USB disk with Fedora 20 installed. It shows as sdd in the first image below. I only used about 50GB. There are 3 logic volumes under the sdd2 and also there are about 620GB of free space ...
3
votes
1answer
1k 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 ...
1
vote
0answers
5 views

grub can't find CentOS 7

My desktop was tri-booting between Ubuntu 2.04, CentOS 6, and Windows. I installed CentOS 7 in the space that CentOS 6 used, but update-grub doesn't result in the new CentOS showing up. I can only ...
0
votes
2answers
25 views

Extends partition using another disk [on hold]

I have A 100GB SSD that I use for root partitions. I have 1TB disk. I'm running out of space on the SSD partition. Can I extends its size using the other disk. I know I can move the /home partition ...
24
votes
7answers
20k views

Should LVM partitions be used in virtual machine images?

Should LVM be used for the partitions when creating VM images (e.g., KVM images)? It seems like it adds complexity if you want to, say, mount a qcow2 image in the host if the image has LVM partitions. ...
0
votes
0answers
81 views

Newly compiled kernel can't boot to LVM root partition - but the old one does

When booting a new kernel (4.4.1 on Ubuntu 15.10) for my Intel i7 based laptop (MSI GS40 Phantom), I can't seem to far past Grub. Once initramfs kicks in I get an error message saying that it can't ...
2
votes
1answer
34 views

Found Duplicate PV in LVM disk scan

I have a VPS, and I attached another hard disk to it. It contains the same partitions I have on my current disk; it has / and /boot and swap. I need all data on the / partition. Here is the output of ...
13
votes
1answer
13k views

Updating disk free size without rebooting the host

I use RHEL4 with LVM2 on it. At times even after removing large files more that a GB the partition size is not getting updated when is see using df command. -bash-3.00$ df -h Filesystem ...
11
votes
1answer
793 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 ...
0
votes
1answer
12 views

Why hasn't my CentOS partition resized?

I am running CentOS 6.5 in Hyper-V. It originally started off with a 5GB virtaul hard disk (VHDX) but I later decided I wanted to increase the size. I changed it in Hyper-V settings to 20GB, then ...
1
vote
1answer
688 views

LVM volume is inactive after reboot of CentOS

It seems there are many people with similar problems, yet I've found nothing that could help me. I ask here in hopes that someone might have a good idea. I've reinstalled a Linux server from CentOS 6 ...
1
vote
1answer
113 views

Dependency failed for mount after dist-upgrade

Last weekend, I ran an apt-get dist-upgrade on a home Debian 8.3 system, and was surprised to see that it entered emergency mode on the next boot. The server in question runs LVM on top of a mdadm ...
2
votes
1answer
25 views

Why the ext4 filesystem can be shrunk only when not mounted?

I'm playing a little bit with LVM. I've noticed that I can add a new HDD, include it in the volume group, and add some space to all of the existing volumes without unmounting theirs filesystem or ...
0
votes
1answer
28 views

Where is the space from LVM partitions?

Additionally, output from my df -h command and fdisk -l command. Where and how could I utilize space from my /dev/sda4 and /dev/sda5 partitions? I suspect /dev/mapper/fedora-root to be my LVM ...
3
votes
2answers
21 views

create raid1 from existing lvm local volume

I have an existing LVM, with one physical drive (say /dev/sdb), and one volume group (say volgrp1), here I have three logical volumes (say lvSys, lvHome, lvSwap). Now I worry about my data and by a ...
2
votes
2answers
467 views

How to obtain info about physical volume as non root user

Hello the pvs command gives me the following output: PV VG Fmt Attr PSize PFree /dev/sd** ***** lvm2 a- 59.49g 47.49g /dev/sd** ***** lvm2 a- 25.00g 8.00m This only works if ...
1
vote
1answer
662 views

how to have root partition LVM for RHEL 5.8 64 bit on AWS EC2

I am new to this and I have to create a RHEL 5.8 Amazon Machine Image (AMI) in which the root partition should be a logical volume. I know how to create a data partition as a logical volume but am not ...
0
votes
1answer
26 views

Automatic unlock LVM partitions with a Key LUKS dm-crypt

I'm trying to make an automatic unlock of other partitions, I have 9 Logical volumes including root, and I know root LVM will unlock manually true password to have a key decrypted. My goal is unlock ...
2
votes
1answer
735 views

How to reduce LVM size and increase one existing partition's size

I want to add 7 GB space to one of my existing partitions (/dev/xvde1), and reduce an LVM partition by 7 GB (/dev/mapper/vg--home-lv--home). My total disk size is 40 GB. Detail of partitions is as ...
0
votes
2answers
2k views

vgdisplay shows 0 free PE/size

I'm trying to configure a CentOS HA system with 2 nodes, with DRBD for replicated storage. I'm following the "Clusters from Scratch" guide, and at the DRBD portion, I need to create a partition for ...
-3
votes
1answer
52 views

How can I create an LVM volume group spanning 2 hard drives? [closed]

I have rented a dedicated server with two 500gb hardisks running Centos 6. On this server there are 4 partitions: 1.boot 2.root 50gb 3.swap 50gb4. 4.empty 400gb Now I want to create a logical ...
0
votes
0answers
35 views

Arch install grub cfg file LVM errors

i have been doing an arch installation on top of windows 8 using USB live iso. I partitioned my HDD as follows: SDA1->350mb(windows related) SDA2->781gb(windows related) SDA3--extended ...
1
vote
0answers
26 views

ArchLinux: Error installing grub on encrypted lvm partition(lvm on luks)

I am trying to install Arch Linux on an encrypted partition (LVM on LUKS). I followed the relevant Arch Wiki guide, but when I do: grub-install --recheck /dev/sda it gives me this output: ...
3
votes
1answer
103 views

Recover LVM (on RAID1): No volume groups found. Partition table erased?

I'm trying to recover a LVM (no encryption) on a RAID1 using Debian Live. Apparently, the RAID1 can be assembled without issue, but the LVM is broken. You may skip to LVM section. The RAID part is ...
12
votes
5answers
26k views

Mapping between logical and physical block device names

I cannot figure out the mapping between different logical and physical block device names. The output of "cat /proc/diskstats" is : 104 0 cciss/c0d0 ... 104 1 cciss/c0d0p1 ... 104 2 ...
0
votes
1answer
1k 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
2answers
2k 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 ...
0
votes
0answers
24 views

grub2-install can't find lvm device

I am in the process of moving from Arch to Fedora and simplifying my partitioning scheme in the process (by using LVMs raid options instead of layering it on an mdadm array). I have this LVM scheme: ...
2
votes
1answer
892 views

Missing root VG, dropped to an initramfs shell. [SOLVED]

My Linux Mint 17.1 (64-bit) uses LVM on its OS drive (an SSD). I must have done "something" to wreck my system, because last time I rebooted, the boot failed. Instead, I got the message "Alert! ...
1
vote
0answers
14 views

LVM: How to clone thin-volume

I'd like to know how it's possible using the lvm cli tool to clone an existing lvm thin volume, creating another thin-volume with the same contents (but possibly a larger size) as the original one. ...
0
votes
0answers
29 views

Combine grub2 + GPT partition + LUKS + LVM (grub overwrites LUKS header)

I'm trying to configure system to boot from one GPT encrypted LVM partition. But when I set partition type to 8300 grub-install complains on warning : this GPT partition label contains no BIOS boot ...
0
votes
1answer
59 views

Does it make sense to put btrfs on lvm?

This is OpenSUSE Leap 42. I have a computer with 2x 500 GB SATA HDD drives and to speed it up I put in a small 30GB SSD drive for the system. During installation HDDs were disconnected as they ...
1
vote
2answers
37 views

Renumber encrypted partition - sda3 to sda5

I have an encrypted crypt-luks partition that is currently named sda3, and is the last partition on the disk, that is, there are no sda4 or sda5. The encrypted partition contains three logical volumes ...
1
vote
1answer
38 views

Unable to remove stale volume

I have an external hard drive connected to my Ubuntu laptop via USB. The whole hard drive is LUKS encrypted. Next to the encryption layer sits an LVM volume which I mount to /mnt/es. Once opened, ...
3
votes
0answers
119 views

A stop job is running for LVM

I use full disk encryption which uses an LVM. It uses like this in lsblk: NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda ...
0
votes
2answers
41 views

In Linux what setup would allow striping data across multiple drives?

How would a system be set up to stripe data like raid does, preferably with out using raid. Could lvm be used for this?
2
votes
0answers
26 views

Safest way to add/extend partition on linux [closed]

I have a linux server that is running out of space. There are already 4 primary partitions, which I believe is the max number of partitions. So I am unable to create a new parition as per this ...
0
votes
0answers
11 views

vSphere Client 6.0.0 fails to add a disk drive greater than 4TB to VM

Any help would be appreciated: GOAL: Get Linux Mint 17.3 VM to see each of my 6TB (5.46TB) physical drives so I can then raid6, LVM and mount. They have already been successfully added as ...
2
votes
1answer
24 views

Transfer content of LVM block device ensuring consistency - LVM snapshot?

I need to create off-site full backups of an LVM block device. Thinking the old dd over SSH method. To ensure I have a consistent backup, should I create an LVM snapshot first? So new changed blocks ...
0
votes
1answer
29 views

HpUX: correct vgreduce

I want to remove a disk from root mirror. The disk to remove is /dev/disk/disk2_p2 lvreduce -m 0 /dev/vg00/lvol1 /dev/disk/disk2_p2 lvreduce -m 0 /dev/vg00/lvol2 /dev/disk/disk2_p2 lvreduce -m 0 ...
0
votes
0answers
26 views

unable to boot with GRUB after installing arch-linux

i finished to install the Arch linuks with lvm on Luks and rebooted after configuring the GRUB. when i boot to the USB GRUB i get: i have edited this page and fixed the UUID number to the sda1 ...
1
vote
1answer
20 views

Is there any profit in using contiguous space in lvm?

When creating an LVM on linux, there's couple of options to set up. One of them is -C y, which sets contiguous space that a logical volume can use. Should I use this parameter or not? I know that you ...
0
votes
1answer
26 views

Does LVM need a partition table?

Can the locations and sizes of logical volumes be provided as command line arguments when mounting LVM partitions? I mean in the way MTD partitions are not defined using a partition table. Does LVM ...
1
vote
1answer
19 views

How to handle (with LVM or DM (device mapper)) when a drive has gone away and come back as a new block device

(This correct answer is to one that bears little surface resemblance to this one. Asking the question and answering it myself with reference to that one.) Consider a virtual host environment in which ...
2
votes
0answers
44 views

Lost space in LVM

LVM Hey. First of all I want to say excuse me for my bad English. I a problem after installing CentOS 7 with LVM. Some space lost after problem with LVM configuration. I tried to add some logical ...
3
votes
0answers
50 views

LVM cache and TRIM

I have set up LVM to cache a logical volume (located on an HDD) on a partition of an SSD (in writeback mode if this matters). As far as I can tell, this works correctly and the cache uses all ...
0
votes
3answers
105 views

df -h shows fs size smaller than LV size

I created a LV which it's size is 700MiB . When I mounted the FS, I noticed the df -h shows the filesystem's size is 697MiB. Where did 3MiB go? Could it reserved for the LVM's metadata? The FS is ...
1
vote
1answer
31 views

Not able to finish setting up LUKS

I am trying to encrypt a new VM with LVM on LUKS. I formatted and partitioned the HD (1 partition). I ran: # cryptsetup -c aes-xts-plain64 -s 512 luksFormat /dev/sda1 /mnt/dok/31.jpg typing ...
0
votes
1answer
29 views

Check if FibreChannel disk is mounted somewhere else

I have two RHEL 6.5 servers. Each has access to the same FibreChannel LUN with multipathing and LVM on it – let's say /dev/mapper/vg0-lv_shared. lv_shared can be mounted on server1 or server2 but not ...
0
votes
1answer
8 views

LVM block allocation for snapshots

I've found this in 'man 8 lvcreate', which raises some questions for me. So: -s, --snapshot OriginalLogicalVolume{Name|Path} ... Thin snapshot shares same blocks within the thin pool volume. ...