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
13 views

Growing an encrypted RAID5 array without causing alignment issues

Question Is there anyway to tell mdadm to make sure a certain logical sector on the RAID-device stays aligned to the beginning of a stripe when growing a RAID5 array? Problem My RAID5 is encrypted ...
0
votes
0answers
31 views

Access an NTFS volume in Linux LVM from Windows

my system dual boots Windows 7 and Debian Linux. My linux partition uses LVM with a root swap setup. My swap size is 18 GB and the root size is 2 TB. I resized my root partition to 750GB to give me ...
1
vote
1answer
50 views

Where is Linux root filesystem on an attached drive

I have a CentOS system with many configurations/applications installed on a hard drive. I have installed a new CentOS system on a different hard drive. I have booted from the new system/hard drive and ...
0
votes
1answer
27 views

Debian: How to boot from btrfs root on LVM on USB?

Using debootstrap I have installed a Debian wheezy system on an external USB drive with the following partitioning layout: /dev/sda: GRUB in MBR L sda1: ext2, /boot L sda2: LVM PV L ...
0
votes
0answers
13 views

installing encrypted manjaro linux with windows

Im trying to install manjaro linux (which is based on arch linux) beside windows 8 (MBR) on my SSD as a encrypted LVM system. I tried doing this through the gui installer but am unable to find LVM ...
0
votes
0answers
15 views

Partitioning a 3TB Drive Using GParted Live CD for Use in CentOS

The CentOS 7 Installer uses fdisk to perform the partitioning. Unfortunately fdisk can only make 2TB partitions. I am going to try and use a gparted live CD to create a 3TB partition and then setup my ...
2
votes
2answers
38 views

How do I permanently reset the UUID of a partition?

I have just started experiencing problems on my Ubuntu install with a (dd cloned) backup of my boot partition - residing on another drive - "taking over" the root mount when booting. So I have, from ...
0
votes
0answers
11 views

Periodic backup of changes on another disk from full backup

I am looking for a backup solution that will enable me to backup only changes to an internal disk after a full backup to an external disk. Also, this should run snapshot backups every day until the ...
-1
votes
2answers
46 views

LVM: How to enlarge the extended partition without data loss?

How to enlarge the extended partition without data loss? Note that I have a LVM logical partition inside of this extended partition. # fdisk -l Device Boot Start End Blocks Id ...
0
votes
1answer
37 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 ...
-1
votes
1answer
35 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 ...
-1
votes
1answer
42 views

BTRFS or LVM heterogeneous RAID

I'm entertaining creating a largish (3.5TB+) backup server for my family. I already own enough hardware, and I don't want to buy any more right now. The config I envision look like this: Two 1TB ...
0
votes
1answer
47 views

vgdisplay shows 0 free PE/size

I'm trying to configure a CentOS HA system with 2 nodes, with DRBD for replicated storage. I'm following the "Clusters from Scratch" guide, and at the DRBD portion, I need to create a partition for ...
2
votes
2answers
144 views

XFS Incorrect statement of “No space left on device”

I have a server setup of an XFS partition on LVM on a Ubuntu 14.04.1 LTS. While copying files to the home partition, "No space left on device" is displayed. df -h displays sufficient space: ...
0
votes
2answers
42 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. ...
1
vote
3answers
51 views

Linux Disk Usage and Disk Size don't agree [Fedora 11]

I'm having an issue on a Xen VM where (running as root) df and baobab agree that 94% of my disk is used (25G out of 28G), but du only counts a fraction of total disk utilization (3.3G). The server ...
0
votes
0answers
12 views

Confusion while cloning the ubuntu

Currently I am working on an Ubuntu system (which is not mine). Now I have to create a backup on the other hard drive, such that I can replicate/install my whole system on the other system. After ...
0
votes
2answers
38 views

Is there something analogue to LVM logical volumes in BTRFS?

I like the way BTRFS does snapshots and subvolumes but it does not feel right to use LVM just because I want my logical volume to be of certain size. Is there something analogue to LVM logical ...
1
vote
1answer
65 views

Recover LVM with software raid

