Logical Volume Manager for the Linux kernel manages disk drives and similar mass-storage devices, in particular large ones. "Volume" refers to a disk drive or partition thereof.

learn more… | top users | synonyms

0
votes
0answers
14 views

After installing LVM /var I can't access webpage of CMS on apache2

I added new hard drive to existing volume group. I then created new logical partition /var. I then added new entry to fstab and rebooted All appeared well with no problems. However, I can no longer ...
0
votes
0answers
8 views

XenServer LVM and Virtual Machine relationship

I am trying to understand the relationship between LVMs and Virtual Machine files, particians and mount points on a XenServer. My end goal is to be able to view files that are hosted by virtual ...
1
vote
1answer
18 views

Creating an LVM group

I have rented a dedicated server with two 500gb hardisks running centos 6. On this server there are 3 partitions. boot root 50gb swap 50gb empty 400gb Now I want to crate a logical olume group ...
0
votes
0answers
12 views

What could be reasons for unexplicably loosing file permissions?

I have been experiencing at one point massive and now very rare loss of file and directory permissions, i.e. revoking of execution right for both system scripts, like /etc/mysql/debian-start, and ...
0
votes
0answers
22 views

Full Disk LUKS in Debian, Unable to boot after rename partition name in crypttab

Here is the lsblk info: sdf1 vfat efi sdf2 ext2 boot sdf3 crypto_LU --- sdf3_crypto LVM2 --- name--vg--root EXT4 / --- name--vg--swap swap ...
0
votes
0answers
14 views

Trying to use LVM, Software raid - Can't boot

I am currently on my 4th or 5th try to set this up, maybe you can help: I have an ESXI server, currently it only has a VM for PFsense, but I also want to put GitLab on it. Now, this is my first time ...
0
votes
0answers
38 views

Fedora 23 Kernel Panic for All Kernel Versions in GRUB

Every time I try to start my Fedora 23 workstation a kernel panic occurs. This happens even with the rescue option at boot. The first line that appears to give an error is Kernel panic - notsyncing: ...
0
votes
1answer
13 views

“Re-attaching” an LVM volume/group

I created an image and used it to create a logical volume like this: dd if=/dev/zero of=LVM.img bs=1024 count=$((64*1024)) sudo losetup --find --partscan LVM.img sudo pvcreate /dev/loop0 sudo ...
1
vote
0answers
11 views

Problems with my LVM partition, showing wrong size and brings I/O errors on vgscan?

I have a volume group with 3 logical volumes. 1. lv is used for a virtual webserver, 2. is a old backup of lv 1 and the 3. is a storage volume. Now my first lv throws i/o errors and is no longer ...
0
votes
0answers
47 views

Debian: grub-install with LVM, crypto, and stripe

I'm working on getting Debian 8.2 installed on my system, and am having trouble with grub. It looks like the OS installs fine, but once I get to the first boot, I just sit at a grub prompt. Here's ...
0
votes
1answer
18 views

How to change centos partition to LVM

all I have centos installed in vitual machine, but its partition is in old style, now, I need to change it to LVM. Is it possible? And how to do that? I don't want to reinstall the system. Thanks in ...
2
votes
0answers
22 views

Any good reason to slice a LUN and create several VGs instead of create just one VG?

I'm the new administrator for a Linux RHEL box which uses a fibre channel 1-TB LUN disk. I find amazing the following: this LUN has been sliced by means of GNU parted(1), then each slice is turned ...
0
votes
0answers
24 views

After pvmove, logical volume's filesystem corrupt

After moving a logical volume using pvmove, the logical volume's filesystem is corrupt. I'm in systemd emergency mode right now. I can't remember exactly from what blocks, but it was supposed to move ...
0
votes
1answer
42 views

Arch - GRUB with dm-crypt LUKS on LVM

The last time I had to install Arch was a year or so ago. Grub always gives me the most trouble but I prefer it over syslinux. HOW CAN I GET GRUB TO RECOGNIZE MY ENCRYPTED VOLUME? I get the GRUB ...
2
votes
2answers
160 views

LVM: Two or more volume groups (VGs) on one physical volume (PV)

I have just a short question about LVM. A physical volume is a Partition or a whole Disk. A volume group is a container for a least one physical volume. So I know that a volume group can have more ...
0
votes
0answers
21 views

how to fix missing files from ubuntu 14.04 livecd

There are a couple of mesa files missing from my Ubuntu installation, so I am running a liveCD now and trying to enter hd LVM-type partition and add them, possibly using the command sudo apt-get ...
1
vote
1answer
45 views

Recover luks partition for /home after system erase - cant mount /dev/mapper/MyDevice

