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

2
votes
0answers
27 views

RAID1 Partitioning Scheme for a Linux Server

I'm having trouble setting up a RAID1 for my server where both drives are bootable. What I'm doing now is /biosboot and /boot partitions on both drives, then I have my LVM volume group with logical ...
0
votes
1answer
30 views

Reclaim 100GB on disk not “seen” by fdisk but shown in parted

I am running Ubuntu 14.04 and am using lvm for the root and swap partitions. When I use parted ( or gparted) I see 110GB unpartitioned on /dev/sda . hari@Ubuntu02:~$ sudo parted /dev/sda unit GB ...
0
votes
1answer
23 views

Customizing LVM disk encryption splash logon screen

I just installed Kubuntu, and turned on full disk encryption and LVM. By default when booting up this machine I now get asked for my password twice. The first time is a relatively ugly boot splash to ...
0
votes
0answers
27 views

windows partition wiped out with debian install CD and LVM

Going by my prehistoric knowledge on how to set up a dual boot with Windows and Linux, I set out to install debian over my Windows 10 installation. My single hard disk was originally partitioned into ...
0
votes
0answers
16 views

Backup and restore in LVM

I created a linux machine (Ubuntu), long time ago, where I used only an HDD, I used the default installation (it was long time ago), so basically the situation is this: Device Boot Start ...
20
votes
4answers
3k views

No more space in root filesystem, how could I increase the size?

This is my filesystem : ~  df -h -x tmpfs -x devtmpfs Filesystem Size Used Avail Use% Mounted on /dev/mapper/fedora-root 9.8G 7.6G 1.7G 83% / /dev/mapper/fedora-home 50G 27G ...
0
votes
1answer
37 views

select the correct LVM volume group as the root device

On my disk I have LVM configured as such: One Volume Group "vg1", containing One Logical Volume "lv1", containing a LUKS encrypted partition which is the root of a Debian Linux installation One ...
1
vote
1answer
71 views

Remove encryption setup on a lvm/luks partition

On my linux machine, I have setup disk encryption using lvm/luks. However later I delete one of the partition and format it to NTFS in order to use it on Windows (as I have dual boot linux/win10). ...
0
votes
1answer
19 views

deactivate and shrink LV /tmp

How can I deactivate and shrink the Logical volume mounted as /tmp safely ? lvm> lvreduce --size 30GB /dev/vg_server4/LogVolTmp WARNING: Reducing active and open logical volume to 30.00 GiB THIS ...
0
votes
0answers
52 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
110 views

How to resize back a logical volumen LVM?

I was trying to leave more available space at /datos and I break the configuration of my server. First at all I discovered a LVM configuration. Then at VMWARE client I click edit settings and add ...
3
votes
1answer
73 views

How to encrypt a live rootfs on Arch Linux

I have a Linux Arch system running on a VPS. The rootfs is installed on a LVM partition. I would like to overlay an encrypted container on this partition, then reinstall the rootfs on it and enable ...
1
vote
1answer
279 views

Linux expand LVM into unallocated space

I have extended the disk space of a linux VM, and I'd like to be able to use that new unallocated space. There are two partitions on my disk so far, the first one has a boot flag, and the second one ...
0
votes
1answer
70 views

How to undo vgchange --clustered y?

At the beginning of a cluster setup I invoked sudo vgchange --clustered y [name] and accepted the warning that the volume might be inaccessible - no problem, of course, because the cluster isn't setup ...
3
votes
1answer
99 views

Can zfs/zpool be setup in an LVM formatted disk

I have Ubuntu 14.04 setup with LVM on a 500GB disk on my laptop. I want to setup/playaround with zfs/zpool. What is the best approach for this without losing my data
0
votes
0answers
63 views

Using lvm cache for disk spin down

I want to use an lvm cache on an ssd to buffer writes to my bigger hdd for some time so that the hdd can spin down. I probably need the writeback mode for lvm cache, which buffers writes for some ...
0
votes
1answer
167 views

How to use tmpfs and SSD for smart cache

I want to create fast logical disk under Linux for storing temporary files. This files I don't afraid to lost. On my machine I have 128Gb of RAM and 512Gb of SSD disk. So I want use 50% of my RAM as ...
0
votes
0answers
17 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
10 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 ...
0
votes
1answer
26 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 create a logical volume group ...
0
votes
0answers
13 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
88 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
39 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
148 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
24 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
24 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
138 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
19 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
25 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
73 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
160 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
1k 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
30 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
80 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
122 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
70 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
23 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
176 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 '/dev/...
0
votes
0answers
24 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
1answer
295 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
57 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
1k 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
63 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
168 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
26 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 ---------...
3
votes
1answer
107 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
110 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
112 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
53 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
459 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 ...