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

learn more… | top users | synonyms

1
vote
1answer
33 views

NixOS installation on multi-boot system with GRUB (from Arch installation)

I have one physical disk (/dev/sda) which is divided in /dev/sda1 (which is /boot bootable GRUB2 partition used and setup with Arch) and /dev/sda2 which is my cryptroot that, when unlocked, is a ...
1
vote
1answer
22 views

Can I mix SAS and SATA HDDs together using LVM?

I was playing with my server with a 300G SAS HDD. However, recently I am considering making it into a production server which demands elastic storage. So I meet the question that whether it is okay to ...
2
votes
0answers
14 views

How to shrink sda disk with XFS filesystem

We have a RHEL 7 server with 2 disks (sda and sdb). Our /, /var/log and swap are on sda, /var is on sdb. We use LVM and XFS. sda is too big (160 GB) and we would like to shrink it to 40 GB. We can ...
1
vote
3answers
33 views

Resize LVM at the beginning

I have a LVM primary partition at the end of my disk, Windows is at the beginning, there was an unused partition in between but I need some space for Linux so I removed it. Now I'm trying to figure ...
1
vote
1answer
37 views

Ext4 corrupted and unrecoverable after LVM resizing + power failure

I have a completely standard, single hard drive Fedora 23 desktop. The dual-boot installer set up the Linux partition as LVM, with root, swap and home logical volumes; root and home were both ext4. ...
3
votes
1answer
87 views

Filesystem still showing the old value after reduction in linux, however showing the correct value in LVM

We have a task to resize the filesystem from 8T to 7T which is in LVM. We have given resize2fs command, while the command is still being run we have got the error "Write failed: Connection reset by ...
0
votes
0answers
19 views

Centos 7.2 Convert single LVM to RAID Mirror Reinstall BootLoader

I am trying to convert a single-drive Centos 7.2 installation with LVM into a two-disk mdadm mirror with mrrored LVM. I was able to follow the excellent instructions at: ...
3
votes
1answer
42 views

Making a swap partition using lvm

When we make a swap using a regular physical drive, we just use fdisk and make a partition with type swap, using the swap code for that partition, followed by mkswap and swapon commands. But what ...
0
votes
1answer
39 views

lvreduce : “No directory, logging in with HOME=/”

I wanted to reduce my home LVM size so I executed the following commands : sudo umount -fl /dev/ubuntu-vg/home lvreduce --size -4G /dev/ubuntu-vg/home As the last command didn't work (apparently ...
0
votes
1answer
31 views

how to fetch lvm mount point (generic)

I need to write a script that will check whether an LVM exists on the system or not. If an LVM exists, then it will perform certain steps else it will do other steps. My issue here is how to find a ...
0
votes
2answers
31 views

gparted (live usb) says my partition is mounted, but where?

I'm attempting to grow /dev/sda5, which is an 'lvm2 pv' partition, but it's contained in /dev/sda2, which is an extended partition. There is plenty of "unallocated" space immediately after /dev/sda2, ...
0
votes
0answers
32 views

how to Increase VM disk without reboot on Linux redhat 6.x + LVM

I increased the second disk in VM machine from the VSphere client GUI as the following: By right click on the machine --> edit settings --> hard disk2 --> increase the disk from 1G to 2G Then I ...
0
votes
1answer
6 views

How to replace a disk which contains the CentOS6

I have a machine that contains a disk which one has CentOS 6 Installed. In that disk, There are two partitions. One of them if mounted on /boot, and the second one is a PV for the rootvg. I need to ...
0
votes
0answers
7 views

Why is EXT4 on LUKS on MD-RAID6 not detected by openSUSE's YaST

For maximum control over the storage configuration I've got two MD-RAID6 devices pre-configured as follows from openSUSE's Rescue system before rebooting the computer into openSUSE's installation ...
0
votes
1answer
23 views

Cannot mount newly created Logical Volume

