In computer storage, Logical Volume Management or LVM provides a method of allocating space on mass-storage devices that is more flexible than conventional partitioning schemes.

learn more… | top users | synonyms (1)

1
vote
1answer
252 views

Problems mounting HPUX LVM+VXFS filesystem on Linux

I have a physical disk from a HPUX system that I need to access from a Debian Linux for ia64 system. From the hpux-lvm-tools project I have the tools to access the HPUX LVMs (Linux LVM has a different ...
0
votes
2answers
95 views

Resizing LVM and data loss

I currently have a LVM volume that is 128 GB. It has one physical drive associated to it. If I were to add a second drive to expand it, but then later remove it, would I get data loss. I know that ...
3
votes
1answer
523 views

Mounting an old LVM hard drive in Fedora 17 gives error message

On Fedora 17, I am trying to mount a hard drive as slave using the following command: mount /dev/sda5 /mnt/fedora8 And I get this error: mount: unknown filesystem type 'LVM2_member' How do I ...
1
vote
2answers
185 views

add space to virtual disk on vmware

I have a VMWare Server 3.5 system with 2 VMs. On one powered on vm I changed the disk size from 1TB to 1,5TB. But the vm didn't see any new unallocated space so that I reboot twice the server. But ...
0
votes
0answers
88 views

Reversing an lvreduce of LVM to original size

On a RHEL system that uses LVM 2 with 4K blocks. Have been successful in reducing the LV, but trying to get steps to reverse the operation so that the LV returns to its original size. Using these ...
1
vote
0answers
132 views

pvcreate not working: can't open exclusively

After having added 2 disks of 1Tb to a Dell PowerEdge, I went through their initialization with the goal to add them to an existing LVM VG. When the MegaCli background initialization went complete, I ...
1
vote
0answers
71 views

Single drive LVM to RAID6 LVM

I cloned my entire LVM volume group from a single drive to a RAID5 array with 3 disks. The VG is formed by these logical volumes: root swap home ... and other volumes of some XEN virtual machines. ...
0
votes
0answers
432 views

How To Recover A Partial LVM Logical Volume? [closed]

Update: We can use ddrescue to dump what's left in the root LV and then use photorec or testdisk to recover from the dump. Example: ddrescue -n /dev/mapper/VG-LV /path/to/the/dump ddrescue.log See: ...
0
votes
2answers
100 views

where on disk is space allocated for new files inside LVM lv with ext4 file system?

I run a multi-disk server with LVM2. Several large disks serve as LVM2 physical volumes for one volume group, containing one logical volume formatted with ext4. Nothing fancy, just your standard ...
12
votes
3answers
2k views

Improving IO with FlashCache

I have a server with 2 HDD's (2x 1 TB), running in RAID 1 (SW-RAID). I want to improve IO performance by using flashcache. There are running KVM virtual machines on it, using LVM. Regarding this, I ...
-1
votes
1answer
149 views

How to mount logical volume?

I have this problem on mounting a logical volume. I have done some research and still have not found solution. I have read this http://superuser.com/questions/116617/how-to-mount-lvm-volume also but I ...
0
votes
1answer
41 views

Create a LVM with disk full of data

I'm starting with LVM and I would like to know if when I create a LVM with different disks and one of them has data, when I create virtual volumes will make me loose all the data stored. And if there ...
0
votes
1answer
94 views

How to add more hard disk to LVM2 , and move data to the new one?

I have one Volume Group (named system) with 2 Logical volumes (/dev/system/swap and /dev/system/root) in one Physical volume (/dev/sda2) . I want to add one more hard disk to that VG that will extend ...
1
vote
1answer
101 views

kvm/vmbuilder partitions are smaller than they should be, 10% of logical volume always unallocated

I use the vmbuilder tool to create KVM virtual machines on my ubuntu host system. For each vm I set up a vmbuilder.partitions textfile in which the partition sizes for the vm are defined. As simple ...
1
vote
0answers
180 views

linux hardware raid 10 / lvm / virtual machine partition alignment and filesystem optimization

I've been reading everything I can find about partition alignment and filesystem optimization (ext4 and xfs) but still don't know enough to be confident in setting up my current configuration. My ...
0
votes
3answers
214 views

Can Windows read an unpartitioned NTFS volume? (Single large partition)

So, for various reasons, I've ended up with a 45TB Single Linux Logical volume, without a partition table, formatted as NTFS containing 28TB of data (the Filesystem itself is 28TB). The filesystem ...
0
votes
0answers
25 views

Does SSD TRIM (discard) work on ext4 + nested LVM in Linux? [duplicate]

Possible Duplicate: Possible to get SSD TRIM (discard) working on ext4 + LVM + software RAID in Linux? I will be setting up KVM guests on a computer of mine soon. I plan to run Ubuntu ...
1
vote
2answers
113 views

A proper way to split a partition and move directory

Currently, I have Ubuntu 12.04 set up with the following partitions: 500G disk with LVM 80GB root   4GB swap_1 I want to move the folder /opt to a new LV, for example: 500G disk with LVM root ...
0
votes
0answers
79 views

Automatically creating volume partitions on system reboot

I followed this guide: http://www.mongodb.org/display/DOCS/Amazon+EC2+Quickstart to set up Mongodb. It had me create a RAID 10 array out of the four devices on EBS. Then it had me create a physical ...
0
votes
0answers
56 views

Create a Rawdisk from LV with partitions

For emergency in my old machine (CentOS with Xen server) i made clone my LVs with dd example: dd if=/dev/vg/lv0 of=/backups/vg_lv0.dd now in my new machine i've created a LV with the same size ...
3
votes
2answers
456 views

Does Proxmox VE Support LVM as block storage for KVM guests?

Does Proxmox VE Support LVM as block storage for KVM guests to avoid the overhead of going through the filesystem layer on the host system ?
3
votes
1answer
448 views

mdadm+zfs vs mdadm+lvm

This may be a naive question since I'm new to this and I cannot find any results about mdadm+zfs, but after some testing it seems it might work: The use case is a server with RAID6 for some data that ...
0
votes
0answers
236 views

backup of KVM VM's running on Ubuntu 12.4.1 precise edition from a remote machine

I am creating a library API which will take the backup of all the VM's running on KVM hypervisor. My VM's can be of any type. I am taking this backup from a remote machine and need to put the backup ...
1
vote
0answers
60 views

Setup cloadmin 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?
1
vote
1answer
202 views

Moving /var from LVM to a non-LVM disk

I inherited an LVM based centos setup where root is at an LVM partiton. I want to move my /var to a new harddisk without adding it to the LVM group. Is it possible to mount the new harddisk to /var ...
0
votes
1answer
515 views

Xenserver 5.6 SR_BACKEND_FAILURE_47 no such volume group, but it is there

I've looked everywhere (Google, here, a bunch of other sites), and while I have found people with similar problems, I couldn't find a single one with a solution to this. Last night our xenserver 5.6 ...
1
vote
1answer
380 views

Can I lvreduce after lvextend without losing the ext4 partition inside it?

In a botched attempt to move my root partition from one disk to another I have done the following: added new disk partitioned it with parted (part #3 is now almost totally filling the disk) ...
0
votes
0answers
57 views

Copy Logical Volume data to RAID 1 in CentOS 6.2

I have an existing CentOS 6.2 system with drives having this partition: sda --sda1 - ext4 - /boot --sda2 - physical volume Logical Volume --VolGroup -----lv_root -----lv_home -----lv_swap sdb ...
0
votes
0answers
35 views

Logical Volume in RAID 1

I have an existing CentOS 6.2 system with drives having this partition: sda --sda1 - ext4 - /boot --sda2 - physical volume Logical Volume --VolGroup -----lv_root -----lv_home -----lv_swap sdb -free ...
4
votes
2answers
88 views

Accessing the partitions on an LVM volume

Suppose you have an LVM volume /dev/vg0/mylv. You have presented this as a virtual disk to a virtualised or emulated guest system. During installation the guest system sees it as /dev/sda and ...
1
vote
1answer
77 views

File system prefer to write low LBA first?

Maybe the title is confusing, but let me explain a little... Our mysql servers (on xen virtual machine) sometimes generate huge tmp files on disk. So we need a big tmpdir to store them. And we decide ...
1
vote
0answers
81 views

command line LVM issue on CentOS 5

I am able to create from using lvm GUI to do as follows: /dev/var-v0l/var /var ext3 defaults 1 2 /dev/varopt-vol/var-opt /var/opt ext3 defaults 1 2 ...
3
votes
3answers
930 views

Does LVM need a partition table?

It appears that I am able to successfully do a pvcreate on top of a raw block device, without ever taking the step of creating a partition table. I am then able to create a volume group, logical ...
0
votes
1answer
155 views

Booting Fedora guest VBox on /dev/mapper/vg0-fc17-root [closed]

I already have the following logical volumes: host:/dev/mapper/vg0-fc17-boot (guestOS:/dev/hdb) formatted as ext4 (no partition table) host:/dev/mapper/vg0-fc17-root (guestOS:/dev/hdc) formatted as ...
0
votes
1answer
119 views

create raid10 with lvm

I came across an error when I create RAID10 with LVM2. I have four PVs and when I create LV using this command: sudo lvcreate --mirrors 1 --stripes 2 -l7630 -n lv0 vg0 --corelog display the VG, it ...
2
votes
1answer
59 views

LVM2 volume group lost

I updated one of my servers, but - although I took care not to modify - the volume groups on /dev/sdb1 were lost, although the physical volumes seem to be still there: [root@server ~]# pvscan PV ...
1
vote
2answers
175 views

LVM issue: cannot resize to N extents as M are allocated

I setup default Fedora partitioning with LVM. Now, I would like to shrink my partition to create 1 new partition. Could you please help me understand why I am getting such error? [root@host]# lvm ...
0
votes
2answers
361 views

Recovering a mdadm+lvm+ext4 partition with read error

One of disks in my NAS has failed. The NAS is running Linux, and it uses mdadm + LVM technology for its filesystems. I do have backup for most of the contents, but not for the very last changes, and ...
2
votes
2answers
207 views

backing up MySQL living on a SAN using LVM snapshots. is this doable?

So I was looking into LVM snapshots and it seems like a feasible method for backing up mysql so that it's at least crash consistent. My issue is that I have mysql servers where the mysql data ...
0
votes
1answer
251 views

disk showing busy

Want to create LV Group but when i unmount /dev/sda5 this showing [root@xen01 ~]# umount /dev/sda5 umount: /: device is busy umount: /: device is busy This means disk /dev/sda5 is ...
3
votes
1answer
725 views

LVM logical volume partition corrupted after lvreduce

I encounter the problem when I try to shrink one logical volume. I took the actions as following steps shows: # unmount /home # lvreduce --size -100G /dev/vg_dev/lv_home # lvdisplay ...
1
vote
1answer
242 views

Testdisk won’t list files for an ext4 partition inside a LVM inside a LUKS partition

I have accidentally deleted a file that I want to recover. The partition is an ext4 partition inside an LVM partition that is encrypted with dm-crypt/LUKS. The encrypted LUKS partition is: /dev/sda2 ...
1
vote
2answers
244 views

Kernel panic when bringing up DRBD resource

I'm trying to set up two machines synchonizing with DRBD. The storage is setup as follows: PV -> LVM -> DRBD -> CLVM -> GFS2. DRBD is set up in dual primary mode. The first server is set up and ...
0
votes
0answers
323 views

I/O error on non-existent device?

Getting the following in /var/log/messages: Sep 17 10:38:53 server1 kernel: end_request: I/O error, dev sde, sector 0 Sep 17 10:38:53 server1 kernel: end_request: I/O error, dev sde, sector 63 Sep 17 ...
2
votes
1answer
1k views

How to stop a Linux LVM volume group?

I am currently dealing with a multiple disk failure on a Linux LVM Volume Group that is backed up by a RAID-5 md device. One disk has been taken out completely and another one is showing a limited ...
0
votes
1answer
40 views

Can I use free space of a used partition as Volume Group?

Is it possible to use free space of a partition mounted on / as volume group? I mean creating VG on that free space, does it cause any problem?
0
votes
3answers
922 views

Can't create LVM due to: not found (or ignored by filtering)

I'm planning to use LVM for KVM, and when I try to create a VG it fails, so how can I create my VG and LV ? Thanks [root@server ~]# vgcreate virtual-machines /dev/sda Device /dev/sda not found (or ...
0
votes
0answers
59 views

raid1 lvm2 recovery

One, i set up a raid 1 and then used lvm for the partitions. Maybe the other way round. i'm very confused now. I need to recover the data from the one disk, unfortunately one disk is dead. i remember ...
0
votes
0answers
127 views

can't start the os after i clone a virtual os using LVM

i installed an SUSE-11-x86_64 os on vsphere using LVM(logical volume management) and then clone a new one using Converter which take about 15 minutes, obviously, it take less time than clone the os ...
5
votes
3answers
2k views

How to resize root LVM partition in Fedora without LiveCD or Rebooting

I have a virtual machine that recently had its disk image increased from 20GB to 50GB, and fdisk -l verifies that the VM can see this new size. Now I need to resize my root LVM partition to fill the ...

1 2 3 4 5 13