I looked on a lot of places and cant find what to do now. I had encrypted /home on 2nd hard drive. I had to format my debian and now want to access my data. sudo fdisk -l /dev/sda1 * 2048 ...
1
vote
2answers
56 views

Ubuntu disk space increase in an LVM group is not being reflected in the OS

I added some disks to my RAID configuration, taking it from 6TB to about 14TB. Increased the size of my Ubuntu server’s virtual machine disk to 12TB, and then used GParted to expand the partition from ...
0
votes
1answer
32 views

How to create multipath device

Running a Red Hat Enterprise Linux Server release 6.6. Created new LUN, re-scanned the bus, created PV on one of the 4 new devices created, then created VG-LV on te same. The LUN is multi-pathed but ...
0
votes
1answer
21 views

How to add lvm so its available to use?

I'v got this 276GB disk that I can't figure out how to add to my volume group so that it is usable. Is there any way to make it usable?
0
votes
2answers
76 views

Resizing LVM partitions on a live CentOS 6 server

I currently have the following partitions: ACTIVE '/dev/vg_server/lv_root' [50.00 GiB] inherit ACTIVE '/dev/vg_server/lv_home' [1.76 TiB] inherit ACTIVE ...
0
votes
0answers
21 views

Loosing GRUB connected to Ubuntu installed on a 2TB external drive

So I installed Ubuntu on 2TB external hard drive with LVM. Everything works fine until I remove external hard drive and boot without it to base system. After I try to load from disk again it ...
0
votes
0answers
76 views

Grub on LVM partition

Basically, my problem was the /boot (/dev/sda1), which was a very tiny partition (88 Mo). With the available VolumeGroup on this machine, I formatted a new LVM volume (600 Mo). Then I copied the ...
0
votes
0answers
27 views

Extend PV encrypted with Luks on Fedora 22

When I initially setup my desktop and partitioned everything I left space available if I needed to extend a LV. Now I am needing to extend a LV but have found it's more complicated than I thought. ...
1
vote
1answer
557 views

How to manually setup grub on a seperate boot partition with LVM over LUKS full disk encryption?

I've installed Linux Mint 17.2, with a hard drive partitioned as follows: sdc1 - 100MB ext2 for boot sdc2 - rest of disk as LUKS -> Physical Volume -> LVM Volume The logical volumes are: / ...
1
vote
1answer
34 views

Is setting 'discard' on a partition exposed through LVM sufficient?

From what I understand, I should set discard as a mount option for ext4 partitions that are on an SSD. My /etc/fstab currently has this line /dev/mapper/xubuntu--vg-root / ext4 ...
0
votes
0answers
97 views

Volume group holding /root not found on boot

I've just installed Debian 8 on a flash drive: here is how I have partitionned it: iago-lito@opak$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 ...
0
votes
1answer
23 views

How to set raid on lvm in Debian?

I have 3 hard disks with lvm installed and I have 2 Logical Volumes created with lvm. I want to make a raid with theese two logical volumes. Is it possible? Like this scheme: /etc /var /home ...
2
votes
1answer
74 views

How to get disk read/write speed for LVM logical partition?

I'm writing an agent collecting metrics of linux server. I get disk info with kernel file /proc/diskstats. It works for disk type disk or part, but if disk type is lvm or dm, I cannot get read / write ...
1
vote
1answer
79 views

Expanding disk partition on root drive with LVM

It's been a long time since I've done this and I've probably done it in the most complex way. I upgraded my OS drive to a larger drive (old one 60GB, new one 250GB) running Ubuntu 14.04 and used ...
0
votes
1answer
49 views

Cloning an LVM2 thin pool with all the snapshots

Need to clone a 400gb pool onto another machine. Will this work? First I collect the data about the existing pool: [root@oktest-prod-db-2 ~]# lvdisplay --units B vg_oktestdb2/pool --- Logical ...
0
votes
1answer
45 views

LVM space suddenly gone

I'm having issues with LVM on a Debian Jessie server. After adding a new SSD to the group storage I extended the volume, no issues were seen. After a power outage though, the server went offline for a ...
0
votes
1answer
220 views

Error regarding blockdev /dev/sdb1 “BLKRRPART: Invalid argument”

i had to extend an lv on an enterprise server that belongs to sdb1, i added/allocated the space i needed from the storage array. I rescanned the ports of SAN and then i wanted to blockdev --rereadpt ...
2
votes
0answers
221 views

lvmcache — one cache pool for multiple origin LVs

I have a shiny new computer with a not-that-large SSD (120GB) and two gigantic spinning-rust HDs (3TB each). I want to partition it as follows: swap (~128GB), operating system (~128GB), and data ...
0
votes
0answers
35 views

anybody know what is VG #orphans_lvm2 on a Linux host?

