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

learn more… | top users | synonyms

0
votes
2answers
19 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
13 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
7 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
22 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
60 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
20 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
79 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
83 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
82 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
77 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
22 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
154 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
17 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
55 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
58 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
19 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
59 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
27 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
35 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
41 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
40 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
10 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
27 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
113 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
15 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
22 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
176 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 ...
-3
votes
1answer
28 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
38 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
29 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
103 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
269 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
48 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
42 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 ...
0
votes
0answers
51 views

how can I backup and restore of partitions and logical volumes?

This is my disk scheme sda1 /boot ext4 sda2 /somefiles ext4 sda3: lvm volgroup1/lvolume1 / ...
2
votes
1answer
260 views

No logical volume groups found, LVM stuck at boot

I'm running Ubuntu 14.04 (64bit). Long story short, I've compiled a custom kernel and now I'm running into some issues with my encrypted hard drive. When I boot my machine and attempt to start the ...
1
vote
1answer
88 views

Swap partition in LVM?

I was wondering if putting the swap partition into a logical volume group has any drawbacks (e.g. performance), or would it be "just the same" as having it as a separate primary/logical partition? I ...
1
vote
1answer
54 views

Built new kernel, LVM won't mount from initrd

I need to upgrade my kernel on a RHEL 5 system to build with some experimental drivers. I have configured the kernel with module loading for LVM (dm_* modules). Once the initrd runs the /init ...
2
votes
0answers
12 views

How to increase an FS using a LiveCD - that has SW RAID+LVM

If we have an older OS and can only increase the FS if we umount the FS because it is the ex.: /usr - then we have to use a LiveCD. The /usr is in the rootvg (LVM) that is on a SW raid Q: What are ...
2
votes
1answer
187 views

How do I resolve an error when booting, “Couldn't find device with UUID…”

I have a RHEL 6 system, running on a VMWare machine. The admin of the VM server added a second RAID volume to the server, which my RHEL system does not use. Now, when I boot the RHEL system, I get a ...
0
votes
0answers
178 views

Understanding iostat with Linux software RAID

I'm trying to understand what I see in iostat, specifically the differences between the output for md and sd devices. I have a couple of quite large Centos Linux servers, each with E3-1230 CPU, 16 GB ...
1
vote
1answer
711 views

LVM not coming up after reboot, couldn't find device with uuid

Had a VM that was, up until recently working without issue, but needed to be rebooted after some configuration changes. However after rebooting the VM didn't come back up, saying it couldn't find the ...
3
votes
1answer
77 views

LVM - failed to install bootloader

I have Mint 16 installed on an LVM system. I originally had 3 logical volumes: lvswap, lvrootone, and lvstorage, with Mint 16 installed on lvrootone. I was hoping to use this scheme to upgrade and try ...
4
votes
0answers
136 views

Why does hdparm see two different values for the size of a drive?

I have a 1 TB drive attached via USB. It contains an LVM physical volume filling the entire device (without any partition table). When I tried to extend a logical volume by using the entire PV, the ...
2
votes
2answers
394 views

How does grub2 load the kernel from an LVM volume?

Grub2 is able to load the kernel even if /boot is placed on an LVM volume. To use this feature one needs to add insmod lvm (the module can be on the grub bios partition that is not on an LVM volume) ...
1
vote
0answers
43 views

Converting RAID partitions to LVM

I have a 3TB HDD. of type RAID 5. I want to convert it to LVM. How can I do this without data loss and without needing for installing the OS again? $ df -h Filesystem Size Used Avail Use% ...
3
votes
1answer
135 views

Removal of HDD causes kernel panic

I recently added a 2nd HDD to a system and then proceeded to do a clean install on to this 2nd HDD of CentOS 6.5. The original system was CentOS 5.9. My plan was to leave the original HDD in place so ...
1
vote
1answer
192 views

How to reduce LVM size and increase one exsiting partition space

I want to increase 7 GB space in one of my existing partitions (/dev/xvde1), and reduce an LVM partition 7 GB (/dev/mapper/vg--home-lv--home). My total disk size is 40 GB. Detail of partitions is as ...
2
votes
1answer
240 views

How to add existing normal partition into LVM in Linux?

I'm having a partition in Linux with some data, I want to add this partition into LVM, which is already running in the same system. What will be the step to do so?