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

learn more… | top users | synonyms

3
votes
0answers
26 views

How to shrink root filesystem without booting a livecd

I find myself needing to rearrange a system's partitions to move data previously under the root filesystem into dedicated mount points. The volumes are all in LVM, so this is relatively easy: create ...
2
votes
1answer
17 views

After changing LVM, I have “residue” of old PV's

I used to have an LVM LV based off of two smaller disks. I introduced a new, much larger disk, migrated the data, and retired the old disks. Everything works fine. The 3Tb disk /dev/sdb1 is fully ...
1
vote
1answer
22 views

fstrim “the discard operation is not supported” with ext4 on LVM

Attempting to run fstrim on my root partition (which is ext4 on a LVM logical volume, single physical volume—an SSD supporting TRIM) produces an error: fstrim -v / fstrim: /: the discard operation is ...
3
votes
1answer
950 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

Encrypted boot drops to shell, how to set LVM crypttab consistently? 'ALERT! {logical volume path} does not exist'

I used Luks to encrypt my whole hard drive, and created that sda drive as a physical volume. Under that volume, I create a volume group vg00 with my 3 logical volumes lv00_root, lv01_home, and ...
0
votes
0answers
12 views

LVM Mapper can't be found

I'm getting the error below. If i write "lvm vgchange -ay", "exit" i can go on and system boots. But why is this happening? I don't want to write this commands EVERY boot. What can i do for this?
1
vote
1answer
50 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! ...
2
votes
0answers
24 views

GRUB doesn't find /boot in LVM

My system was installed with the Antergos installer and it runs encrypted GRUB. This works fine, just have to insert decryption key twice. Then I added LVM and created three LVM volumes, boot root ...
0
votes
2answers
1k 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 ...
0
votes
0answers
29 views

Debian Jessie LVM2 volume not found on boot

