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

10
votes
1answer
9k 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 ...
1
vote
1answer
73 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 ...
0
votes
1answer
69 views

How to encrypt 3 drives on linux?

I have 3 x 3TB drives and a linux computer and i want to use the space as "one" drive for music, movies, and pictures (home server). In Addition the stored data should be encrypted. I do not want to ...
5
votes
4answers
14k views

LVM and cloning HDs

Using Linux, I have several backup levels. One of them is a periodical sector by sector copy (using dd) of my laptop harddisk to an external USB disk. Yes, I have other backups too, like remote rsync. ...
0
votes
1answer
2k views

Remove a Physical Volume from VG with no free PE

I have LVM2 setup containing 2 Physical Volumes sda5 and sda6. Both Physical volumes are included in a single Volume Group VG, which inturn contains only one LV. The LV uses all the memory of the ...
0
votes
1answer
15 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 ...
7
votes
4answers
2k views

From GRUB2, boot an ISO in an LVM2 logical volume

tl;dr - Is it possible to boot from a .iso file that is located in an unencrypted lmv2 logical volume? How? I'm trying to set this up in a VirtualBox VM before I do it for real with my laptop. I have ...
2
votes
1answer
8k views

Recover data from corrupted LVM partition with TestDisk?

I had setup 3 disks in a LVM array with each disk holding some data. A few weeks back one of the disks "disappeared" from the LVM array and BIOS. After rebooting, the disk reappeared but does not ...
0
votes
1answer
255 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
12 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 ...
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 ...
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
30 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
56 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
17 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
40 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
184 views

how can I reintegrate a lost and found pv into an LVM vg?

I recently lost a RAID that was a physical volume of one of my linux LVM volume groups. I ended up doing a vgreduce --removemissing and got on with the business of restoring the data. Well, today I ...
11
votes
5answers
72k views

How to mount an LVM volume?

I'm trying to mount an LVM2 volume in Linux, but all the instructions I see online say to mount the Volume Group, such as: mkdir -p /mnt/VolGroup00/LogVol00 but I don't know how to figure out the ...
0
votes
1answer
71 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
61 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 ...
4
votes
1answer
3k views

NVidia ION and /dev/mapper/nvidia_… issues

I have an NVidia ION board with 4 SATA ports and want to use that to run a Linux Server (CentOS 5.4). I first hooked up 3 HDs (that will be a RAID5 array) and a fourth small boot HD. I first started ...
20
votes
2answers
1k views

How to make suspend to RAM secure on Ubuntu with full disk encryption (LVM on top of LUKS)?

I'm on Ubuntu 13.04 using full disk encryption (LVM on top of LUKS). I would like to incorporate luksSuspend into the suspend procedure (and later use luksResume) so that I can suspend to RAM without ...
0
votes
1answer
44 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
83 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
1
vote
1answer
216 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
0answers
56 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
131 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
16 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
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
79 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
36 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
142 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
23 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
20 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
112 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
140 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 ...
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
66 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 ...
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 ...
4
votes
2answers
16k views

vgdisplay and lvdisplay No volume groups found

root@ubuntu-server:~# pvdisplay root@ubuntu-server:~# vgdisplay No volume groups found root@ubuntu-server:~# lvdisplay No volume groups found root@ubuntu-server:~# what to do. I can't find ...
2
votes
1answer
26k views

How? Mount, Find & Recover DATA in HDD outside of Synology Box

How? Mount, Find & Recover DATA in HDD outside of Synology Box I had originally posted this question here on Synology Forums and no real solution was suggested except a Linux / RAID based ...
0
votes
0answers
29 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 ...
10
votes
3answers
1k views

How to make a redundant desktop system with daily snapshots? (Is btrfs ready for use?)

I want to configure a desktop system in which the home filesystem would be redundant (e.g. RAID-1), and would have weekly snapshots taken. I've already done this with ZFS, the snapshot system is ...
1
vote
2answers
105 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
62 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?
3
votes
1answer
2k views

How to rename LVM volume?

Is is possible to rename an LVM volume? I would like to rename local0 to vm Device is /dev/mapper/vgdata-local0 I'm using Ubuntu 12.04