I see the below output from pvdisplay command: pvdisplay -c /dev/mapper/mpathfp1 2>/dev/null | grep :| cut -d: -f2 ##orphans_lvm2 The command is supposed to reveal proper VG name which the PV ...
0
votes
0answers
79 views

Creating lvm partition on raid

I have dedicated server with 3 ssd's (ubuntu 14.04) where are 2 raids. I want to make lvm partition for mysql. 20 gb mounted on / - raid 0 called device /dev/md1 (it is name of 3 ssd -- see below ...
1
vote
0answers
85 views

I can't access my LVM partition after RAID recovery

I need help after an accident with my RAID 5. I recreated it with: mdadm --verbose --create /dev/md2 --level=5 --chunk=64 --raid-devices=4 /dev/sdb4 /dev/sda4 /dev/sdd4 missing My array seems to ...
0
votes
1answer
102 views

LVM Physical Extents and Volume Group

I just bought a new hard drive, and I would like to use LVM on it. I created therefore a new physical volume with pvcreate, accepting the default settings (which is probably the wisest thing to do). ...
1
vote
1answer
46 views

how can I shrink logical volume and create new partition if the logical volume to shrink is present in the middle?

I have a HDD of size 120Gb, that has RHEL6 with 2 physical partitions sda1: /boot sda2: LVM managed Logical volumes VolGroup00 VolGroup00 contains following logical volumes /lv_root 36G /lv_opt 45G ...
9
votes
1answer
4k views

Gparted cannot resize extended or LVM partition

I created a VM using VirtualBox and realized it was small. So, i managed (after some time) to create a new, bigger HD. Live GParted CD image (v.022): Now I need to integrate the unallocated ...
0
votes
1answer
96 views

Need to add Logical Volume, but don't have lvm, and yum says I have no space

I have a CentOS 7 server on SoftLayer. I only gave it 25GB of storage initially. Now it's full, so I ordered an additional 300GB of storage for it. My understanding (which comes from this article), ...
0
votes
1answer
55 views

How to mount this LVM volume?

I was trying to follow this article, but it looks like I failed: # fdisk -l Disk /dev/vda: 171.8 GB, 171798691840 bytes 16 heads, 63 sectors/track, 332881 cylinders, total 335544320 sectors Units = ...
0
votes
0answers
84 views

How to tune the XFS file system when you use LVM striping on top of HW RAID?

For example your LV strips (512k) over two PVs each HW RAID 7disk x 1MB RAID6. (what about if the LV is mirrored?) I cant seem to find information on tuning the su/sw values in this configuration. ...
0
votes
1answer
115 views

Increase size of a vdi fixed disk, used for a virtualized ubuntu server

I have a fixed vdi disk in an ubuntu server (it's a virtual machine, i'm using virtualbox for handle this from my ubuntu desktop so). I installed a lot of things, and the disk is full (i wasn't pretty ...
0
votes
0answers
386 views

lvextend gives insufficient suitable allocatable extents for logical volume set even free extents

I have one LVM with 4 physical disks (created with -i 4 option). I added 2 more disks to VG and trying lvextend which is failing. Below show I have 1TB of space Free in VG. $ sudo vgs VG #PV #LV #SN ...
1
vote
0answers
237 views

LVM: “Volume group is not consistent” and “Incorrect metadata area header” but volume still mountable

I'm on Ubuntu 14.04 with a volume group that has 4 disks in it: Incorrect metadata area header checksum on /dev/sde1 at offset 4096 Incorrect metadata area header checksum on /dev/sde1 at offset ...
0
votes
0answers
35 views

data recovery issue with LVM on degraded software raid array

I have a raid-10 array that is degraded to two remaining working drives. The software setup is Centos-Xen, so one dom0 and several domUs. I can see the names of the logical volumes and their names and ...
0
votes
0answers
72 views

Can't create LVM raid in Pidora

I'm experimenting with Pidora, trying to configure some reasonably redundant storage. [root@bravo ~]# lvcreate -d -v -m1 -L10G -n ${lv_name} ${vg_name} Executing: /usr/sbin/modprobe dm-raid ...
0
votes
0answers
142 views

Resize encrypted lvm volume and reallocate the space to windows partition

Here's a diagram of my solid state drive's partition setup. sda sda1 - boot (ext4) sda2 - LUKS Encrypted Partition LVM Volume Group Swap Logical Volume (ext4) Root Logical Volume (ext4) Home ...
0
votes
1answer
43 views

Get current metadatasize for an physical volume

Is there a way to get the current metadatasize for a phyisical volume. I used [root@i-6b4fb096 ~]# pvcreate --metadatasize 10000 /dev/sda4 Physical volume "/dev/sda4" successfully created ...