I have a Synology NAS using SHR mode, which is basically LVM and Raid 5. Somehow my LVM volume became corrupted and won't mount anymore. This volume houses over 20TB of data, and most of it is NOT ...
0
votes
0answers
72 views

How do I migrate a virtual machine using LVM from VirtualBox to KVM?

I have a virtual machine running CentOS on VirtualBox with a drive that uses LVM for partitioning / volume management. I need to migrate the vm to a linux-kvm host machine. Here's the steps I've ...
0
votes
0answers
207 views

mounting and accessing Encrypted LVM after reinstallation of Linux

I had Fedora installed on a LVM & had my /home & another file systems in it encrypted. ( i remember the passwords but forgot the cipher protocol used ) Now, I installed Ubuntu without ...
1
vote
0answers
20 views

Ext3-formated hard drive is corrupted

I have two hard drives put together to one logical volume. Both hard drives are ext3 formated I'm running rasbian For a few days now mounting the LV failes. I receive the following error message when ...
0
votes
1answer
45 views

How to create new partitions for a linux system that contains Logical volumes [duplicate]

I am trying to add new partitions which are not logical volumes. But I have a system with logical volumes. I tried reducing the lv_home partition size using ‘lvresize’, and reduced a LV size by 5GB ...
0
votes
0answers
34 views

LVM physical volume priority

Linux LVM can combine several physical volumes in one group and when spread space of this group among logical volumes. If some slow devices will be added to group it may slow down all logical ...
1
vote
0answers
186 views

Redundancy: LVM+mdadm or LVM internal RAID

The task is to create LVM storage for virtual machine images. So LVM will be used in any case. There are two ways LVM providing redundancy: block mirroring lvcreate -m 1 --mirrorlog mirrored -n ...
0
votes
1answer
95 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 ...
0
votes
2answers
63 views

How to increase disk space in linux

I searched but can’t find a simple solution and easy to implement. I have a VM with two disks, one with 50Gb and other with 20Gb, and I need to increase 10Gb in the disk of 50GB so that you have ...
0
votes
1answer
114 views

How to recover windows from an LVM encrypted ubuntu install

I was trying out ubuntu 14.04 and I chose the option of using a LVM encrytion, Now I cnat load windows or even access them from ubuntu, I have looked all over the internet for tutorials but none of ...
0
votes
0answers
78 views

LVM Disk Fault Correction Issue

I've been having some problems with my LVM disk array. First off i was suspecting a failing hard disk smartctl /dev/sde # 1 Extended offline Completed: read failure 90% 4861 280578 # 2 Short ...
1
vote
0answers
60 views

Linux Partition with SSD and HDD

I'm currently setting up my server and I don't get how to choose Disk 1 and Disk 2 for the partition. vg0 should be the HDD and vg1 the ssd. Maybe you can help me how to set up such in this syntax. ...
0
votes
0answers
22 views

Is it possible to spawn any kind of terminal on dedicated lan card before entering LVM volume passphrase?

I got IBM x3500 m2 server running Ubuntu server on encrypted LVM volume. This machine has one slower LAN card for service purposes. Is there any way to spawn some kind of console on it BEFORE ...
0
votes
0answers
201 views

Fedora 20 stopped booting after migrating to RAID array

