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

learn more… | top users | synonyms

0
votes
1answer
217 views

Can't initialize physical volume of volume group without -ff

Can't initialize physical volume "/dev/sda3" of volume group "stark" without -ff I created physical volume with pvcreate followed by vgcreate and lvcreate successfully. Later on, I deleted in ...
0
votes
0answers
38 views

LVM and specify the disk for mirrorlog

When converting a LVM from linear to mirror lvconvert --mirrorlog disk vgdata1/data1 -m1 /dev/vd[de] we want to specify that the mirrorlog should be on a separate disk, such as /dev/vdf Is it ...
0
votes
0answers
11 views

Can I reinstall Linux and keep LVM data on another drive? [duplicate]

I have an SSD with CentOS installed I also have 2 HDD's with several LVM partitions configured for data. Can I completely reinstall Linux and mount the HDDs without losing data? I wasn't sure where ...
1
vote
1answer
151 views

md raid not mounted by dracut

Background I'm running Centos 7. Originally, it was running on a single disk that looked something like this: 1 200M EFI System (/boot/efi) 2 500M Microsoft basic (/boot) 3 465.1G ...
-1
votes
1answer
55 views

After running “mkinitcpio -p linux” i got “Hook 'lvm' cannot be found”

Trying to install Arch with LVM basing on this guide: http://sharpeend.impcode.com/2014/04/installing-arch-linux-with-lvm.html Partitions: sda -system-boot -systrm-root -system-home
1
vote
1answer
41 views

One LVM volume across multiple mdadm arrays

I'm about to set up a new nas and basically want to know if it's a bad or a good idea to have one lvm volume on multiple mirrored mdadm arrays, kind of like raid 10. I thought this would make it ...
0
votes
1answer
93 views

Will LVM partitioning affect my SSD life or performance?

I've installed new system (Linux Mint 17.3, laptop) using LVM partitioning because I currently don't need a swap (there is enough RAM - 12GB) and I want to use my SSD (Samsung 850 evo 250GB) more ...
0
votes
1answer
51 views

