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

learn more… | top users | synonyms

2
votes
0answers
37 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 ...
0
votes
3answers
102 views
+100

Mount encrypted volume in Debian

I was given a HDD that was encrypted using dm-crypt and I'd like to mount it as /disk2 preferably having the decryption password stored in a file, so I won't have to enter the passphrase when booting, ...
2
votes
1answer
60 views

RAID1 that can be enlarged when adding a new disk: convert to lvm --type raid1? [closed]

For the last ten years, I have been making inexpensive servers for small businesses. Each server has two identical drives mirrored with raid1. Later, SATA became available, then eSATA. In the ...
5
votes
2answers
206 views

Where does LVM store its configuration?

I am trying to understand how / where LVM stores its configuration data. Does pvcreate /dev/sdb write any metadata to /dev/sdb? if so what is written? Where does vgcreate data /dev/sdb /dev/sdc ...
0
votes
1answer
56 views

Mounting a Partition & recovery

To keep the story short, i am taking the easy way out and now trying to mount a partition to recover a few text documents. I tried to 'sudo mount -t ext4 /dev/sda4 /mnt' but received this error sudo ...
0
votes
0answers
17 views

e2fsck block bitmaps

What exactly are block bitmaps? Why would I get the following error: The filesystem size (according to the superblock) is 1219824640 blocks The physical size of the device is 731447296 blocks Either ...
1
vote
0answers
43 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 ...
0
votes
1answer
30 views

Hot swapping a mirrored disk on a HP UX

I'm trying to do a hot swap on a mirrored lvm. $ vgdisplay -v /dev/vg00 --- Physical volumes --- PV Name /dev/dsk/c2t0d0s2 PV Status unavailable Total PE ...
5
votes
0answers
63 views

Can Grub2 multi-boot LUKS/LVM distros with only one boot partition?

There are many tutorials on the internet for multi-booting unencrypted distros using a single boot partition and chainloading. For example, booting 145 OSes. Likewise, there are tutorials for ...
1
vote
0answers
19 views

LVM issues and questions

I've got a NAS configured with LVM where one of the volumes is giving errors like this: vgscan reading all physical volumes. This may take a while... /dev/ElkhornC7VG1/idisk5: read failed ...
0
votes
1answer
46 views

'No such file or directory' when I am trying to format Logical Volume

I am trying to create Logical Volume on CentOS 7 on EC2 instance. After attaching the volume I am creating partition using fdisk, then I am starting the Logical Volume creation: pvcreate /dev/xvda1 ...
4
votes
1answer
158 views

“Found duplicate PV”

SERVER:~ # pvs Found duplicate PV Wb0b2UTCKtpUtSki0k2NnIB24qNj4CEP: using /dev/mapper/36005076304ffc2500000000000004903 not /dev/mapper/36005076304ffc2990000000000004903 PV ...
1
vote
0answers
139 views

Arch Linux boot failure: Fsck check on LVM /var mount fails

I recently installed Arch Linux on an older laptop that I am using as a personal workstation and machine to better learn how to administer Linux. I have a persistent boot failure that has started ...
1
vote
1answer
56 views

Duplicate UUID's for Physical Volumes But PV's aren't in a Volume Group

I have some dead/stale/non existent logical volumes without group pvs said File descriptor 3 (pipe:[306492]) leaked on pvs invocation. Parent PID 30844: -su Found duplicate PV ...
1
vote
1answer
66 views

How can I recreate removed LVM Logical Volumes?

I accidentally removed all my Logical Volumes with lvremove. After reboot the lvm backups were lost (live CD) so I can’t use vgcfgrestore. testdisk can find the partitions by analysis so they are ...
2
votes
0answers
131 views

Dual Boot Debian on Raid 0 in UEFI mode

My new notebook came from the factory with Windows 8 on two 128GB SSDs in RAID 0 mode. I wanted to dual boot it with a Linux distro, I settled on Debian, so I resized my C: drive as one normally would ...
2
votes
1answer
50 views

How to stop caching a LVM partition?

I currently have LVM-cache set up on my Ubuntu install as described in https://rwmj.wordpress.com/2014/05/22/using-lvms-new-cache-feature/. (I did have to install some of the vivid/proposed packages ...
1
vote
1answer
32 views

Experimenting with Xen on already running Debian without LVM

A co-worker of mine was telling me about using Xen for virtualizing systems on Debian, and it peaked my interest. I looked up the instructions on Debian's Wiki regarding installation. I already have ...
0
votes
1answer
55 views

/sbin/cryptsetup not found on boot

I've created an encrypted root partition using LUKS which contains a few LVM partitions. I can't boot and get the following output on startup: Begin mounting root file system ... Begin: Running ...
3
votes
0answers
138 views

LVM Encrypted Partition without Partition Table

I have the following Problem. My Laptop is fully encrypted with LVM I know the Passphrase, but the partition table is broken. I booted from an USB Stick in this Case sdb1. Is there any hope to get ...
3
votes
1answer
92 views

stdout redirect. sh: resource temporarily unavailable

I have large batches of bash processes. Each bash script invokes executeables which have their stdout redirected to distinct log files. About 5% of the runs end up with: sh: [name of log]: Resource ...
5
votes
2answers
287 views

Slow access to btrfs on LVM/

We have this setup on our server: Ubuntu 14.04 (used to be 12.04) 10TB RAID-6 system LVM (one VG, two LV) ext4 partition ( ~2TB) Btrfs partition ( ~8TB) After a reboot last month the system was ...
0
votes
1answer
29 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
227 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
650 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
1answer
30 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
83 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, ...
2
votes
1answer
46 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
50 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
35 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
124 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
0answers
90 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
130 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
95 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
12 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 ...
2
votes
0answers
175 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
230 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
37 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
73 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
492 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
27 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 ...
1
vote
1answer
283 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
30 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
55 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
116 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
86 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
42 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
317 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
45 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
68 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 ...