Tagged Questions

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

learn more… | top users | synonyms

1
vote
1answer
40 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
24 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
2 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
17 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
33 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
17 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
33 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
0answers
34 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
75 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
12 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
28 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
50 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
28 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
29 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
74 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
18 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
30 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
0answers
42 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
64 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
27 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
21 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
162 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
180 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
118 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
135 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
34 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 ...
2
votes
3answers
230 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
22 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
71 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
82 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
28 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
88 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
28 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
44 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
84 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
65 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
11 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
38 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
170 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 ...
0
votes
0answers
19 views

LVM2 Mirror Support Missing from Kernel after System Migration

I had a system that was running on a small netbook that had LVM2 set up to group two external USB hard drives into a volume group, and to use that volume group to create a mirrored logical volume. ...
1
vote
1answer
29 views

LVM + LUKS partition - Is this architecture dependent or independent?

I've been recently dealing with an LVM + LUKS partition trying to install a new linux (ubuntu in this case). I tried a few different options to make it work, but the pc resisted, the only system I ...
3
votes
0answers
378 views

RAIDing with LVM vs MDRAID - pros and cons?

In his answer to the question "mixed raid types", HBruijn suggests using LVM to implement RAID vs the more standard MDRAID. After a little investigation, it seems LVM also supports RAID ...
-2
votes
1answer
35 views

How many volume groups can be created in physical volume?

I want to know the details regarding LVM: please provide some link regarding Linux to study and understand it.
0
votes
0answers
55 views

LVM: possible to recover full snapshot?

Accidentally, I have let a LV snapshot created by libvirt/virt-manager run to full. Is there any way I can at least recover (some) data written to the snapshot? Many thanks! lvs ...
1
vote
1answer
40 views

Removing /home LVM and merging in to /

[root@host.com ~]# pvdisplay -s Device "/dev/sda2" has a capacity of 0 [root@host.com ~]# vgdisplay -s ...
1
vote
1answer
157 views

Fix LVM physical volume definition after removing /dev/sdb

Recently I set up LVM partition with an new disc /dev/sdc. I created the LVM with the following commands: pvcreate /dev/sdc vgcreate data /dev/sdc mkfs.ext4 /dev/data/srv tune2fs -m 0 ...
1
vote
0answers
343 views

How to restore /sysroot on Fedora 20

I can't boot my Fedora 20 system as usual. Upon boot I get the message Entering emergency mode. Exit the shell to continue. journalctl reveals the following: systemd[1]: Starting Switch Root... ...
5
votes
1answer
57 views

LVM: is this mirrored? is copy this slow?

Background: My Windows Home Server bit the dust - some kind of OS Hang. The drives and hardware were still good; after making sure I had all my data backed up, I decided to investigate Ubuntu and ...
0
votes
0answers
53 views

Error when trying to mount Xen LVM2 volumes

I have a hard drive which used to be part of a server running Citrix XenServer 5.6.100 SP2 with a Software RAID1 (I only have one of both hard drives). This hard drive is now physically attached to a ...