Logical Volume Management provides storage abstraction, a generalization of disk partitioning.

learn more… | top users | synonyms

2
votes
2answers
84 views

Why is LVM metadata backed up to /etc/lvm and not /boot?

Recent question I saw got me thinking on this particular point: If bootloader restrictions usually cause /boot to be outside LVM, why isn't this the target of LVM metadata backups? Putting it ...
1
vote
1answer
80 views

LVM issue with VM - Physical disk not present

Am trying to troubleshoot an issue that has arisen during a DR test and admit from the outset that LVMs are not my forte. We have a RHEL6 VM running on ESXi 5.1. We are using a LUN to LUN ...
5
votes
3answers
938 views

How can I check for bad blocks on an LVM physical volume?

When you're using ext4, you can check for badblocks with the command e2fsck -c /dev/sda1 # or whatever. This will "blacklist" the blocks by adding them to the bad block inode. What is the equivalent ...
4
votes
3answers
440 views

mdadm with overlaying lvm - remove a hard drive

This is a hypothetical question, I'm just evaluating in which way I should configure my hard drives for my home-server and for that I need to know this: Let's say I have a Raid5 configured with mdadm ...
0
votes
1answer
74 views

Resizing root partition in LVM broke Grub

I'm using Debian Wheezy hosted on W7 in Virtualbox. I needed to enlarge root partition then added a new virtual disk to virtual machine. Doing the steps mentioned below brings me to grub prompt. I: ...
1
vote
1answer
99 views

How to create LV

I want to create some LV in my VG I have this: LV Name /dev/vg_appli/lv_grt LV Size 10,00 GB LV Name /dev/vg_appli/lv_sap LV Size ...
-4
votes
1answer
152 views

Could you someone explain me lvcreate

Could someone explain me this line: lvcreate -l 128 vg_appli -n lv_cmp 128 is the size ?
0
votes
1answer
94 views

Errors when booting with encrypted LVM

When I boot my computer and I have to enter the password of the encrypted lvm, there are always a bunch of annyoing messages like: "usb string descriptor 0 read error: -22". How can I fix that? my ...
7
votes
0answers
274 views

LVM: Couldn't fill logical volume maps

So I have a big problem here. On our server, there is an LVM raid with one volume group called raid. It contained two volumes, secured and unsecured and some unallocated space. Today I tried to remove ...
0
votes
1answer
67 views

rsnapshot LVM without root

I'd like to cron a local backup to a locally mounted USB drive. I'm using rsnapshot and want it to back up an LVM snapshot onto the USB drive. But, unless I run the cron as root it complains that I ...
7
votes
2answers
550 views

Trim with LVM and dm-crypt

I tried to setup TRIM with LVM and dm-crypt on ubuntu 13.04 following this tutorial: http://blog.neutrino.es/2013/howto-properly-activate-trim-for-your-ssd-on-linux-fstrim-lvm-and-dmcrypt/ See the ...
0
votes
1answer
243 views

How can I merge root and home in Fedora?

I've installed fedora with default configuration few months back and now I want to arrange the mount points. /etc/fstab look like that: /dev/mapper/fedora_dhcppc4-root / ext4 ...
2
votes
2answers
178 views

Resizing LVM within a in KVM-based VPS

I have a VPS (based on KVM, not sure which storage technology) for about two years now. It's mainly a learning machine, a utility proxy, or a seldom-used VPN gate, or whatever--no real work, no ...
1
vote
0answers
77 views

benchmarking ftp in 3 methods of virtualization

