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

learn more… | top users | synonyms

1
vote
3answers
416 views

Debian doesn't boot anymore

I use Debian Wheezy. Yesterday I added a new HDD to the system and expanded the LVM using the system-config-lvm gui-tool. I have a logical LVM group for root, /, and one for home, /home. I also ...
0
votes
2answers
2k views

Create swap partition after install

I already have parititon contain data under lvm enviroment with centos 5.8 output of fdisk -l root@server [~]# fdisk -l Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, ...
2
votes
1answer
517 views

Create Logical Volume with non-LVM partition

I'm not sure if the title actually depicts my question, but I will try to explain. I have seen everywhere it is mentioned to create a partition of type LVM (8e) and then create logical volume with ...
1
vote
1answer
180 views

When should I create a new volume group instead of a new logical volume?

I currently have 3x1TB physical volumes in a VG and a LV that spans the entire capacity of the VG. This LV is meant to store specific files. Now I have another 2TB drive that I want to use LVM with. ...
2
votes
1answer
2k views

fdisk isn't showing my hard drive as properly formatted (but it is)

I've got 3 1TB drives which I've set up to use LVM. Here's the output of pvdisplay: --- Physical volume --- PV Name /dev/sda1 VG Name vgpool PV Size ...
1
vote
1answer
1k views

Updating disk free size without rebooting the host

I use RHEL4 with LVM2 on it. At times even after removing large files more that a GB the partition size is not getting updated when is see using df command. -bash-3.00$ df -h Filesystem ...
5
votes
1answer
696 views

NFS server causes high load even when idle

I have an Ubuntu (12.04) NFS server that has a high load (larger than 10) even when nothing is running. In detail, the storage is provided by an iSCSI device, on which I have 5 logical volumes (LVM) ...
2
votes
2answers
172 views

Transfering whole linux system to a new disk

Few weeks back I installed linux as a virtual machine on my windows 7 system but I didn't gave much thought to(or miscalculated) the size of various partitions and even worse I'm not using 'lvm'. ...
3
votes
2answers
836 views

iSCSI device mapped to different SCSI device

I have an iSCSI disk array connected to a server (Ubuntu). When I login with iscsiadm -m node --login -p 192.168.1.240 the device used to appear as /dev/sdb. I created a volume group with LVM using ...
1
vote
1answer
191 views

Turn on Swap after resize /

I resized with lvresize the swap from 4 to 2G and can't turn it on. swapon /dev/VolGroup/lv_swap swapon: /dev/VolGroup/lv_swap: swapon failed: Invalid argument lvdisplay /dev/VolGroup/lv_swap ...
2
votes
2answers
221 views

after adding one more physical volume and enlarging logical volume, grub fails

