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

learn more… | top users | synonyms

0
votes
0answers
3 views

Logical Volumes fails to mount with dmsetup and no table present

I am stuck with all the volumes on a volume group unable to mount, after a yum update on a CentOS 5.11. device-mapper upgraded from 1.02.24-1 to 1.02.67-2 The machine boots correctly from ...
2
votes
0answers
18 views

LVM - Recovering from partition table corruption

I accidentally deleted a partition on a physical disk that was involved in an LVM system. I tried using testdisk's analyse feature to find the LVM partition, but it couldn't locate it. Should I invest ...
1
vote
2answers
20 views

VGEXTEND: How to avoid wiping a swap signature in /dev/sda3?

The problem: [root@195623 ~]# vgs VG #PV #LV #SN Attr VSize VFree fedora_195623 1 3 0 wz--n- 9,50g 0 [root@195623 ~]# vgextend fedora_195623 /dev/sda3 WARNING: swap ...
0
votes
1answer
23 views

Centos missing ext3.ko

Earlier I encountered this error. lv_root: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY Which may be caused by the constant power failure here in our office. I fixed it by inserting a centos 6.4 disc ...
1
vote
1answer
15 views

Fault-tolerant iSCSI root fs for Linux

I am in the process of moving some Linux servers onto a virtualized environment with their filesystems mounted from LVM volumes, which are in turn hosted on a remote NAS via iSCSI. I am able to start ...
2
votes
0answers
24 views

Thin LVM pool frozen due to lack of free space, what to do?

My thin LVM pool got full and some programs hung: device-mapper: thin: 253:4: reached low water mark, sending event. device-mapper: thin: 253:4: no free space available. INFO: task jbd2/dm-6-8:742 ...
1
vote
0answers
34 views

LVM unknown device: how to recover?

I have a server with two hard drives that I thought I had correctly installed with LVM, until I discovered that the second hard-drive did not actually seem to be used. I investigated the problem and ...
1
vote
1answer
81 views

Is fdisk needed with lvm?

Most documentations about LVM have roughly these steps: fdisk /dev/sdb pvcreate /dev/sdb1 vgcreate fileserver /dev/sdb1 lvcreate --name share --size 40G fileserver mkfs.ext4 /dev/fileserver/share ...
2
votes
1answer
18 views

Can one physical disk provide space for several volume groups?

Can one physical disk provide space for several volume groups? Or one disk can have only one volume group in the Linux LVM? Can we use one disk in several VG's?
1
vote
1answer
24 views

What is the proper way to activate VGs/LVs automatically on boot?

I have used Buildroot to create a system that runs in RAM on my ARMv5 Kirkwood SoC -based NAS-box. I use BusyBox as my init system, and /dev management is done using devtmpfs only. I've selected LVM2 ...
0
votes
0answers
24 views

Cannot mount LVM partition after restoring LVM metadata

I have resized two LVM partition (/var and /home) and somehow resize process went wrong. After reboot system wasn't able to mount /var and /home. I have used RIPLinux to check if I can mount those ...
1
vote
0answers
38 views

clvm (cman) has problems with dlm

I am trying to create a volume group which is accessible on two servers with clvm. I read about it and it looks like it is most easily to do this with cman. But after hours of testing I cannot achieve ...
2
votes
5answers
47 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
98 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
62 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
2answers
135 views

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
45 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
44 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
17 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
19 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
99 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
44 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
116 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., ...
2
votes
1answer
76 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
49 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 ...
3
votes
0answers
104 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
168 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
69 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
249 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
86 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
42 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
153 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
56 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 ...
7
votes
1answer
154 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
41 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
135 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
660 views

“Found duplicate PV”

SERVER:~ # pvs Found duplicate PV Wb0b2UTCKtpUtSki0k2NnIB24qNj4CEP: using /dev/mapper/36005076304ffc2500000000000004903 not /dev/mapper/36005076304ffc2990000000000004903 PV ...
1
vote
0answers
237 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
131 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
102 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
205 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
237 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
62 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
191 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
230 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
116 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 ...
6
votes
2answers
518 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
647 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
1k 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). ...