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

learn more… | top users | synonyms

1
vote
0answers
19 views

Backup location in LVM

By default, the metadata backup is stored in the /etc/lvm/backup file and the metadata archives are stored in the /etc/lvm/archives file. What should I do If I want to change directory for backup? For ...
0
votes
1answer
67 views

Trying to understand lvm snapshot

I saw the mention of 'c-o-w' in a lvm tuto and that made me confused because it kept me thinking the snapshot vol behaves like overlayfs or other cow fs where changes are written to it after you ...
1
vote
1answer
36 views

Snapshot size in lvm

I am trying to understand how to select a proper size for snapshot. As I know simple snapshot uses space which is needed for covering difference between two logical volumes. So, what size of snapshot ...
1
vote
2answers
119 views

How to mount a logical volume?

I would like to mount /dev/sda2. How am I supposed to do that? I have tried this, I'm not sure about the result, df still does not show the free space. mount -v -o ro /dev/sda2 /data mount: unknown ...
0
votes
2answers
31 views

Is there a method to make Multipart or Virtual Files?

Is there a method of creating a symbolic file that refers to the contents of a directory? So for example, calling: cat all_keys would give the same output as: cat keys/key1+keys/key2+etc... I've ...
2
votes
1answer
662 views

how to check the filesystem type of a logical volume

How to check the filesystem type of a logical volume using lvm or any other utility.. For example, if my logical volume is /dev/vg1/lv1 then how to check its filesystem type ? I have made a ext4 ...
4
votes
2answers
368 views

Resize XFS home directory in LVM

I am desperately trying to increase the swap space available to my server from 4GB to 16GB, however at present XFS + something is making this impossible. I have a single SSD hosting the OS (CentOS ...
1
vote
0answers
350 views

Backup partition in LVM using Clonezilla

I installed a Debian Jessie machine on a 1.4TB disk (technically a hardware RAID but this shouldn't matter). At installation, I created an unencrypted LVM with 3 volumes, including a 30 GB volume I ...
0
votes
0answers
31 views

Issues creating logical volumes

I want to create a logical volume on my Debian install but the following problems occur: #lvcreate -L 2G vg1 >proc/misc: No entry for device-mapper found >Is device-mapper driver missing ...
1
vote
0answers
29 views

Moved /var/log to a new logical volume now data is missing

I have a RHEL server that has /var mounted inside an LVG on its on dedicated LV. Per RH Security Advisory CCE-26215-4 I needed to migrate /var/log to its own dedicated partition. So I shrunk /opt to ...
1
vote
1answer
155 views

LVM Mount Rescue Mode

I am having trouble mounting a LVM to extract a Proxmox virtual machines data. Any ideas on how I can mount it? root@rescue:~# mount /dev/sdd /mnt/ mount: block device /dev/sdd is write-protected, ...
1
vote
0answers
23 views

Restoring VG configuration from recovered drive

Had to reinstall CentOS on a server with three RAID 1 arrays. I installed the OS on sda (300g), and left sdb and sdc alone (they were not formatted or otherwise fiddled with). The OS is up but ...
2
votes
1answer
40 views

Secure deletion on BTRFS in LVM

I have a BTRFS filesystem in an LVM logical volume, which exists inside of a LUKS disk. For reference's sake, let's call the LV lvm-root, and the LUKS disk crypt-root, and the BTRFS filesystem ...
0
votes
2answers
355 views

What does resize2fs command do in Linux

What does resize2fs command do when we extend or reduce a Logical volume. Is the function same or different while using lvextend and lvreduce commands ?
0
votes
1answer
34 views

Losing disks with LVM

I have a question: We are setting up 5 new servers with 4 disks of 1 TB each. We are planning of using LVM Mirror so we have protection over our data. My question is, if I lose a disk, since we ...
1
vote
1answer
287 views

How to boot gentoo with systemd, UEFI, lvm2 rootfs with systemd EFI boot?

I've installed Arch Linux with that setup. And now, I want to have dual boot with gentoo. But, when booting gentoo, the root UUID (on LVM) not detected. My partition scheme is like this: (lsblk -f) ...
0
votes
1answer
26 views

Should a multi disk LVM not use all space?

I have two physical volumes in an single volume group. I extended the home volume to all remaining space with # lvextend -l +100%FREE <home volume> then re-sized the file-system to match # ...
2
votes
0answers
99 views

LVM partition not mounting

There was a drive failure on a disk in a RAID1 configuration. I removed the bad disk and reconfigured the RAID1 to only use the good disk. When I reboot the machine there are missing LVM partitions. ...
1
vote
1answer
181 views

LVM drives have same pvid

I am trying to remove a corrupt drive from a LVM volume group but when I try to pvmove data I get # pvmove -v /dev/sda1 Cluster mirror log daemon not included in build. Found same device ...
1
vote
1answer
26 views

Removing drive from LVM that has the /boot partition

I have two drives /dev/sda and /dev/sdb that are in a Volume Group with three volumes: /boot, /root, and /home, mounted respectfully. If I remove /dev/sda after doing # pvmove /dev/sda # vgreduce ...
7
votes
1answer
3k 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
35 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
643 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 ...
1
vote
0answers
75 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
17 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?
2
votes
1answer
2k 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
156 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
0answers
198 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
406 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
vote
1answer
181 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 ...
1
vote
1answer
203 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 ...
2
votes
1answer
259 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
159 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 ...
1
vote
1answer
86 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
135 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 ...
1
vote
0answers
68 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
3answers
112 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 ...
1
vote
1answer
80 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
251 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 ...
0
votes
1answer
872 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% ...
3
votes
1answer
273 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? ...
5
votes
1answer
102 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 ...
2
votes
1answer
566 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 ...
2
votes
0answers
97 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
2answers
2k 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 ...
4
votes
1answer
171 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 ...
0
votes
0answers
31 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
1answer
1k 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 ...
2
votes
1answer
1k 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 ...
1
vote
2answers
546 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?