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

learn more… | top users | synonyms

1
vote
1answer
10 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 ...
1
vote
0answers
5 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
22 views

Extends partition using another disk [on hold]

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
32 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
0answers
74 views

Newly compiled kernel can't boot to LVM root partition - but the old one does

When booting a new kernel (4.4.1 on Ubuntu 15.10) for my Intel i7 based laptop (MSI GS40 Phantom), I can't seem to far past Grub. Once initramfs kicks in I get an error message saying that it can't ...
0
votes
1answer
12 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
25 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
21 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
112 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 ...
0
votes
1answer
26 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
28 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
52 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
35 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 ...
1
vote
0answers
26 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: ...
3
votes
1answer
102 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
21 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
0answers
14 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
29 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
58 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
37 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
41 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
26 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 ...
0
votes
0answers
11 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
38 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
24 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
29 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 ...
0
votes
0answers
26 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
20 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
19 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
26 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 ...
3
votes
0answers
50 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
31 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 ...
0
votes
1answer
29 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
104 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
8 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
43 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
19 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
74 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
33 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 ...
0
votes
0answers
19 views

error : no free sector available. not able to create partition

I just install RHEL 6 on VMware and I am trying to create a new partition but getting error "no free sector available". Please anybody help me for the same.
2
votes
1answer
76 views

Why is OS constantly writing to disk (ext4) on a Ubuntu 14.04 machine? Is it normal?

I'm quite sure it didn't happen before I started using LUKS and LVM on my disk (2 or 3 weeks ago), but now root user is constantly (every 2-3 seconds) writing (not reading, just writing) on disk and I ...
0
votes
0answers
21 views

vxlist volume and vxlist disk stuck on Solaris 10

On Solaris 10 i have installed symantec storage foundation for lvm. Enable all daemons,create volumes and groups ok but if i want to see the size of disk and volumes with vxlist volume or vxlist ...
0
votes
1answer
19 views

How to convert SW MD RAID1 arrays to LVM mirrors?

We have SW MD RAID1 on a RHEL5. RAID devices come from multipath currently. # pvs -v --segments Scanning for physical volume names PV VG Fmt Attr PSize ...
0
votes
1answer
11 views

Is LVM mirroring supported on RHEL 5?

We have SW MD RAID1 on a RHEL5. RAID devices come from multipath currently. Question: Is it possible to "convert" this setup to LVM mirroring? Does RHEL 5 supports mirroring in LVM? Just like in a ...
0
votes
1answer
23 views

LVM: How to recreate Volume Group after moving disks?

I had a volume group comprising of 2 x 1TB disks called mirrorvg I had a single Logical Volume (mirrorlv) which used all available capacity (approx 1.82TB usable) Because of some hardware problems I ...
0
votes
1answer
40 views

Removing OEM version of Windows, and re-installing in VM [closed]

I just ordered a new Lenovo X1 with Windows 10 for work. There will be times I'm required to run Windows, though I prefer to use Linux (Mint, currently) for most day-to-day tasks. Question: If I ...
0
votes
1answer
36 views

changed df -h output format after yum update in rhel6.5

changed df -h output after yum update (after patching). Anybpdy help on this ? Anybody knows the reason behind this ? df -h output before yum update (rhel patching) : Filesystem ...
3
votes
0answers
119 views

A stop job is running for LVM

I use full disk encryption which uses an LVM. It uses like this in lsblk: NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda ...
1
vote
1answer
25 views

What is the order in which physical volumes are used in a volume group?

I have a volume group which contains 2 physical volumes 400g on a 7200rpm hdd 250g on an ssd. Can I ensure that the ssd is used first/ the hdd is only used when the ssd is full? Note I will have var ...
1
vote
0answers
30 views

One SSD cache for two partitions on two separate disks?

I have two hard drives: one for my operating system and the other for other data. I recently bought an SSD drive that I would like to use an LVM cache for those two devices. The problem is that I ...