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

learn more… | top users | synonyms

0
votes
2answers
223 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
37 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?
3
votes
1answer
4k 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
676 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
295 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 ...
1
vote
3answers
516 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
3answers
3k 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, ...
3
votes
1answer
886 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
194 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
3k 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 ...
5
votes
1answer
4k 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 ...
0
votes
2answers
471 views

How to format Partition

How can I format the following partition on Redhat 5.2? /dev/mapper/VG00-LogVol 148G 111G 36G 76% /u001/app/oracle
5
votes
1answer
927 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
286 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
1k 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
253 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
243 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
805 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 ...
2
votes
2answers
2k 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
2k views

How to extend LVM in RHEL 5.6

I need to extend the LVM on one server. This is the output of df -h: Filesystem Size Used Avail Use% Mounted on /dev/cciss/c0d0p2 58G 26G 29G 48% / ...
5
votes
2answers
1k 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
1k 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
533 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 ...
6
votes
2answers
6k 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
1k views

How to resize logical volume to fit filesystem

How can I resize logical volume to fit filesystem automagically?
0
votes
1answer
3k 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
491 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
1answer
390 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
494 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
2k 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
642 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
198 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
382 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
4k 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
1k 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
538 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
5k 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
554 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
873 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
103 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
1k 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 ...
7
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
3k 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
350 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
6k 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 ...
3
votes
1answer
2k 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
658 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
3k 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
715 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 ...