Questions tagged [lvm]

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.

Filter by
Sorted by
Tagged with
13 votes
2 answers
21k views

How do you add more space to a Fedora (LVM) partition?

In a nutshell, i have a VM that ran out of space. I increased the size of the VM's harddrive to be 4 times bigger but the OS partition is still only using 1x the space. I need to change the LVM ...
Trevor Boyd Smith's user avatar
60 votes
7 answers
395k 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 ...
99miles's user avatar
  • 767
49 votes
2 answers
85k views

Gparted cannot resize extended or LVM partition

I created a VM using VirtualBox and realized it was too small. After some time I managed to create a new, bigger hard drive. Live GParted CD image (v.022): Now I need to integrate the unallocated ...
papnikol's user avatar
  • 1,641
8 votes
2 answers
23k views

How can I shrink a Logical Volume, and re-allocate the freed space into a new partition on the same drive?

I have a drive, sda. It has two partitions: sda1: /boot sda2: LVM managed in Volume Group volgrp01 volgrp01 contains the following Logical Volumes: lv_root (30 GB) lv_swap (8 GB) lv_scratch (430 GB)...
CptSupermrkt's user avatar
6 votes
3 answers
13k views

Add unallocated space to lvm

I shrunk my windows partition and now have 10 GB of unallocated space that I now want to use to grow my / partition which is an ext4 in an lvm. I'm running Fedora 12. I ran system-config-lvm but the "...
user avatar
4 votes
2 answers
13k views

How do I permanently reset the UUID of an LVM partition?

A (dd cloned) backup of my boot partition left me with duplicate UUIDs. blkid shows: /dev/sda1: UUID="32579810-0388-416d-bb49-7031ac2c2975" TYPE="ext4" ... /dev/mapper/raidgroup-osbackup: UUID="...
Thomas Arildsen's user avatar
0 votes
2 answers
3k views

Enlarged partition, filesystem still reports old size

I resized the root partition with GParted, from 20 GB to 40 GB, but the filesystem still reports a size of 20 GB. How can I use all 40 GB? Update The resized partition was an LVM Physical Volume (/...
TheKolanN's user avatar
26 votes
4 answers
62k 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 ...
Dimitri Danilov's user avatar
12 votes
3 answers
4k views

Does Linux support TRIM for SSDs on LVM?

I am getting a SSD and need to know, does Linux support TRIM if I set up LVM on top of the SSD? I'm finding conflicting information. I'm currently running Ubuntu 10.10 with kernel 2.6.35-28.
user avatar
8 votes
1 answer
4k views

Migrate LVM to ZFS

I am currently thinking about moving away from my LVM setup to a ZFS setup with RAIDZ. My current setup consists of 5 x 4TB disks in a LVM and a 60GB SSD for the system. At the moment there is about ...
Lukas Häfliger's user avatar
8 votes
1 answer
11k views

Booting windows (any version) from an LVM volume

I'd like to know if any versions of Windows are able to boot from an LVM logical volume, with or without third party extension software.
intuited's user avatar
  • 3,371
8 votes
5 answers
8k 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 ...
snapshoe's user avatar
  • 1,156
8 votes
1 answer
31k views

How can I mount an encrypted LVM under Windows?

I have a virtual machine with Ubuntu server with an encrypted LVM. I set up a virtual drive using imdisk to access its virtual hard drive without running the virtual machine, but I can't find any way ...
NotGaeL's user avatar
  • 567
7 votes
4 answers
63k 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 ...
Alex S's user avatar
  • 981
5 votes
3 answers
4k views

Home Server: storage virtualisation, what to choose?

I'm looking for virtualisation solutions for storage and OS for a home server. A sort of private cloud where I manage the storage space independently of the VM one. This question focus on storage ...
Huygens's user avatar
  • 1,459
5 votes
2 answers
3k views

Advice on approaches to disk encryption in Ubuntu?

I'm considering encrypting the contents of my laptop, which runs Ubuntu 10.04 and has an ext4 + swap, and I'm wondering what the best options are here. I'm aware of: TrueCrypt: either block-level ...
xyzzyrz's user avatar
  • 921
4 votes
2 answers
779 views

Recovering Ubuntu after filesystem was overwritten using dd

I had an Ubuntu installation on my laptop, on an encrypted LVM (this was /dev/sda1). I was planning to write an Arch Linux image to my USB drive (/dev/sdc1), following this guide - https://wiki....
NOLFXceptMe's user avatar
  • 1,222
3 votes
1 answer
1k views

Does Windows 7 support TRIM for Spanned Dynamic Disks?

Windows 7 supports TRIM for an individual SSD, but does it work with two SSDs merged together as a Spanned Dynamic Disk? "Dynamic Disk" is Microsoft's proprietary version of LVM.The equivalent ...
fakeraid's user avatar
1 vote
1 answer
844 views

CentOS 6 LVM RAID5, unable to activate VG / LV. "device-mapper: reload ioctl on (253:119) failed: Input/output error"

I've found myself in a complex Linux LVM-RAID5 / device-mapper problem after one temporary device failure, and one bad block encountered during that time. The logical volume can now not be activated ...
gusfoo's user avatar
  • 31
1 vote
2 answers
570 views

LVM without stripe

I want to use LVM to have a partition that spans over multiple drives. I know that there is a down side in that if one drive fails all the data in the array is lost. Is it possible to have LVM not ...
AlexL's user avatar
  • 201
1 vote
1 answer
3k views

Fedora 18 add new hard disk with LVM Partition

I recently built my 1st computer and realized today that despite having multiple hard disks, I'm out of space because I did not set up the partitions correctly. I am trying to add two of my hard ...
namu's user avatar
  • 151
1 vote
1 answer
607 views

Fedora15 - Help me understand how cryptsetup and LVM interact

Upgrading F11 to F15 I've decided to encrypt the disk. Anaconda appears to have limited support for custom disk partitions (mine is dual boot). The result of my second install attempt was a PV boot ...
xtian's user avatar
  • 995
0 votes
1 answer
2k views

Move home to partition or resize home to fit partition

I've two disks in my PC. My /home is in the /dev/sda3 so it's on sda1. Then I have another disk formated and mounted as /data in /dev/sdb1. I want to move /home to /data or delete data complety and ...
ReynierPM's user avatar
  • 365
0 votes
1 answer
1k views

Why does LVM HDD fail "mount" command when booting from CDROM?

Currently I have a superuser post asking if I can install/upgrade existing LUKS/LVM without having to erase and rebuild the partitions. This has provided instructions to mount the HDD, but there are ...
xtian's user avatar
  • 995
0 votes
1 answer
2k views

Resizing LVM Partitions

I'm trying to resize a couple of my LVM partitions. I have one that is 850GB (/dev/mapper/cl-home) and one that is 50GB (/dev/mapper/cl-root). I'd like to make it so that cl-home is 750GB and cl-root ...
user1617942's user avatar
0 votes
2 answers
1k views

How to realocate space from the Swap partition to the ext4 'normal' partition in Ubuntu?

My Linux is running in a VM for which I allocated half of the physical amount of RAM (32 div 2) and 20 GB of disk space. I can see the structure of my disks. The 'linux swap' partition took 16GB. ...
CLM's user avatar
  • 13
-1 votes
1 answer
2k views

Is there something wrong with my disk partition?

# fdisk -l Device Boot Start End Blocks Id System /dev/sda1 * 2048 499711 248832 83 Linux /dev/sda2 501758 41940991 20719617 5 Extended ...
Bob's user avatar
  • 1