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

learn more… | top users | synonyms

2
votes
4answers
33 views

space-efficient disk snapshots on Linux

I like the ability of VirtualBox to instantly create and restore snapshots and I was wondering, if it's possible to do similar things on the host machine. First I looked at lvm snapshots, but some ...
0
votes
0answers
23 views

Jessie: can't boot the kernel 3.16.0-4-amd64

I have been using Jessie for a few months now, and I had a problem booting my computer a few weeks ago. I had this error on boot: early console in decompress_kernel Decompressing Linux... Parsing ...
0
votes
2answers
38 views

“No volume groups found” after running vgdisplay

I am trying to expand my primary partition to use the extra disk space I have added in my VMWare virtual machine. I have been able to add the disk space, partition the extra space into an LVM ...
2
votes
1answer
67 views
+50

How to add a dm-cache to an already existing luks setup?

I've got two physical devices, a fast SSD and a large HDD. The SSD is in VG ssd and ends up serving as mountpoint /, the HDD is in VG dump and serves as mountpoint /home. Both go through LUKS for ...
1
vote
1answer
37 views

How to create an /opt partition on an existing installation without loosing data?

I've shrinked my /home from 2.7TB to 100G, I've extended /root, /usr, /tmp and /var but I have been looking for a way to create an /opt partition for 3 hours now, and can't find it. The setup is 3TB ...
1
vote
0answers
37 views

fsck single disk from Raid 0 lvm

My NAS (Seagate Blackarmor) is refusing to connect to the network after a fsck. I assume the root filesystem (stored on flash) might have been corrupted somehow after running fsck. The setup was a ...
2
votes
1answer
16 views

merge 2 LVMs both have data and on same Volume Group without data loss

I have 2 lvm partitons on the same volume group and im wondering if i can merge them to one lvm without data loss the way i know that i have to create a new physical volume and extend the volume ...
1
vote
0answers
15 views

What are the overheads of using multiple smaller raid devices versus partitioned raid devices as physical volumes?

LVM only allows volume groups to be expanded by adding physical volumes. So if I have multiple volume groups which may need extra space, but it can't be predicted which will expand fastest, it's best ...
0
votes
0answers
47 views

Manjaro boots to grub screen after install

I've installed Manjaro and when I boot into my installation I get greeted by the grub command line. When using the CLI installer (testing, to use LVM support) everything went fine until I tried to ...
1
vote
0answers
27 views

How to mount sdb directly or using LVM partitions on sda?

I am new to LVM and VM yet, and I need to be able to access sdb like /mybackup/ 1 - should I have sdb1 created then mount? 2 - should I mount sdb as whole disk without LVM? 3 - create lvm and than ...
3
votes
1answer
105 views

Move logical volume to a new physical disk

I have three logical volumes in a single volume group using a single physical volume (the whole existing disk /dev/sda). I now want to move one of those logical volumes to a new, faster disk, i.e., ...
1
vote
0answers
50 views

Can BTRFS stripe RAID arrays?

I've been using an Ext3/4+lvm2+mdadm file system setup for about 5 years on a file server. This has grown (and moved processors a couple of times) and I've moved disks between systems ...
1
vote
2answers
34 views

How can I remove a disk from a group with striped volumes?

I have an HP-UX B.11.11 system with two disks. I would like to remove one, but as far as I can divine, it seems that the volumes are striped across the pair and I can't figure out how to ...
2
votes
0answers
78 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
148 views

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
63 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
230 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
81 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
31 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
100 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
44 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 ...
6
votes
1answer
111 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
29 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
86 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 ...
5
votes
1answer
363 views

“Found duplicate PV”

SERVER:~ # pvs Found duplicate PV Wb0b2UTCKtpUtSki0k2NnIB24qNj4CEP: using /dev/mapper/36005076304ffc2500000000000004903 not /dev/mapper/36005076304ffc2990000000000004903 PV ...
1
vote
0answers
208 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
89 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
88 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
187 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
122 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
44 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
108 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
186 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
103 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
421 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
31 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
456 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
913 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
32 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
108 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
52 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
58 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
42 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
154 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
111 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
165 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
101 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
13 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
222 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
342 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 ...