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

learn more… | top users | synonyms

0
votes
1answer
9 views

Lvreduce online on RHEL 6 or centos 6 with ext4 file systems

Is it possible to reduce a mounting lv safely at RHEL6/CentOS6 with ext4 file system? If it is, how can I do that?
1
vote
0answers
22 views

Recoving LVM logical volumes after having to recreate the physical volumes

After reinstalling my system to a new SSD, my existing LVM was toast, it couldn’t find any physical volumes or volume groups. I also don’t have backups of my LVM configuration. Also to further ...
1
vote
0answers
12 views

Lost lvm volume [on hold]

I was upgrading my server and put a new hard drive in but tried to mount the old drive onto the new server. The volumegroup was the same so I renamed it from VolGroup to VolGroup00 now I can not see ...
1
vote
2answers
33 views

Why it is not recommended to put boot partition on lvm?

I read somewhere that it is not recommended to put boot partition on lvm based partition. But, I'm doing it anyway. Then the only problem I've faced on this is sometimes when I install a new Linux ...
2
votes
1answer
52 views

Error “/run/lvm/lvmetad.socket: connect failed: No such file or directory” - but not Grub related

All LVM commands give me the error /run/lvm/lvmetad.socket: connect failed: No such file or directory. I Googled this error and found only postings related to Grub and Grub-install. wish to get rid ...
5
votes
2answers
32 views

Define physical volume inside non-partitioned disk

I've been able to define a physical volume (LVM) in two ways: Creating a 8e (Linux LVM type) partition and then # pvcreate /dev/sdb1 Usign pvcreate directly using a non-partitioned disk and then # ...
0
votes
0answers
28 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 ...
3
votes
0answers
26 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
25 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
26 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
23 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
1answer
30 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
44 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
92 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
28 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
26 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
44 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
50 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
202 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
73 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
145 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
51 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
52 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
18 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
113 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
55 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
124 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
82 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
55 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
113 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
187 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
70 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
257 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
93 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
46 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
166 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
63 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
185 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
45 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
170 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
764 views

“Found duplicate PV”

SERVER:~ # pvs Found duplicate PV Wb0b2UTCKtpUtSki0k2NnIB24qNj4CEP: using /dev/mapper/36005076304ffc2500000000000004903 not /dev/mapper/36005076304ffc2990000000000004903 PV ...
1
vote
0answers
243 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
139 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
109 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
209 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
285 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
65 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
237 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 ...