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

learn more… | top users | synonyms

0
votes
1answer
19 views

Panic fault when mounting LVM2 volume

I have a CentOS 7 system that I can boot using a live cd. The system HDD's have an lvm2 partition with 2 volumes /root and /home. I can mount /root volume without any problems in the live ...
3
votes
1answer
24 views

Resize a btrfs partition inside a logical LVM volume

Following derobert's trick to resize the underlying filesystem when resizing a LVM volume: lvm> lvextend -r -l +100%FREE /dev/VolGroup00/lvolhome fsck from util-linux 2.25.2 /sbin/fsck.btrfs: ...
0
votes
2answers
71 views

mount: warning: /etc/mtab is not writable (e.g. read-only filesystem)

Working on my system I noted that the root filesystem is mounted read-only. My system worked for months, today I get this error: mount: warning: /etc/mtab is not writable (e.g. read-only filesystem). ...
0
votes
0answers
13 views

Install Lubuntu as 2nd OS on encrypted computer?

I have debian installed on my computer which is installed in a full encrypted disk. Having tried lubuntu in virtual box form and liking it, I want to try lubuntu out on the actual computer instead of ...
3
votes
0answers
50 views

Parititioning for a UEFI boot loader, can LVM be used?

I just bought a gently used laptop and I am trying to figure out why this is. It has a single SSD that when running fdisk -l shows as Disk: /dev/sda. Under it though are 5 "devices" under that disk, ...
1
vote
0answers
26 views

What is the UUID format used by LVM?

Linux LVM assigns UUID values to physical and logical volumes but they aren't valid RFC4122 UUID strings. Here is an example: 2185fe86-41d4-4311-9a47-8f0ebc7ecc5a RFC4122 ...
0
votes
0answers
25 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
21 views

Lvm showing in suspended mode

LVM is in a suspended mode, how can I activate it? I tried: $ sudo vgchange -ay vgname $ sudo Vgexport $ sudo Vgimport But it isn't working.
4
votes
3answers
62 views

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

I have a Debian Wheezy system withads 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 ...
1
vote
0answers
24 views

Mounting synology disks in ubuntu

I have some files on synology disk that I would like to recover with extundelete. I have mounted the raid1 setup. So on the disk is two raid storages (md2 and md3) and they are connected to one with ...
1
vote
1answer
77 views

Physical volumes, logical volumes, superblocks gone… how to boot?

A story fairly similar to this one happened to me yesterday. Update: My only hard drive /dev/sda was originally partitioned this way: Device Boot Start End Blocks Id System ...
1
vote
0answers
69 views

External drive EFI bootloader with Debian 7.7 Wheezy

I'm currently trying to install Debian 7.7 on a removable drive with an encrypted LVM from DVD-1 with a self contained EFI bootloader like the one the DVD uses - that is, the computer's HDD should be ...
0
votes
0answers
6 views

system-config-lvm - Move/Migration Status

Using the tool system-config-lvm, is it possible to see the status of the migration of data? Currently, when moving data, the gui stops responding and turns grey. I am only notified of completion ...
1
vote
0answers
73 views

Unable to boot with dracut and luks: '/dev/resume' : file exists

I am installing gentoo and have performed my first reboot after configuration and installation within my chroot environment. I am using LUKS and LVM to manage encryption of my drives. I am encrypting ...
0
votes
1answer
78 views

LVM volume corrupted, can't be mounted after reboot

I created a LVM volume using this guide I have 2x2TB HDDs for a total of 4TB (or 3.64TB usable). I created the volume and rebooted. Everything was working fine. Then I copied 1.6TB of data on the ...
0
votes
1answer
22 views

Grub and Logical Volume Management

I've not been able to find any relevant information in the Arch Wiki about using LVM with Grub as the bootloader (BIOS). Let's say I've created the volume group 'volgroup00' using partitions spanning ...
1
vote
1answer
46 views

broken fs after removing disk from LVM group

I messed up a bit and I am trying to find the best way to recover. A few days ago, 1 of the physical disk of my lvm setup started to show sign of failure (I/O errors) so I decided to move it to ...
3
votes
1answer
95 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 ...
0
votes
2answers
23 views

