0
votes
1answer
33 views

How to create new partitions for a linux system that contains Logical volumes [duplicate]

I am trying to add new partitions which are not logical volumes. But I have a system with logical volumes. I tried reducing the lv_home partition size using ‘lvresize’, and reduced a LV size by 5GB ...
0
votes
1answer
67 views

Enlarged partition, filesystem still reports old size

I resized the root partition with GParted, from 20 GB to 40 GB, but the filesystem still reports a size of 20 GB. How can I use all 40 GB? Update The resized partition was an LVM Physical Volume ...
1
vote
0answers
45 views

Linux Partition with SSD and HDD

I'm currently setting up my server and I don't get how to choose Disk 1 and Disk 2 for the partition. vg0 should be the HDD and vg1 the ssd. Maybe you can help me how to set up such in this syntax. ...
0
votes
0answers
635 views

How to increase lvm size in Fedora 20 ( partitions already messed up )

hi all i have two partitions one is used for f20 , and another is ntfs. i didn't know that gparted should not be used any more, and system-config-lvm has retired and not in repo anymore, so i boot up ...
0
votes
1answer
71 views

how to recover pv and lvm with no lvm export?

hi i have a server which its first hdd was broken , the server has 2 HDD , the first hdd crashed . datacenter replaced it for me with a new hdd. the second hdd use to have 2 pv on 2 partitions , ...
0
votes
1answer
25 views

size of extent on LVM2