Will vgremove(inturn removed lvm's) wipeout data stored in raw lvm partition

We created 6 logical volumes in a volume group. Configuration looks like: two disk each 250g 1st disk we use 21gb for other.(Not lvm partitioned) Remaining 229g in 1st disk and 250g in 2nd disk will ...
1
vote
0answers
61 views

bcache not working as expected with ramdisk as cache device

I was trying out bcache but i don't have an SSD so wanted to use free memory as a substitute. As ramdisk is listed in /proc/devices as block device i assumed this would work OK but with below simple ...
1
vote
1answer
49 views

LVM devices not showing in initrd but working on boot [duplicate]

I am currently working on a custom initrd based on the CentOS 6.7 (2.6) kernel with the following modules loaded. The initrd is designed to backup files off a old RHEL system into memory, unmount the ...
0
votes
1answer
212 views

Ubuntu 14.04 software RAID with LVM install won't boot on bare metal

If I setup a VirtualBox guest with two 30 GB virtual hard disks and follow the following steps, the result will be a fully functional, booting operating system: Boot Ubuntu 14.04 Server install CD ...
0
votes
1answer
326 views

Guide for Gentoo setup with full disk encryption using LUKS+LVM

I'm looking for a way to make the following setup happen in Gentoo: /dev/sda1 -> /boot (ext2) /dev/sda2 -> Luks encrypted | +-lvm-vg1 | +- /dev/mapper/root-fs -> / (ext4) +- /dev/...
1
vote
1answer
111 views

how to create another physical volume/partition with existing unused lvm space without data loss?

I have a 1T USB disk with Fedora 20 installed. It shows as sdd in the first image below. I only used about 50GB. There are 3 logic volumes under the sdd2 and also there are about 620GB of free space ...
2
votes
1answer
74 views

grub can't find CentOS 7

My desktop was tri-booting between Ubuntu 2.04, CentOS 6, and Windows. I installed CentOS 7 in the space that CentOS 6 used, but update-grub doesn't result in the new CentOS showing up. I can only ...
0
votes
2answers
33 views

Extends partition using another disk [closed]

I have A 100GB SSD that I use for root partitions. I have 1TB disk. I'm running out of space on the SSD partition. Can I extends its size using the other disk. I know I can move the /home partition ...
2
votes
1answer
158 views

Found Duplicate PV in LVM disk scan

I have a VPS, and I attached another hard disk to it. It contains the same partitions I have on my current disk; it has / and /boot and swap. I need all data on the / partition. Here is the output of ...
0
votes
1answer
20 views

Why hasn't my CentOS partition resized?

I am running CentOS 6.5 in Hyper-V. It originally started off with a 5GB virtaul hard disk (VHDX) but I later decided I wanted to increase the size. I changed it in Hyper-V settings to 20GB, then ...
2
votes
1answer
40 views

Why the ext4 filesystem can be shrunk only when not mounted?

I'm playing a little bit with LVM. I've noticed that I can add a new HDD, include it in the volume group, and add some space to all of the existing volumes without unmounting theirs filesystem or ...
3
votes
2answers
73 views

create raid1 from existing lvm local volume

I have an existing LVM, with one physical drive (say /dev/sdb), and one volume group (say volgrp1), here I have three logical volumes (say lvSys, lvHome, lvSwap). Now I worry about my data and by a ...
1
vote
1answer
271 views

Dependency failed for mount after dist-upgrade

Last weekend, I ran an apt-get dist-upgrade on a home Debian 8.3 system, and was surprised to see that it entered emergency mode on the next boot. The server in question runs LVM on top of a mdadm ...
1
vote
1answer
84 views

Automatic unlock LVM partitions with a Key LUKS dm-crypt

I'm trying to make an automatic unlock of other partitions, I have 9 Logical volumes including root, and I know root LVM will unlock manually true password to have a key decrypted. My goal is unlock ...
0
votes
1answer
38 views

Where is the space from LVM partitions?

Additionally, output from my df -h command and fdisk -l command. Where and how could I utilize space from my /dev/sda4 and /dev/sda5 partitions? I suspect /dev/mapper/fedora-root to be my LVM ...
-3
votes
1answer
82 views

How can I create an LVM volume group spanning 2 hard drives? [closed]

I have rented a dedicated server with two 500gb hardisks running Centos 6. On this server there are 4 partitions: 1.boot 2.root 50gb 3.swap 50gb4. 4.empty 400gb Now I want to create a logical ...
0
votes
0answers
125 views

Arch install grub cfg file LVM errors

i have been doing an arch installation on top of windows 8 using USB live iso. I partitioned my HDD as follows: SDA1->350mb(windows related) SDA2->781gb(windows related) SDA3--extended SDA5-&...
1
vote
0answers
109 views

ArchLinux: Error installing grub on encrypted lvm partition(lvm on luks)

I am trying to install Arch Linux on an encrypted partition (LVM on LUKS). I followed the relevant Arch Wiki guide, but when I do: grub-install --recheck /dev/sda it gives me this output: grub-...
3
votes
1answer
300 views

Recover LVM (on RAID1): No volume groups found. Partition table erased?

I'm trying to recover a LVM (no encryption) on a RAID1 using Debian Live. Apparently, the RAID1 can be assembled without issue, but the LVM is broken. You may skip to LVM section. The RAID part is ...
0
votes
0answers
122 views

grub2-install can't find lvm device

I am in the process of moving from Arch to Fedora and simplifying my partitioning scheme in the process (by using LVMs raid options instead of layering it on an mdadm array). I have this LVM scheme: $...
1
vote
1answer
66 views

LVM: How to clone thin-volume

I'd like to know how it's possible using the lvm cli tool to clone an existing lvm thin volume, creating another thin-volume with the same contents (but possibly a larger size) as the original one. ...
0
votes
0answers
69 views

Combine grub2 + GPT partition + LUKS + LVM (grub overwrites LUKS header)

I'm trying to configure system to boot from one GPT encrypted LVM partition. But when I set partition type to 8300 grub-install complains on warning : this GPT partition label contains no BIOS boot ...
0
votes
1answer
363 views

Does it make sense to put btrfs on lvm?

This is OpenSUSE Leap 42. I have a computer with 2x 500 GB SATA HDD drives and to speed it up I put in a small 30GB SSD drive for the system. During installation HDDs were disconnected as they ...
1
vote
2answers
51 views

Renumber encrypted partition - sda3 to sda5

I have an encrypted crypt-luks partition that is currently named sda3, and is the last partition on the disk, that is, there are no sda4 or sda5. The encrypted partition contains three logical volumes ...
0
votes
2answers
45 views

In Linux what setup would allow striping data across multiple drives?

How would a system be set up to stripe data like raid does, preferably with out using raid. Could lvm be used for this?
2
votes
0answers
28 views

Safest way to add/extend partition on linux [closed]

I have a linux server that is running out of space. There are already 4 primary partitions, which I believe is the max number of partitions. So I am unable to create a new parition as per this article:...
0
votes
0answers
31 views

vSphere Client 6.0.0 fails to add a disk drive greater than 4TB to VM

Any help would be appreciated: GOAL: Get Linux Mint 17.3 VM to see each of my 6TB (5.46TB) physical drives so I can then raid6, LVM and mount. They have already been successfully added as ...
1
vote
1answer
96 views

Unable to remove stale volume

I have an external hard drive connected to my Ubuntu laptop via USB. The whole hard drive is LUKS encrypted. Next to the encryption layer sits an LVM volume which I mount to /mnt/es. Once opened, ...
2
votes
1answer
61 views

Transfer content of LVM block device ensuring consistency - LVM snapshot?

I need to create off-site full backups of an LVM block device. Thinking the old dd over SSH method. To ensure I have a consistent backup, should I create an LVM snapshot first? So new changed blocks ...
0
votes
1answer
87 views

HpUX: correct vgreduce

I want to remove a disk from root mirror. The disk to remove is /dev/disk/disk2_p2 lvreduce -m 0 /dev/vg00/lvol1 /dev/disk/disk2_p2 lvreduce -m 0 /dev/vg00/lvol2 /dev/disk/disk2_p2 lvreduce -m 0 /dev/...
0
votes
0answers
84 views

unable to boot with GRUB after installing arch-linux

i finished to install the Arch linuks with lvm on Luks and rebooted after configuring the GRUB. when i boot to the USB GRUB i get: i have edited this page and fixed the UUID number to the sda1 ...
1
vote
1answer
23 views

Is there any profit in using contiguous space in lvm?

When creating an LVM on linux, there's couple of options to set up. One of them is -C y, which sets contiguous space that a logical volume can use. Should I use this parameter or not? I know that you ...
1
vote
1answer
22 views

How to handle (with LVM or DM (device mapper)) when a drive has gone away and come back as a new block device

(This correct answer is to one that bears little surface resemblance to this one. Asking the question and answering it myself with reference to that one.) Consider a virtual host environment in which ...
0
votes
1answer
42 views

Does LVM need a partition table?

Can the locations and sizes of logical volumes be provided as command line arguments when mounting LVM partitions? I mean in the way MTD partitions are not defined using a partition table. Does LVM ...
4
votes
0answers
126 views

LVM cache and TRIM

I have set up LVM to cache a logical volume (located on an HDD) on a partition of an SSD (in writeback mode if this matters). As far as I can tell, this works correctly and the cache uses all ...
1
vote
1answer
54 views

Not able to finish setting up LUKS

I am trying to encrypt a new VM with LVM on LUKS. I formatted and partitioned the HD (1 partition). I ran: # cryptsetup -c aes-xts-plain64 -s 512 luksFormat /dev/sda1 /mnt/dok/31.jpg typing "yes"...
0
votes
1answer
61 views

Check if FibreChannel disk is mounted somewhere else

I have two RHEL 6.5 servers. Each has access to the same FibreChannel LUN with multipathing and LVM on it – let's say /dev/mapper/vg0-lv_shared. lv_shared can be mounted on server1 or server2 but not ...
0
votes
3answers
194 views

df -h shows fs size smaller than LV size

I created a LV which it's size is 700MiB . When I mounted the FS, I noticed the df -h shows the filesystem's size is 697MiB. Where did 3MiB go? Could it reserved for the LVM's metadata? The FS is ...
0
votes
1answer
9 views

LVM block allocation for snapshots

I've found this in 'man 8 lvcreate', which raises some questions for me. So: -s, --snapshot OriginalLogicalVolume{Name|Path} ... Thin snapshot shares same blocks within the thin pool volume. ;...
2
votes
0answers
109 views

Lost space in LVM

LVM Hey. First of all I want to say excuse me for my bad English. I a problem after installing CentOS 7 with LVM. Some space lost after problem with LVM configuration. I tried to add some logical ...
0
votes
0answers
21 views

Network between 3 VM's

I have a kinda dumb question but I have 3 VM's with TinyCore linux on board with wifi network drivers installed there. I have a task to connect 2 machines to 1 network - 1st and 2nd. Then to connect ...
2
votes
2answers
339 views

How do I restore my boot partition manjaro/arch?

I need to completely rebuild my boot partition. The file system has sda1 250mb for boot and sda2 lvm luks encrypted with ManjaroVG-ManjaroHome, ManjaroVG-ManjaroRoot and ManjaroVG-ManjaroSwap inside ...
0
votes
0answers
37 views

LVM Logical Volume (linear) best performance

As a system administrator, one thing I do very often is increase LV's size. In most cases I have to extend first the VG, adding a new disk (we are talking about virtual machines). I have got a lot of ...