Can LVM split files between volumes?

Let's say I have 2 volumes 2 GB each (kept as single group). And I would copy there 3GB file. Will it be split? I just hope the answer is "no", and the files are atomic. The reason is -- with ...
0
votes
0answers
148 views

How to make grub mount encrypted LVM partition

I have such boot sequence: system boots from external disk, right after start it asks about password for LVM encrypted partition (which holds /root and /home), I enter it, the partitions are mounted, ...
0
votes
0answers
18 views

Where is the LVM area which is not usable by LVM?

pvdisplay reports some portion of the LVM physical volume as not usable. And I need to know where this is located. To my knowledge there are ... a) space which could not be filled with an ...
1
vote
1answer
36 views

LVM Snapshot mount read-only or not?

In this page of Linux LVM Howto it's said that "LVM2 creates read/write snapshots by default". In this other page of Red Hat docs it's said that "Because the snapshot is read/write, you can test ...
2
votes
0answers
74 views

USB ethernet device not working in VM

I'm having trouble getting a USB ethernet device working in a qemu-kvm/libvirt VM. The problem is that even though the guest OS sees the USB device just fine it can't mount it. lsusb on the guest ...
4
votes
1answer
41 views

Cannot mount LVMm: resume ioctl on failed

I wanted to resize my LVM, followed some tutorial on the net and the system totally crashed (I got some boot error with UUID not found). I ran a LiveCD and tried to at least recover some files but I ...
0
votes
2answers
33 views

LVM move logical volumes across physical volumes without data loss

I wonder how can I move my logical volumes from current physical volume to another without data loss. I have read mans but I haven't found this information there. I would be grateful for any help. ...
0
votes
2answers
126 views

Resize root LVM and FS in Debian 7

I have a Debian server and I would like to increase the "root" partition from 5GB to 17GB and to diminish the "home" partition from 14GB to 2GB. I am a newbie in linux sysadmin, so a really need your ...
0
votes
0answers
29 views

RHEL 6.5 erroneously marking Fusion-io RAID1 card as failed

I am getting the following error every hour for a Fusion-io ioscale2 RAID1 (mirror) configuration. However, the logical volume is mounted and accessible. I do not see similar error in the ...
1
vote
0answers
48 views

Does the debian setup with lvm also encrypt the swap partition?

I'm planning a fresh debian install on my notebook and want to have full disk encryption. But I mainly hibernate, which is why I want my swap to be encrypted as well. During the graphical expert ...
0
votes
1answer
64 views

boot fails with “cryptsetup: lvm fs found but no lvm configured” [dual boot(2xlinux LVM, dm-crypt+luks)]