Several years ago I installed Debian on my 500 GiB hard disk. During installation I chose to have encrypted filesystem. So installer created one small unencrypted boot partition (I guess that grub ...
1
vote
1answer
571 views

Need to change the mount Point of LVM /u001/app/oracle to /u001/

This is the situation.I installed the RHEL 5.5 on client's system and created LVM mount point at /u001/app/oracle and now he has installed DB on /u001/app/oracle. He is asked me to change the mount ...
1
vote
2answers
1k views

Must the filesystem be unmounted while extending an LVM logical volume?

I have seen some tutorials on extending an LVM2 logical volume. None of them instruct you to unmount the filesystem. They claim that you can extend an LVM volume while it is in use. Is this right?
1
vote
2answers
1k views

How to Extend LVM in Redhat 5.6

I need to Extend the LVM on one server. This is the df -h result. Filesystem Size Used Avail Use% Mounted on /dev/cciss/c0d0p2 58G 26G 29G 48% / /dev/mapper/VolGroup00-LogVol00 ...
2
votes
2answers
885 views

Does swap need to be on a contiguous LVM logical volume

I am setting up a machine to run a number of virtual machines. I am using a single HDD with a boot partition and an LVM partition. I read on the Arch wiki that logcial volumes which will be used for ...
6
votes
3answers
666 views

merging LVM volume groups

Situation: I have a server with 4 1TB drives in LVM as shown below. The server is a openvz hardware node with a dozen or so openvz containers. At this time each container uses one disk only. This ...
1
vote
1answer
429 views

Complete install on RAID1 + LVM

When doing a complete install of Linux is it possible to install everything including /boot on 2 software RAID 1s (4 hdds) + LVM? I haven't been able to figure out whether this is definitely ...
5
votes
2answers
3k views

How can I resize my root partition in Debian?

I am trying to add space to my root partition and am really not sure the safest way to go about it. I have read this thread, Can I resize the root partition without uninstalling and reinstalling ...
1
vote
2answers
755 views

How to resize logical volume to fit filesystem

How can I resize logical volume to fit filesystem automagically?
0
votes
1answer
1k views

How to change the Name of Logical volume in Volume group

I created an LVM and inside that i created Volume Group and within it created Logical Volume and given the mount point /u001/app/pracle I named it wrong instead of ORACLE i it should have been typed ...
0
votes
1answer
353 views

how to have root partition LVM for RHEL 5.8 64 bit on AWS EC2

I am new to this and I have to create a RHEL 5.8 Amazon Machine Image (AMI) in which the root partition should be a logical volume. I know how to create a data partition as a logical volume but am not ...
2
votes
0answers
333 views

Recover MDADM Raid 5 in LVM with badblocks

I'm pretty sure I'm dealing with at stuffed RAID 5 array. Two of the drives were listed as failed in /proc/mdstat and mdadmdetails: 0 0 8 33 0 active sync /dev/sdc1 ...
2
votes
1answer
387 views

Why are there symlinks in /dev? (LVM)

[root@SERVER ~] ls -la /dev/vg/root lrwxrwxrwx 1 root root 17 2012-10-28 10:29 /dev/vg/root -> ../mapper/vg-root [root@SERVER ~] QUESTION: Why are there symlinks? Why there couldn't be only 1 ...
2
votes
1answer
1k views

VBoxManage: Error: Can't be used as the requested device

I used the soluton from this thread but always i get VirtualBox error: The medium 'lvol.vmdk' can't be used as the requested device type (0x80004005) I've tried all controllers SATA, SCSI, IDE and ...
0
votes
1answer
601 views

How to resize root Volume Group

How Can I reduce size of root volume group? /dev/VolGroup00/LogVol00 I just have SSH access to Linux host.
3
votes
0answers
164 views

Setup Cloudmin on Centos installed in LVM

I installed CentOS 6 with default LVM partition pattern. according to this pattern Can I use Cloudmin and store KVM Disks in LVM as Logical Volume? I think Cloudmin requires creating new logical ...
3
votes
2answers
281 views

LVM with SSD and SATA hard disks

Is it possible to create LVM partitions for both SSD and SATA hard disks? I mean if there isn't any conflicts.
5
votes
2answers
2k views

/dev/md127 refuses to stop. No open files

So I'm trying to stop /dev/md127 on my Ubuntu 12.10 box. It was set up as RAID1, but I'm trying to move everything (well, rename) to md0. I read that renaming isn't possible, so I'm trying to remove ...
3
votes
2answers
851 views

Move root filesystem on a logical volume to a different disk

I'm trying to move my root LV to a new VG on my brand new SSD and it's driving me crazy. I think I pulled it off with rsync, but now grub is refusing to register the new boot option off of ...
2
votes
1answer
411 views

Problem with permissions when sharing a mounted filesystem

I am setting up a linux to act as a fileserver, using CentOS 6.3. Since I want to have disk quotas and can't install LVM (it is a 32 bit machine), I am using an LVM volume with ext4 mounted as ...
2
votes
2answers
4k views

New menu entry in GRUB2, “file not found” and “you need to load the kernel first” errors

I wanted to add new menu entry to my GRUB2 list. This is how I tried to do this and necessary info: Erros after choosing "Debian Wheezy" menu entry from GRUB2 list: error:file not found error:you ...
4
votes
1answer
449 views

Alternatives to LVM

I was thinking about alternatives to combine several HDDs together. The only options I know so far are using LVM and/or RAID. The thing is, using LVM, I will most probably lose all data, if one ...
1
vote
2answers
693 views

How to extend second CentOS 5 partition in VMware

I know this question has already been answered for a primary partition, but what about a secondary? I have extended the space to 30G in VMware. When I perform an fdisk -l, here's the output: Disk ...
5
votes
1answer
90 views

Why do some of my lvm partitions have “-real” appended to their names?

In the /dev/mapper directory I can see my lvm partitions, but then I'll see some other ones with the same names, but with "-real" appended to them. What's that about?
2
votes
2answers
894 views

Moving /usr to its own filesystem/logical volume

My Fedora 17 (x64 - running on VMware Workstation 8) root filesystem is running out of space (this was an install using the default layout as suggested by the Fedora installer): # df -h Filesystem ...
6
votes
1answer
2k views

LVM + LUKS + SSD + Gentoo — making it all work together

I'm finding a lot of conflicting information out there, and as of yet haven't found anyone trying to pull together all of the components that I'm trying to do, so I'm hoping someone who understands ...
4
votes
4answers
2k views

Recovering overwritten LVM metadata

Yesterday I was trying using the Debian install in rescue mode in order to fix my Grub (The menu-item for Debian was suddenly gone). Now I wasn't able to fix it and didn't have a lot of time, so I ...
9
votes
1answer
2k views

Defragmentation of LVM2 logical volumes

Question: Is there a tool supporting de-fragmentation of LVM2 logical volumes ? (Making their extents into consistent sequences) Preferably by defining desired order of extents (something like ...
2
votes
2answers
282 views

How come lvextend allocates less than the specified amount of space?

I am trying to extend a volume, let's call it /dev/vol1. I see the initial volume size is 500MB when I call: df --block-size=M /dev/vol1 then to extend it 100MB more I call: lvextend -L+100M ...
5
votes
3answers
3k views

Mapping between logical and physical block device names

I cannot figure out the mapping between different logical and physical block device names. The output of "cat /proc/diskstats" is : 104 0 cciss/c0d0 ... 104 1 cciss/c0d0p1 ... 104 2 ...
2
votes
1answer
1k views

Combine LVM logical volumes?

It's a server with 128GB SSD. There are two LVs, / and /home. I want to combine them into one since the space is limited. I checked the HOW-TO but didn't found the tutorial for this task. How can ...
1
vote
1answer
460 views

Partitioning scheme for a virtual machine host

I am planning to use an Ubuntu Server 12.04 with KVM to create 2 virtual machines. Reading some docs on the net, I have found that a good approach is to use LVM based VM, so my idea is to have: 1 ...
0
votes
3answers
2k views

copy logical volume from one volume group to another

I want to copy a logical volume from one volume group to another on AIX. How can I do this? Is copyvg the right command?
1
vote
3answers
558 views

How to find all disks & their size before using them?

I need to know the following information, before using the harddisk to create logical volumes or database.. Any perl modules or snippet would be of great help. how many hard disks are presented to ...
5
votes
1answer
3k views

Logical volume missing after reboot

Centos- 6, LVM2 after a system hang and hard reboot. lvdisplay and lvscan return no volumes. It had volumes earlier...how to recover? there is data on LV (logical volume) - shared as NFS export.. ...
3
votes
1answer
752 views

dual booting centos5.5 and fedora

I already have centos5.5 on my system whose hard disk is ~500GB. I have tried to dual boot with fedora 16. while installing fedora 16 I have created a ~250GB and ~4GB partitions for "/" and swap. The ...
7
votes
3answers
895 views

Any reason for encrypted /?

I am a big fan of linux and like trying out new distros now and then. I usually have my home folders and roots in a lvm atop an encrypted partition, but this tends to become cumbersome with every ...
3
votes
3answers
1k views

Temporary restore LVM snapshot of root

I have a snapshot of the root filesystem that I want to boot with - bring the machine into a state it was a few days ago, run some tests and then go back to where I am right now. I tried editing ...
5
votes
3answers
939 views

How to resize an LVM partition at the beginning

I have resized lvm partitions in the past, but after the resize there is space at the end of the partition. What I want to achive is to have the space at the beginning of the partition instead. The ...
3
votes
1answer
8k views

gparted live CD can't resize a partition?

I recently ran out of space on a VirtualBox VM (CentOS guest) managed by Vagrant. It was using a .vmdk image, so I couldn't dynamically resize it. Following these instructions, I cloned the old image ...