I have decided to migrate my working Fedora 20 installation onto RAID-1 software array. After this operation, I have a problem with booting my system. Background My machine is MacBook Pro (Early ...
0
votes
1answer
100 views

how to recover pv and lvm with no lvm export?

hi i have a server which its first hdd was broken , the server has 2 HDD , the first hdd crashed . datacenter replaced it for me with a new hdd. the second hdd use to have 2 pv on 2 partitions , ...
0
votes
1answer
32 views

size of extent on LVM2

in LVM1 there was a limit of 65k extends. So size of extent had to been chosen carefully between wasted space on partitions (to big extent) and maximal possible size of logical volume (too small ...
0
votes
2answers
353 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 ...
0
votes
0answers
17 views

KVM images not reading from custom location

In CentOS linux server I have a disk scenario as , A LV with vg0 in it and in that I have created a directory with intention as KVM have to read the images from this location. I have set KVM to read ...
0
votes
1answer
36 views

Can I give the partitions in my xen guests friendly names?

I've got a bunch of LVM logical volumes on a machine running Xen, with descriptive names like "photos". When I attach them to a Xen guest, the standard is to give them unmemorable names like xvda1, ...
0
votes
0answers
25 views

issue mounting LV to /tmp in RHEL

I tried mounting an LV to the /tmp directory and it has seemed to mess up my RHEL VM. To mount, I did the following: 1. Added following line to fstab: /dev/VolGroup00/lvol0 /tmp ext3 ...
0
votes
0answers
95 views

How to make user-friendly “time machine” with my LVM thin-provisioned partitions?

I have setup all of my partitions on LVM thin-provisioned device. In some article I've read that this allows me to make incremental snapshots in a simple manner - move back and forward between them. ...
0
votes
0answers
65 views

hdparm slow on LVM

I have a ec2 ubuntu with some EBS volumes and a LVM with three EBS. When i hdparm on a single EBS volume i am getting: sudo hdparm -Tt /dev/xvdb /dev/xvdb: Timing cached reads: 12522 MB in 1.99 ...
1
vote
0answers
333 views

How to configure RAID 1 on Intel Rapid Storage, and partitioning design

I would like guidance on setting up a RAID 1 system from BIOS with Intel Rapid Storage. System details: I have Click BIOS II running on a MSI motherboard (Z77A-G43). I also have 2 x 2TB hard drives. ...
0
votes
0answers
20 views

Scriptable resize (enlargement) of partition inside LV to end of LV?

I'm trying to automate some KVM installs, and I need to fit an existing image onto a newly created LV. The image is partitioned minimally, so I need a way to enlarge the first partition from the ...
0
votes
0answers
122 views

IOWAIT on removing a stale iSCSI LUN via configfs

I've got a bit of an interesting situation here. I'm currently operating on a system that uses LVM logical volumes to host iSCSI LUNs, which are configured via configfs (!). Somehow, one of those ...
0
votes
2answers
99 views

How to enlarge “/”?

I'm using Red Hat 6.3 MP with two disks: VMware virtual disc (sda) with: /boot (sda1) swap (sda2) lvm2-disc (sda3) /dev/dm-0 mounted on / On /dev/dm-0, there is no free space available. ...
0
votes
1answer
125 views

Linux software RAID 10 on mixed drives - alignment

I have 4 2.5" 7.2k drives lying about and I'd like to build some RAID arrays for a bit of VM storage on my KVM lab box. There are 2x 320GB drives and 2x 500GB drives. I'm looking to create a RAID 10 ...
1
vote
2answers
431 views

Has anyone encountered this error? read error on /dev/sdc - cannot read sector 0?

/dev/sdc: read failed after 0 of 1024 at 0: Input/output error /dev/sdc: read failed after 0 of 1024 at 2499819012096: Input/output error /dev/sdc: read failed after 0 of 1024 at 2499819130880: ...
0
votes
2answers
319 views

Can't rename volume group in linux that had hyphens/dashes in name

I made a typo when I created an LVM group under Centos 6.4. I'm trying to rename using the syntax vgrename /dev/mapper/oldVG /dev/mapper/newVG. However, both the old and new VGs have hyphens in the ...
0
votes
0answers
1k views

Converting LVM/EXT4 to ZFS without losing data

I have a home media server with 2 x 3TB drives in it. Its currently set up using mdraid (1), LVM and EXT4. The setup was done using the ncurses Ubuntu Server installer. Goal Convert the setup to use ...
3
votes
1answer
87 views

Mount volume group(OnApp)

I am attempting to get OnApp setup in a lab using the following documents: OnApp Installation Guide I am one step away from success and to my knowledge based on the information given and my(limited) ...
0
votes
1answer
133 views

How to resize LVM /home and /usr partitions

I need to increase the space on my /usr partition, however I cannot shrink my /home partition, as the manager requires unmounting, which cannot happen while the system is running. I am running Debian ...