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

learn more… | top users | synonyms

0
votes
0answers
16 views

Differences between LVM in RHEL 5 and LVM in RHEL 6

What are the Differences between LVM (Logical Volume Manager) in Red Hat Enterprise Linux 5 and LVM (Logical Volume Manager) in Red Hat Enterprise Linux 6
2
votes
1answer
683 views

LVM filesystem is full, cannot update system amongst other things

I am running a RHEL 7 server with a license from my university. I am running it on a bare metal server in a local place on my university. I originally installed RHEL 7 with LVM on my hard drive (there ...
0
votes
0answers
15 views

Error: “failed to connect to lvmetad” in Ubuntu 15.10 [duplicate]

My computer has a error that is preventing it from booting to the desktop. The error message is Warning failed to connect to lvmetad no such file or directory falling back to internal scanning ...
1
vote
2answers
58 views

Restoration of physical and logical volume group with data

My idea was to simulate such situation on VirtualBox as: some crash happened with my hard disk drive, but I had had LVM and it was not a big deal to restore data using it. My steps were: step1: ...
1
vote
1answer
74 views

When using dm-cache, how do you do snapshots on a cached LV?

In dm-cache, how do you do snapshots on a cached LV? I attempted the usual way on a CentOS 6.7 installation and got the following results:- # lvs LV VG Attr LSize Pool ...
2
votes
1answer
622 views

Convert Physical partition to LVM

I have a local web server running locally in the office. It has two hard drives: 120 GB SSD - on which / is mounted, So the web server /var/html is on the SSD 1TB HDD - mounted in /media on which ...
0
votes
2answers
118 views

pvcreate command and setting of extents

I am trying to find the way to create a physical volume with specific range of extents. Vgcreate command has -s option for this(but this command is for groups). I read the man for pvcreate and did not ...
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
71 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
37 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
132 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
33 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
943 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
405 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
406 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
32 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
31 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
188 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
46 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
453 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
35 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
313 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
28 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
106 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
203 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 ...
9
votes
1answer
4k 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
713 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
80 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
162 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
211 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
432 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
200 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
222 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
279 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
175 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
94 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
140 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
70 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
117 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
84 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
257 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
949 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
310 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
109 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
648 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 ...