I try to create a Logical Volume under an existing Volume Group but I cannot mount the new LV due to error: "Bad magic number in super-block while trying to open": [root@host-xxxx ~]# df -h ...
0
votes
1answer
17 views

Extended logical volume in LVM still shows old size

I have setup a server with LVM, and at first I juset created a small logical volume named 'root' of about 10GB, but later changed my mind. I extended it to 1TiB, but my server still is in two minds of ...
0
votes
1answer
52 views

How to allocate available HDD from /home to /root [duplicate]

I have a 500GB HDD for CentOS 6.7 . But when I created a partition, I just have created a small storage size for root, but /home folder had lots of capacity. Could I move available capacity from /home ...
1
vote
1answer
38 views

How to reduce root Volume Group size in LVM?

I found a similar question here, but there's one different point on my server: --- Volume group --- VG Name vg System ID Format lvm2 Metadata Areas 1 ...
1
vote
1answer
15 views

LVM snapshot - performance for write-only data

I have a client that is archiving write-only , time-series data in a database (ie. data is rarely modified after it is written, and it is rarely read as it is on a secondary/backup/failover node). I ...
0
votes
1answer
16 views

LVM Snapshot - Copy on write - does it apply to new data?

I have been reading about LVM Snapshots, and I have a general understanding of how it works. If a snapshot is made of source data, I understand that the copy-on-write (COW) means that if a ...
1
vote
1answer
28 views

Split home partition into 2 (xfs on LVM)

I am using centos 7 and I have a /home mounted on an xfs filesystem on a dedicated LVM partition. /dev/mapper/centos-home 782G 34M 782G 1% /home I want to split this partition to 2 ...
0
votes
0answers
42 views

linux + resize2fs with Operation not permitted error

I am trying to increase the /opt to 65g but I get the following message Operation not permitted While trying to add group #8256 what is the resolution for that? root@linux:/opt # lvresize -L 65g ...
1
vote
1answer
30 views

Swap /dev/mapper/* devices

I have been given a box that has /dev/mapper/root mounted as / and mapped to /dev/dm-0. It has /dev/mapper/home mounted as /home and mapped to /dev/dm-2. The dm-0 device is 5G and the dm-2 device is ...
1
vote
0answers
23 views

How to wait for detected LVM volumes?

I have the following problem: I have a machine running arch and which contains a encrypted LV in a LVM. Inside the (encrypted) LV is another PV located. So I have in fact two VGs: One which contains ...
0
votes
2answers
56 views

command to list logical volume I/O statistics on AIX

I am looking for a command which displays the I/O statistics of logical volumes (like reads/sec , writes/sec, io utilization %, read kb per second, written kb per second) . I tried iostat, but its ...
1
vote
1answer
134 views

How do I configure grub to boot another linux distribution off an lvm partition?

(I no longer have this setup so I cannot test new answers, sorry. I had to switch computers and am now only using arch; I am leaving the question as it is though since I'd love to know a solution if ...
1
vote
2answers
43 views

RHEL: FDE w/o password - boot from key on partition

I'm trying to accomplish encrypting my OS w/ LVM on RHEL 7.2 and have it boot without entering a password by using a key on an unencrypted partition. LV VG Attr LSize Pool Origin Data% ...
0
votes
1answer
55 views

How to create a volume group that is larger than 2 TB on a non-GPT system?

I've recently setup a CentOS 6 x64 server with 4x 3TB drives, running on top of a RAID-10 array. Current partition schema is as below; /boot 500M (Standard ext4) vg_root 10G (LVM) swap 12G ...
1
vote
0answers
15 views

Boot Entry for Loading Encrypted LVM

So, I recently installed Arch Linux (EFI) with the root folder in an encrypted LVM. I am loading the correct modules and hooks on startup, but it's telling me it can not load the encrypted space after ...
0
votes
1answer
84 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
36 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
82 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
35 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
29 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
53 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
36 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
36 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
45 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
129 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
136 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) +- ...
1
vote
1answer
56 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
50 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
32 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
94 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
14 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
32 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
49 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
226 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
59 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 ...