Questions tagged [lvm]

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.

1504 questions
0
votes
1 answer

Postfix smtp redirected and not sending

I'm new to this so please go easy if I don't explain it lugubriously. I'm admin'ing a debian based KVM/LVM server. It has several VM's on it but two that are the problem. Recently I had to clone VM A so I could test some things but when I restarted…
0
votes
1 answer

scripted resize kvm images

I'm examining the possibility to script the resizing of a kvm image. The goal is to give our customers the possibility to upgrade their vps online. So for instance if a customer has a vps of 10G then they get the option to upgrade to 20G and set the…
Vincent
  • 291
  • 1
  • 4
  • 10
0
votes
2 answers

Trouble enlarging a lvm2 partition - "New size matches existing size"

I have a VM running Ubuntu. It used to have 30GB of space; I need to increase the size of the data partition, a LVM2 one, to 50GB. I changed the size in the VM's management console and this is what fdisk -l tells me: Disk /dev/sda: 53.7 GB,…
Pekka
  • 2,178
  • 3
  • 20
  • 32
0
votes
2 answers

LVM in cluster -- need an advice

I'm trying to configure a 2 node cluster with shared storage, but the configuration is probably little unusual. It is described below: Both nodes have access to a shared storage that has a number of drives. To cluster nodes they appear as local…
Pavel A
  • 153
  • 2
  • 13
0
votes
1 answer

Centos 6.3 disk space allocation

Apache can use only 50GB, so if my websites go over this amount the server crashes. THis VM has 200GB allocated to it. But I did not set up the volumes correctly. How can I allocate some of the space from lv_home over to lv_root? # df…
paul cappucci
  • 111
  • 1
  • 4
0
votes
1 answer

Resize LVM partition DomU Windows

I have a xen DomU running with Windows Server 2003 on a lvm partition has 10GB but i need more. if a Linux partition, I would do: # umount # lvextend -L +10G /dev// # resize2fs /dev// but the partition has inside a partition ntfs in…
rkmax
  • 178
  • 10
  • 29
0
votes
1 answer

Reduce root LVM Parition Centos 6.3

I installed Centos 6.3 as a KVM guest OS, and used the default partition settings. Now I noticed that my / partition is 50GB and my /home is only 20GB. I want to increase my /home to atleast 50GB and / to 20GB. How can I do the above without losing…
NetworkNewbie
  • 135
  • 3
  • 9
0
votes
1 answer

Arch Linux on Software RAID, can't find VolGroupArray

I am trying to install Arch Linux on a Software RAID that I am building following their instructions on the Wiki. I built as far as the Logical Volumes and after that switched to the Installation guide. I formatted the new partitions (root, var and…
Dave Long
  • 349
  • 1
  • 4
  • 15
0
votes
1 answer

adding drbd to an existing lvm

I'm going to add drbd to an existing LVM, I want to keep LVM data. I follow this post: http://lists.linbit.com/pipermail/drbd-user/2009-February/011464.html what I already did stopped kvm virtual machine using LVM backup of LVM data with dd dd…
Lluís
  • 425
  • 1
  • 4
  • 22
0
votes
2 answers

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 seems like an obvious question, but if I removed it,…
0
votes
1 answer

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 is a way to don't lose it, how can I do it? Thank…
enedebe
  • 1,066
  • 3
  • 11
  • 18
0
votes
1 answer

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 the size of directory /opt/splunk/lib. It has had…
SieuTruc
  • 103
  • 1
  • 3
0
votes
3 answers

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 was created in Linux, and is mountable by Linux. The…
JamesHannah
  • 1,731
  • 2
  • 11
  • 24
0
votes
1 answer

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

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 ext4 (no partition table) Do I have to create the…
NevilleDNZ
  • 103
  • 7
0
votes
2 answers

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 if possible, I'd like to recover that from this…
bitwelder
  • 216
  • 3
  • 7