On Debian Jessie, is it possible to have LVM execute vgchange automatically at startup such that a LVM USB volume is available for auto-mount? (I have seen solutions with custom init scripts - I am ...
3
votes
2answers
684 views

Extending/resizing Fedora Guest-OS root-drive in VirtualBox

I hope you can help me with that: My VirtualBox Guest-OS (Fedora 19) told me, that there is not enough free disk-space availabe, so I first increased the .vdi-file by using the Windows-Commandline: ...
3
votes
2answers
47 views

LVM Filesystem recovery

I was trying to resize my LUKS crypt following this https://wiki.archlinux.org/index.php/Resizing_LVM-on-LUKS and I got to the partition resize with parted and seriously screwed things up. I typed 870 ...
-1
votes
0answers
13 views

Problems with Booting “red hat”. disk volumes issue

I recently installed the Red Hat 6 OS on hp proliant server. This server have 8 hard drives 1TB each. I realized two volumes RAID 5 each having four hard drives (and 2.7TB). On one of the volumes, I ...
1
vote
1answer
116 views

Booting from an lvm-cached volume

I created a cache pool following this article. The process seems to be successful. After doing an upgrade-grub and rebooting, Grub complains that it can not find the root volume (showing a UUID). - ...
0
votes
0answers
17 views

How to implement RAID 6 over different nodes on the network

I am trying to create a RAID 6 over independent nodes which are on the network. i have to further implement lvm over this raid 6. I read about it at ...
18
votes
4answers
5k views

The merits of a partitionless filesystem

I ran into something a couple of weeks ago that I'd never seen before: A filesystem (ext3 I believe) installed to a storage device without a partition. In essence /dev/sdb was the entire filesystem. I ...
11
votes
1answer
4k views

Defragmentation of LVM2 logical volumes

Question: Is there a tool supporting de-fragmentation of LVM2 logical volumes ? (Making their extents into consistent sequences) Preferably by defining desired order of extents (something like ...
2
votes
1answer
40 views

Can thin LVs be moved to a different LVM pool?

If I have (2) thin pools (vg/pool1) and (vg/pool2) inside the same volume group, with an LV inside the first pool, is there a LVM command to move that LV to the second pool? Would pvmove do that? ...
1
vote
1answer
24 views

KVM host, add LV to guest

I have a KVM host with a software RAID 10 array. The software RAID 10 array is a PV on the host and there's a single VG. I have a couple of LVs used at the host level (a datastore for KVM guest .img ...
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 ...
3
votes
1answer
2k views

I/O errors on Linux LVM

I have a CentOS 6 box with LVM setup and one of the PVs is a USB disk (I know). One of them is getting the error: Oct 30 10:57:07 alpha01 kernel: lost page write due to I/O error on dm-3 Oct 30 ...
1
vote
1answer
583 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 ...
0
votes
1answer
621 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 ...
3
votes
2answers
852 views

Can you create a volumegroup in LVM that all the Logical volumes created under it will be thin provisioned?

I would like to know if it is possible to create a volumegroup in LVM that all the Logical volumes created under it will be thin provisioned? This will be used on RHEL 6 which does include thin ...
2
votes
1answer
48 views

SSHD drive caching algorithm vs bcache/LVM

I read somewhere that the algorithms used by LVM/bcache are much better than the algorithms implemented by the H-HDD/SSHD drives. Is it true?
1
vote
1answer
36 views

Using the SSD area of a H-HDD drive with LVM/bcache

I heard that LVM/bcache can be used in Linux to store the most accessed files if there is a separate SSD drive. With a hybrid drive (SSHD/H-HDD), can the flash area be manually used by LVM/bcache as ...
1
vote
1answer
34 views

Really need to understand CENTOS fdisk -l output

I am running centos on a server and the HDD config for my server is 2 1 tb drives with 32 gb RAM. Now when I use fdisk -l command, i see the below output which is really not understandable. Could ...
13
votes
4answers
22k views

How to reduce Volume Group size in LVM?

[root@localhost ~] vgdisplay --- Volume group --- VG Name vg_root System ID Format lvm2 Metadata Areas 1 Metadata Sequence No 7 VG ...
1
vote
0answers
26 views

mount LVM RAID 5 with missing disk

I have a software RAID 5 (LVM, XFS) with three 2 TB drives. Is it possible to mount the RAID with one missing drive (instead of having to rebuild it)? How would this be done? [Edit] My /etc/fstab ...
1
vote
1answer
42 views

Create new physical volume using lvm

I have Linux Mint 17.2 codename Rafaela running as a virtual machine with a disk size of 30GB. I used the default LVM installation. I would like now to create a physical volume /dev/drbd0 to use it in ...
32
votes
8answers
21k views

SSH to decrypt encrypted LVM during headless server boot?

When I installed Ubuntu 10.04 and, now, 10.10, I was offered the option of enabling "encrypted LVM" for my hard drive. After choosing that option, I am prompted for my password during boot to decrypt ...
6
votes
1answer
72 views

How to restore an LVM container to a bigger physical partition?

The setup is an encrypted LVM container/PV that holds a few ext4 partitions. I am moving these to a new machine, but there is more room on the disk. So, I have created a bigger encrypted LVM ...
1
vote
3answers
43 views

Resize an existing LVM partition and add the space to another LVM partition

I'd like to resize an existing LVM partition and add the space to another LVM partition. [root@dckapstaging ~]# df -h Filesystem Size Used Avail Use% Mounted on ...
3
votes
0answers
243 views

Corrupt LVM metadata header after kernel update

I'm running Debian Wheezy (Linux wheezy3.2.0-4-amd64 #1 SMP Debian 3.2.63-2+deb7u1 x86_64 GNU/Linux) as an encrypted LVM with hardware raid 1 (Adaptec 6405E) on a supermicro server. I was encounting ...
6
votes
3answers
280 views

Shrinking LVM physical volume on top of mdadm degraded RAID array, adding a spare and rebuilding it

I have a Debian Wheezy system with a couple of 500 GB HDDs in RAID-1 (mdadm mirror), on top of which sits LVM logical volumes with 5 partitions (boot, root, usr, var and tmp), total size of 47.15 GiB. ...
1
vote
1answer
34 views

Setting up OpenVZ container private area

I would like to install two OpenVZ templates, each one in a different logical volume. I have created a separate partition, made it a physical volume, assigned it a group volume and separated in two ...
0
votes
0answers
78 views

DRBD device names and numbers

I am trying to deploy a DRBD setup. I am using two virtual machines running CentOS 6.6. It is quite unclear to me how should the drbd configuration file should look like. I am using the following ...
2
votes
2answers
542 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 ...
0
votes
1answer
150 views

Arch linux root device problem in '/dev/mapper/MyStorage-rootvol'

I installed Arch x86_64, these are the commands I used during the installation: # parted /dev/sda (parted) mklabel msdos (parted) mkpart primary ext2 2MiB 2GiB (parted) mkpart primary ext4 2GiB 100% ...
1
vote
1answer
67 views

What are the overheads of using multiple smaller raid devices versus partitioned raid devices as physical volumes?

LVM only allows volume groups to be expanded by adding physical volumes. So if I have multiple volume groups which may need extra space, but it can't be predicted which will expand fastest, it's best ...
4
votes
1answer
48 views

Is it sensible to use multiple LVM layers with mdraid

I'm building up a home server that will be used for a handful of different things. I'd really like to try a Btrfs raid 1 array for a large data store, but I'm using CentOS 7 (older kernel although ...
1
vote
1answer
53 views

Move data from regular partition to lvm

I've read a bit about lvm and decided that I want to switch to using it. It seems like actually setting up lvm can be done from the debian installer, so I suppose that'll be easiest. What I'm not sure ...
4
votes
1answer
50 views

218TB XFS LVM filesystem. 144TB Free. Error message “No Free Space Left on Device”

I have a giant 218 TB RAID6, across LVM. It is actually 2 separate RAID6s joined together through LVM to form one giant RAID6. df -h shows all space was available, and I mounted to /share. I wanted ...
1
vote
2answers
101 views

Increase root partition by reducing /home

Hi I need to increase root partition space by reducing /home, in a Centos 6.6,my situation is this: /dev/mapper/VolGroup-lv_root 50G 46G 1,6G 97% / tmpfs 1,9G ...
1
vote
0answers
25 views

Boot GRUB2 with Degraded RAID5

I am building a custom NAS with Debian Jessie. Has three 4TB hard drives in a software RAID5 configuration. Works perfectly when all three drives are present. I am trying to test what happens when if ...
1
vote
0answers
148 views

LVM volume inactive after reboot on CentOS

It seems like 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 ...
1
vote
1answer
184 views

grub-install : File descriptor 3 leaked on vgs invocation

I installed Debian Jessie on a LVM in a software RAID 1. To make sure MBR are written on both disks of the RAID 1, I run dpkg-reconfigure grub-pc (as suggested here) and select both disks. I get ...
4
votes
2answers
1k views

CentOS can't use new extented space on system disc

I have CentOS installed in my VirtualBox and there was small HDD for the system itself(about 8-9GB). After some time of using this, this virtual disc got full and I couldn't install updates so I ...
0
votes
0answers
18 views

Centos Redhat Cluster LICI RUCCI

I have 3 systems [Normal Desktops College LAB] with 2 Network Interfaces each node1.test.com : Public IP : 10.10.10.2 Cluster Hearbeat: 192.168.1.2 node2.test.com : Public IP : 10.10.10.3 Cluster ...
1
vote
2answers
80 views

What's the difference between a partition and physical volume?

Why can't we directly create a volume group over a disk without creating a physical volume from it? What is a physical extent? Do we even have physical extents in a partition?