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

learn more… | top users | synonyms

2
votes
1answer
17 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? ...
3
votes
2answers
803 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 ...
3
votes
1answer
875 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
1answer
22 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
27 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
28 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
21k 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
18 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 ...
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 ...
1
vote
1answer
21 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 ...
30
votes
8answers
20k 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
63 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 ...
2
votes
2answers
624 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: ...
1
vote
3answers
39 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
214 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 ...
5
votes
3answers
255 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
27 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
36 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
532 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
81 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% ...
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
1answer
57 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
40 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
33 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
48 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
1answer
551 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 ...
1
vote
2answers
63 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
17 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
66 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
56 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
15 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 ...
0
votes
1answer
588 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 ...
1
vote
2answers
55 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?
1
vote
1answer
295 views

Booting Gentoo on LVM inside LUKS with gpg encrypted keyfile

I'm trying to install Gentoo on LVM logical volume inside LUKS container encrypted with key file encrypted by GPG with passphrase. Everything was going smoothly until I tried to boot. I'm building the ...
1
vote
2answers
26 views

need to repartition logical volumes

I have bad balance between my root/home LVs. Please note that I'm extremely new to understanding disk management and Linux in general, so I'm probably going to say a few things incorrectly. My goal ...
5
votes
2answers
1k views

What is lvmetad and why would I want or need to use it?

I have a Gentoo server with LVM running on top of a RAID array that I have been using for a number of years. Recently I upgraded LVM to 2.02.109 (don't recall what version it was before) and received ...
1
vote
2answers
150 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
261 views

LVM unknown device: how to recover?

I have a server with two hard drives that I thought I had correctly installed with LVM, until I discovered that the second hard-drive did not actually seem to be used. I investigated the problem and ...
2
votes
1answer
26 views

swapon command is not listing the lvm name

I am facing issues with swapon -s command. It is displaying some other filename instead of my lvm name which i have given ( swap is LVM partition ) swapon -s command is not listing my LVM Name for my ...
0
votes
2answers
89 views

boot on a LVM mirrored filesystem

My personal server (odroid-c1 tiny ARM computer) is running Archlinux on an LVM filesystem over USB disks. Logical volumes containing data (backups, etc) are mirrored and everything works fine. Now, ...
1
vote
0answers
26 views

Recover VG after Adding Disks and Rebooting

I had an old 1.5 TB NTFS formatted disk I wanted to use in by RHEL 7 box, so I put it in my desktop booted, and proceed to delete the partition table using fdisk. I created a physical volume on it ...
1
vote
0answers
30 views

change device names in LVM

We have a server crash situation for our Oracle Database Server. The operating system was SLES 10 SP2 and Oracle Release 11.1.0.6.0. Now the system had this setup before crash. 1 boot disk --- ...
1
vote
0answers
130 views

how to make LVMs at available boot? kernel panic - dracut cannot find logical volumes after kernel upgrade in CentOS 6.6

I have a centoOS 6.6 vmware vm that I ran yum update on which upgraded the kernel after reboot, I started getting this: dracut Warning: No root device "block:/dev/vg_myhost/lv_root" found dracut ...
0
votes
0answers
15 views

Partitions going offline and coming back online

We have Linux server that has 5 LVM partitions. In that two partitions are going offline and coming back online again and again. It is a critical server. Please help, how to resolve the issue.
1
vote
0answers
34 views

How to create separate usr partition during arch install?

How do I modify and add the hooks needed in mkinitcpio to have a separate usr partition? Also, am I mounting the other partitions correctly? http://imgur.com/Rxt6o1g Basically I'm using UEFI with ...
0
votes
1answer
154 views

Mounting failed - invalid argument

I've setup a Kali Linux installation on an SD card and created an encrypted LUKS partition with a LVM logical volume inside of it, then created a BTRFS filesystem inside. Almost everything works, but ...
1
vote
1answer
76 views

Creating separate volume for /var/log/ and /var/log/audit/

I need to migrate /var/log/ and /var/log/audit to separate volumes. Currently the entire /var/ directory is on a logical volume with ample space (45G). I understand how to shrink and create new ...
2
votes
2answers
2k views

Error “/run/lvm/lvmetad.socket: connect failed: No such file or directory” - but not Grub related

All LVM commands give me the error /run/lvm/lvmetad.socket: connect failed: No such file or directory. I Googled this error and found only postings related to Grub and Grub-install. wish to get rid ...
0
votes
2answers
61 views

Unable to mount Volume Group [closed]

2 drives connected externally to a new server both are merged using LVM as one drive. vgscan Reading all physical volumes. This may take a while... Found volume group "vol_grp1" using metadata type ...