I have a dual-boot(xubuntu/#!) setup LVM with dm-crypt+luks as follows /dev/sda1 = /boot (xubuntu) /dev/sda2 = /boot (#!) /dev/sda3 = encrypted LVM /dev/mapper/volgroup-xroot = / (xubuntu) ...
3
votes
0answers
72 views

Replicate a complex partition structure with LUKS and LVM volumes

I have two external hard discs on an OpenSUSE 13.1 system. On one I have created a partition structure: An encrypted LVM partition (LUKS) Several volumes (10) on this LVM partition, some formatted ...
0
votes
1answer
31 views

Creating a specific sized LVM logical volume at the end of a physical volume

I have a physical volume that is 49.8GB and I want to have a 2GB logical volume which is at the end of the physical volume and the rest of the physical volume being another logical volume. I read ...
0
votes
2answers
23 views

Whose responsibility is to divide data into PEs or chunks?

When we create LVMs or the RAID partitions, the data we save in the parition is divided into PEs or the chunks respectively instead of the conventional blocks of ext3 or ext4. My doubt is whose ...
4
votes
4answers
323 views

How to identify LVM-over-LUKS or LUKS-over-LVM

I recently installed Fedora 20. I don't recall what exact options I chose for encrypting the disk/LVM during installation. It installed fine and I can log in etc. Here is the situation I have: I ...
0
votes
2answers
304 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
3answers
160 views

How to combine multiple HDDs into one big HDD in Linux?

I'm very new to Linux, being mainly a Windows 7 user, so I may not understand Linux-specific commands without explanation. I've decided to build a NAS running some form of Linux (probably FreeBSD or ...
1
vote
1answer
227 views

resize root volume with lvextend insufficent space error

My root partition is running out of space, so I'm trying to extend/resize it. Filesystem Size Used Avail Use% Mounted on /dev/mapper/u64-root 19G 18G 823M 96% / none ...
0
votes
0answers
42 views

Empty VG, but full?

I'm trying to use KVM with my dedicated server hosted on OVH, but that would require me to have a LVG (logical volume group). I have created the LVG named vg through OVH's control panel and loaded the ...
3
votes
3answers
355 views

Difference between fsfreeze and lvm snapshot

I heard recently about fsfreeze and I'm very interested in making snapshots of my VM with VMware and get a consistent state of disk using quiescence. All my file-systems are LVM volumes, and man ...
0
votes
0answers
24 views

lvm not coming up after multiple reboots, couldn't find a device with UUID

I am really confused. I have rebooted my RHEL system after more than 6 months uptime only to find it is giving me this error: Couldn't find device with uuid WetODA-57Jc-c4XM-WRwS-I2Db-4AYV-uDRfA0 ...
2
votes
0answers
85 views

How to recover a physical volume in LVM that shows as an unknown device?

I've been wanting to learn more about LVM, so I finally have taken the time to dive into it. Being the very smart computer guy that I am, I had the great wisdom to experiment with LVM on one of my ...
3
votes
1answer
101 views

Luks Partition Mounting After Removing From fstab

I have 3 encrypted partitions, one for /, one for /home, and one for swap. It seemed silly to me to type in my password 3 times, so I replaced the swap partition with a swap file on the encrypted ...
1
vote
1answer
36 views

How to delete a virsh pool without volumegroup?

My virsh version 0.9.12.3 I created a Volume Group Pool via virsh. virsh pool-define-as vg1 logical --source-name vg --target /dev/vg Bad thing is, that /dev/vg does not existent, I made a typo. ...
0
votes
1answer
115 views

can you recover lvm metadata without access to /etc/lvm/?

I just installed Manjaro on to a externalized usb hard drive. After I was done, I tried to boot from my previously working Mint distro (no full-disk luks) on my internal hard drive. The lvm volume ...
2
votes
0answers
31 views

recover lvm after loosing partition table

On one of my hard drives had a few physical volumes/partitions and lvm on them. And then I lost partition table. I still have files from /etc/lvm/* how can I recover my data?
1
vote
2answers
48 views

How to reduce and remove Physical Volume from active Logical Volume?

For testing purposes I've tried to extend my logical volume by attaching one more Physical Volume (USB drive). Making the USB drive part from the logical volume with the following steps: Created ...
0
votes
0answers
122 views

lvmetad hangs on startup

I got a machine running archlinux that have a problem on boot. It hangs for 90s waiting for pvscan on block devices, and then give up. (actually, the pvscan process are still stuck ,and any lvm ...
2
votes
1answer
101 views

Would this LUKS LVM rsync restore method work?

I have an Ubuntu installation using LVM and LUKS encryption. LVM and encryption were chosen during the install process). While logged into it, I backup the full live system using rsync to another ...
1
vote
0answers
15 views

Is there a distribution with an installer that can automatically do LVM over LUKS with everything aligned as needed?

http://www.void.gr/kargig/blog/2012/01/11/linux-ssd-partition-alignment-tips/ talks about aligning SSD partitions and LVM physical volumes. ...
0
votes
0answers
45 views

Cannot create lvm snapshot

I've found a proble creating a snapshot, as follows: [root@centos7 ~]# vgs centos VG #PV #LV #SN Attr VSize VFree centos 3 2 0 wz--n- 9,50g 1,99g [root@centos7 ~]# LANG=C lvcreate ...
0
votes
0answers
283 views

Good Bye lvreduce, hello lvresize?

I've found a couple of times that using lvreduce, (first unmounting, shrinking ext4 with resize2fs, and fsck'ing) ends in: mount: wrong fs type, bad option, bad superblock on ...