My Bachelor Final Project is about benchmarking visualization methods with ftp, web and mysql services: installing Debian on xen (para-visualization) kvm and lxc with equal resources config (equal ...
0
votes
0answers
23 views

Reasons to partition an encrypted ssd [duplicate]

I am just setting up a new system with Lubuntu 13.04. I have an SSD and the whole system will be encrypted with the standard LVM + dm-crypt method (as offered by the lubuntu installer). In the past I ...
0
votes
1answer
79 views

Can we create lvm volume group with mapped device?

I can create a lvm volume group with a loop device. But if I use dmsetup to map the loop device into several devices, then I can't create a lvm group with /dev/dm-. Why is it not possible to create ...
1
vote
1answer
63 views

Is it safe to reformat an lvm root partition?

My system currently has a volume group containing root, swap, and home logical volumes. I would like to reinstall the operating system in the root volume and format the partition in the process. I ...
0
votes
2answers
88 views

What's the difference between Linux and Linux LVM?

If I want to install new hard drive should I make the file system Linux or Linux LVM? Also after that I've got to format again with mkfs.ext4. Actually what are we doing? The first one is formatting ...
0
votes
2answers
229 views

list the devices associated with logical volumes without using lvm2 package commands

I want to list all the physical volume associated with logical volume. I know lvdisplay, pvscan, pvdisplay -m could do the job. but I don't want to use these commands. Is there any other way to do it ...
2
votes
2answers
61 views

How to configure hard drive

I have a hard drive that is not configured, it shows this in fdisk -l: Disk /dev/dm-2: 107.4 GB, 107369988096 bytes 255 heads, 63 sectors/track, 13053 cylinders Units = cylinders of 16065 * 512 = ...
3
votes
1answer
144 views

Open luks-encrypted partition from virtual DomU LVM disk containing another LVM

I've gotten myself in a bit of a bind, here. A while ago I set up an encrypted Unbuntu 13.04 under Xen. It's virtual disk is an LVM LV. This LV was presented to the DomU as a (whole) physical disk ...
0
votes
1answer
43 views

Is my volume group dead?

I have a notebook with Scientific Linux 6.4, also a Desktop PC with SL 6.4. The PC didn't booted in a day, saying KERNEL PANIC :) So I tried to get the disk from the PC to the notebook (VolGroup is ...
-2
votes
1answer
243 views

LVM to extend a partition? [duplicate]

I tried to extend my partition with LVM, but not having much success. These are my HDD's in my server. The 2000GB is the new HDD. I would like to add it for my first HDD. root@webstar:~# fdisk -l ...
0
votes
1answer
89 views

How can I use two HDD as one on Debian?

I have installed Debian on my server with a 250GB HDD. Now I have bought another HDD that is 2TB large, but I don't know how I could use that 2TB with my webhosting solution. I heard about LVM, but ...
2
votes
1answer
85 views

Having trouble with LVM snapshot

I have a funtoo linux machine which I am trying to add ubuntu to (thats a whole other issue). It is encrypted with luks and has lvm on top of that. I have a 2 TB harddrive (sdb) which I would like ...
1
vote
0answers
185 views

Can't see my ssd drive when booting using grub on a usb pen

I installed debian on my laptop and everything was fine (I may need to mention that I'm using LVM) until I reached the grub point. Since I have a GPT partition he refuses to install properly. I ...
1
vote
1answer
279 views

HPUX: changing LVM paths or disk device names

Our installed HPUX system has a VG called "vg00" whose data was stored in partition "/dev/dsk/c3t5d0s2" Now that disk failed and we have an exact copy of that disk. However when we use the new disk, ...
0
votes
1answer
44 views

Taking a sparse snapshot

I would like to take a dm snapshot of a drive. I do not want to take the snapshot of the unused and deallocated blocks. Is there any way of determining the used blocks and sectors of a hard drive ...
3
votes
1answer
365 views

Can you create a volumegroup in LVM that all the Logical volumes created under it will be thin provisioned?

I would like to know if it is possible to create a volumegroup in LVM that all the Logical volumes created under it will be thin provisioned? This will be used on RHEL 6 which does include thin ...
5
votes
3answers
2k views

What is the best practice for adding disks in LVM

According to the Linux manpages you can add raw disks as well as partitions to a volume group. In other documentation (RedHat, CentOS or openSUSE), all examples refer to adding partitions to the VG ...
0
votes
1answer
68 views

Linux snapshotting issues [duplicate]

Is there any way to deal with incoming writes while a backup is in progress in linux. Example, you are writing to your sql database and lvm snapshotting at the same time. This will result in corrupted ...
3
votes
1answer
682 views

Install grub on LV container for VM

I'm having difficult time installing grub in LVM LV container for a VM. This is the partition table: # parted /dev/mgtvg/linux2os print Model: Linux device-mapper (linear) (dm) Disk /dev/dm-7: 129GB ...
3
votes
1answer
154 views

Not able to extend the size of an LVM logical volume

During RedHat installation, I created one volume group with two logical volumes in it. Volume Group Name = VolGroup00 LVMs = LogVol00 and LogVol01 LogVol00 size = 48G LogVol01 size = ...
3
votes
1answer
906 views

What's the easiest way to decrypt a disk partition?

I made a mistake of encrypting the entire LVM physical volume (contains both home, root, and swap) when installing a CentOS 6.4 (2.6.32-358.6.1.el6.x86_64) box. I soon came to realize that moving ...
1
vote
2answers
202 views

Transfer a Fedora system to another computer

I'd like to transfer my Fedora to a remote machine. Fedora is under Grub 2.0 and on the remote machine there is a Centos system and Grub 0.97. In fact, I have two questions. First is how to properly ...
1
vote
1answer
89 views

How to add RAID5 to existing crypto-LVM?

I recently installed Debian Wheezy and let the installer guide partition the disk using a whole partition with encryption (LVM). Later on I've added four disks and setup RAID5 on them (using mdadm). ...
1
vote
1answer
147 views

Reading encrypted partition with broken LVM2 inside?

I overwrote some LVM2 metadata in much the same way as Recovering overwritten LVM metadata . That is, I attempted to install Debian 6.0.7 on a system with existing encrypted volumes and LVM2 volumes. ...
1
vote
2answers
262 views

Should I be worried? Segfaults reported in syslog when merging LVM snapshot (reverting the original back to the snapshot)

I was just experimenting with snapshots in LVM on Ubuntu 12.10. I created a snapshot logical volume of 6.5 GiB, and after making some changes to the origin decided to merge the snapshot back in to ...
0
votes
2answers
246 views

Migrate an entire volume group LVM2 to RAID5

I have a Virtual Host server build with Ubuntu and Xen SO Ubuntu 12.04.1 LTS 64Bits xen-hypervisor-4.1 Disk Hitachi SAS 15K 147GB (x2) in a Volume group sda1 1GB /boot sda2 146GB lvm sdb1 ...
5
votes
1answer
312 views

Determining LVM Extent numbers for given file

I'm currently engaged in a non-work related homework exercise. I have an ext4 filesystem sitting on a logical volume. I'm testing different performance tuning strategies and this idea occurred to me. ...
4
votes
1answer
205 views

Do LVM snapshots ultimately cause fragmentation?

I'm planning on using LVM in order to be able to take atomic snapshots of large files and rsync them to a remote site. What I'd like to know is whether there is any long-term impact on the main ...
2
votes
2answers
3k views

Change Partition Table with GParted

I have an Ubuntu 12.04 LTS server that has 6x600GB SAS drives in a RAID 5 configuration (Perc 6/i). The partition scheme looks like this: Partition File System Mount Point Size /dev/sda1 ...
3
votes
3answers
3k views

How do I combine two logical volumes that reside on a single physical volume in LVM?

I have two logical volumes, one is mounted as /, the other is mounted as /home. I want to combine them, because the / volume is constantly running out of space. (Yes, I know what's using all that ...
7
votes
2answers
6k views

How to reduce Volume Group size in LVM?

[root@localhost ~] vgdisplay --- Volume group --- VG Name vg_root System ID Format lvm2 Metadata Areas 1 Metadata Sequence No 7 VG ...
2
votes
1answer
177 views

LVM keeping harddisk awake?

I have a Lenovo W530 running Arch with kernel 3.79 (for bumblebee) and laptop-mode is configured properly and running. It has one SSD (sdb) and one harddisk (sdb). The sdb disk has two lvm-volumes: ...
0
votes
2answers
171 views

How to correct fs size for logical volume

I decreased logical volume lv_postgres size for a 5G. then redistributed free space to other lv lv_home, but didn't do resize2fs for the decreased volume lv_postgres'. At the next boot i fall into ...
1
vote
0answers
36 views

Reasons for choosing primary over logical partitions [duplicate]

I guess anyone knows the benefits of logical volumes. But are there any reasons why I should choose primary partitions if I can?
2
votes
1answer
2k views

How to Format an LVM partition

I need to format a partition. But I have one LVM on my machine (VirtualBox) that is composed of two different two partitions of two Virtual HDD's (sdb5 and sdc5) fdisk output df output
4
votes
2answers
519 views

Is there any performance penalty to having multiple segments for one volume in LVM?

We have a big drive that we've split up using LVM. We allocated one segment to the root filesystem and several other segments to other filesystems. Then we wanted to add more space to the root ...
0
votes
1answer
219 views

Fedora 17-15 old lvm partition reporting incorrect size

After years i decided to upgrade from Fedora 15 to 18, but as per the guidelines only 2 versions can be jumped, so i decided to settle with Fedora 17 and ran preupgrade , all was going fine, till ...