in LVM1 there was a limit of 65k extends. So size of extent had to been chosen carefully between wasted space on partitions (to big extent) and maximal possible size of logical volume (too small ...
0
votes
2answers
155 views

How can I shrink a Logical Volume, and re-allocate the freed space into a new partition on the same drive?

I have a drive, sda. It has two partitions: sda1: /boot sda2: LVM managed in Volume Group volgrp01 volgrp01 contains the following Logical Volumes: lv_root (30 GB) lv_swap (8 GB) lv_scratch (430 ...
0
votes
0answers
65 views

How to make user-friendly “time machine” with my LVM thin-provisioned partitions?

I have setup all of my partitions on LVM thin-provisioned device. In some article I've read that this allows me to make incremental snapshots in a simple manner - move back and forward between them. ...
1
vote
0answers
171 views

How to configure RAID 1 on Intel Rapid Storage, and partitioning design

I would like guidance on setting up a RAID 1 system from BIOS with Intel Rapid Storage. System details: I have Click BIOS II running on a MSI motherboard (Z77A-G43). I also have 2 x 2TB hard drives. ...
0
votes
0answers
19 views

Scriptable resize (enlargement) of partition inside LV to end of LV?

I'm trying to automate some KVM installs, and I need to fit an existing image onto a newly created LV. The image is partitioned minimally, so I need a way to enlarge the first partition from the ...
0
votes
1answer
95 views

Linux software RAID 10 on mixed drives - alignment

I have 4 2.5" 7.2k drives lying about and I'd like to build some RAID arrays for a bit of VM storage on my KVM lab box. There are 2x 320GB drives and 2x 500GB drives. I'm looking to create a RAID 10 ...
0
votes
2answers
122 views

Has anyone encountered this error? read error on /dev/sdc - cannot read sector 0?

/dev/sdc: read failed after 0 of 1024 at 0: Input/output error /dev/sdc: read failed after 0 of 1024 at 2499819012096: Input/output error /dev/sdc: read failed after 0 of 1024 at 2499819130880: ...
0
votes
1answer
76 views

How to resize LVM /home and /usr partitions

I need to increase the space on my /usr partition, however I cannot shrink my /home partition, as the manager requires unmounting, which cannot happen while the system is running. I am running Debian ...
0
votes
0answers
25 views

Corruption of LVM physical volume

I had tried putting a FreePBX install CD and went through the menus, and because I had selected "HA" mode, without warning it began overwriting the partition data. I stopped and rebooted very quickly ...
1
vote
0answers
31 views

How to use LVM to separate large data?

I have an ultrabook with two discs, an HDD with 500GB and an SSD with 32GB. My SSD is partitioned for /boot, / and /efi, and my HDD is for SWAP and /media/userdata (mainly, media). I was thinking of ...
1
vote
0answers
91 views

LVM Unable to remove physical volume

Aim: To remove the physical volume from the LVM in order to reformat it. LVM Setup: 1x 2TB HDD 1x 3TB HDD Problem: When trying to pvmove, I get an error saying "No extents available for allocation" ...
2
votes
0answers
4k views

How to resize an lvm volume (after lvresize got corrupted. is it possible to revert?)?

I did following under the root login (shrinking /home, expanding /var): umount /home lvresize -L-7G /dev/mapper/myvg-home it was warning: WARNING: Reducing active logical volume to 28.89 GiB ...
0
votes
0answers
336 views

pvdisplay/pvscan not seeing old disks physical volumes

Today I upgraded my FC18 system to FC19 by installing to a new disk. Once booted I expected to be able to mount the previous boot disk logical volumes but the physical volumes are not visible to ...
4
votes
1answer
457 views

Extend volume group after extending physical volume

I am using LVM to allocate disk for my VMs so I can increase the "physical disk size". The only way I found to merge this free space to my VM Volume Group was: create a partition on new free space ...
0
votes
1answer
188 views

How to set LVM for the whole disk and all remove already created partitions after installed Debian?

I have a dedicated server. I could only install a Debian. It was installed as hidden automated process. I would like now to use LVM and actually partition whole disk with another scheme. Is it ...
0
votes
1answer
113 views

Partition 3TB disk as 1 primary partition or as 2*1.5TB in a LVM?

I have a Debian box that I am about to restore from backup since the old 2TB disk crashed and died. So I have a new 3TB disk that will replace him, but when I filled the 3TB partition with the same ...
0
votes
0answers
234 views

LVM woes - is it possible to recover data from LVM?

I think I've cocked up a smidge, so asking for some advice. I have 4 drives in my machine: sda - OS sdb-d - sdb1, sdc1, sdd1 - swap sdb2, sdc2, sdd2 - LVM Total logical volume size ...
1
vote
1answer
2k views

Fedora 18 add new hard disk with LVM Partition

I recently built my 1st computer and realized today that despite having multiple hard disks, I'm out of space because I did not set up the partitions correctly. I am trying to add two of my hard ...
1
vote
2answers
95 views

Options for treating multiple partitions as one

I have an HDD partitioned with one partition used for media files, mounted somewhere on my system (which is a Debian Wheezy box). I would like to expand the space available for files in my mount ...
0
votes
1answer
394 views

Debian 6.0.6 Squeeze: Expand LVM to fill expanded virtual hard disk

I am running VMWare ESXi with multiple virtual machines. One of which is running Debian 6.0.6 Squeeze (x86_64) and had a thin provisioned hard disk of 16GB. This has now become full, so I expanded the ...
0
votes
0answers
113 views

What is the right way to re-partition a disk with already installed linux?

What is the right way to fully re-partition my HDD (on a VPS -> no access to hardware), if there is currently installed a Debian Squeeze? I would like to create all encrypted LVM partitions, e.g.: ...
0
votes
1answer
100 views

How to create physical and logical volumes on system reboot

My system is set up so that I take four devices, create a RAID 10 array out of them, create a physical volume, a volume group, and then three logical volumes, and lastly I create filesystems out of ...
1
vote
2answers
176 views

Extending the /home partition

I currently have all my backups in /home. I added a new 2 TB disk in the machine and would like to extend my current /home partition by 2 TB (possibly with LVM). However, I don't want to lose my data ...
0
votes
1answer
942 views

Move home to partition or resize home to fit partition

I've two disks in my PC. My /home is in the /dev/sda3 so it's on sda1. Then I have another disk formated and mounted as /data in /dev/sdb1. I want to move /home to /data or delete data complety and ...
1
vote
1answer
59 views

A tiered approach to cloning linux partitons

I'm looking at a strategy for cloning Linux (root) partitions without having to use a Live CD. Literature suggests rightly that the source and target partitions must be umounted to be able to get a ...
1
vote
1answer
943 views

resizing/moving LVM volumes

I have a server machine running CentOS 6.2. It is configured using LVM mapping as it is the default and I didn't see any problem with going that way. I have a 500Gb drive in there right now, and 54Gb ...
0
votes
3answers
593 views

Best way to partition 1 TB (Linux and Windows 7)

Is there an intelligent way to partition 1 TB and be prepared for resizing/adding/deleting partitions? I was thinking about LVM, but as far as I remember, Windows 7 can't be installed on ...
1
vote
1answer
817 views

Simple Ubuntu Server - Expanding disk space - adding a new drive LVM, RAID0 existing setup - how?

I have a 1TB ext4 partition mounted at / with all my data and Ubuntu 11.04 (natty) installed. Now this drive is almost full (I used it as a database server for some processing). RAID0 is ok, I can ...
1
vote
1answer
252 views

Add partition to Windows XP Guest after extending Logical Volume on host?

How do I add a partition to a Windows XP Guest after extending the Logical Volume on the host? I have a CentOS 6 Server running several virtual machines, one of which is a Windows XP Guest. The ...
2
votes
1answer
544 views

Linux command line partition manager with LVM

I need to write a program to format SD card with, FAT boot, ext4 and swap partitions. I would like the ext4 to use LVM. Ideally there would be scope for mdadm. I need help finding a command line ...
1
vote
1answer
910 views

How to revert a shrink of an LVM volume

I had a Linux LVM volume that was about 400 GB. I shrank it to 217 GB following the steps below. umount /local e2fsck -f /dev/mapper/vg00-lvol2 resize2fs /dev/mapper/vg00-lvol2 217G lvresize -L 217G ...
1
vote
0answers
69 views

How to create a partition on a shrunk LVM volume

I have a Linux LVM volume that is about 400 GB. I have shrunk it to 200 GB to get some space for a new NTFS partition on which I can install Win7. umount /local e2fsck -f /dev/mapper/vg00-lvol2 ...
12
votes
2answers
10k views

How do you add more space to a Fedora (LVM) partition?

In a nutshell, i have a VM that ran out of space. I increased the size of the VM's harddrive to be 4 times bigger but the OS partition is still only using 1x the space. I need to change the LVM ...
1
vote
1answer
436 views

Fedora15 - Help me understand how cryptsetup and LVM interact

Upgrading F11 to F15 I've decided to encrypt the disk. Anaconda appears to have limited support for custom disk partitions (mine is dual boot). The result of my second install attempt was a PV boot ...
5
votes
1answer
2k views

Moving a LVM/LUKS encrypted partition to the end of a harddrive?

I need to move a LUKS encrypted partition to the end of a harddrive to expand another partition. Does anyone know how to do this? Is it possible to do this with other partition editing programs? ...
0
votes
1answer
80 views

Have Desktop Ubuntu Installed with 2nd HD having 2 LVM partitions: want to install LAMP

I have Ubuntu 10.04LTS Desktop version installed on a 300GB HD. I also have another 300HD divided into two 150GB LVM partitions neither of which are used at this time. I want to install LAMP and run ...
8
votes
5answers
5k views

How to allocate limited SSD space in LVM for optimal performance

I just got a new SSD, and I'm looking for advice on how best to incorporate it into my existing LVM setup. I have the following logical volumes (mounted at the obvious places): # lvs LV ...
1
vote
1answer
445 views

how to multi-boot/upgrade Linux from LVM-based partition

I currently have FC3 Linux which installed itself on the hard disk using LVM partitioning, so it is basically all one big partition. I would like to try some other distributions and upgrade to ...
10
votes
4answers
31k views

Is there a simple way to move/copy a logical volume from one volume group to another? (LVM2)

I'm rearranging a bunch of disks on my server at home and I find myself in the position of wanting to move a bunch of LVM logical volumes to another volume group. Is there a simple way to do this? I ...
6
votes
1answer
2k views

How can I resize a partition managed by LVM?

I have a fresh CentOS install on my machine and I would like to make space on the drive available in order to install Arch Linux. Unfortunately, LVM is new to me and doesn't appear to work well ...
0
votes
1answer
183 views

How to cancel the Linux LVM configuration?

I have installed Fedora 12. By default it is installed with logical volume configuration. Now I need to cancel the LVM and use simple flat partitions. My main concern now is not to lose my data. Any ...
0
votes
3answers
4k views

Merge LVM Partition with unallocated Space

I have a linux hard drive with three areas: /dev/hda1 - ext3 boot partition (20 MB) /dev/hda2 - lvm2 main partition (6 GB) unpartitioned space - 12 GB I would like to merge the unpartitioned space ...
2
votes
1answer
533 views

Gparted: Copy Greyed Out

I booted my system to a gparted linux live CD and I have two partitions: /dev/sda1 /dev/sda2 I want to move both of them to my new physical hard drive (called /dev/sdb). When I right click on ...
0
votes
2answers
453 views

LVM Extend… not sure the filesystem

I would like to extend my LVM partition. First I did lvextend -L +100G /dev/server/home Now I still have to extend the filesystem. The tutorials tell me to use resize2fs, but that only works for ...
1
vote
1answer
182 views

How can I backup an Ubuntu install with multiple partitions and restore it to a single partition (or LVM)?

The title says it all: I have a machine that has several partitions. I'd like to back it all up (preferably as a single image) and restore it to a single partition/maybe LVM. I've run into more and ...