0
votes
1answer
24 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
0answers
18 views

LVM physical volume priority

Linux LVM can combine several physical volumes in one group and when spread space of this group among logical volumes. If some slow devices will be added to group it may slow down all logical ...
0
votes
0answers
21 views

Redundancy: LVM+mdadm or LVM internal RAID

The task is to create LVM storage for virtual machine images. So LVM will be used in any case. There are two ways LVM providing redundancy: block mirroring lvcreate -m 1 --mirrorlog mirrored -n ...
0
votes
1answer
53 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 ...
0
votes
2answers
32 views

How to increase disk space in linux

I searched but can’t find a simple solution and easy to implement. I have a VM with two disks, one with 50Gb and other with 20Gb, and I need to increase 10Gb in the disk of 50GB so that you have ...
0
votes
1answer
66 views

How to recover windows from an LVM encrypted ubuntu install

I was trying out ubuntu 14.04 and I chose the option of using a LVM encrytion, Now I cnat load windows or even access them from ubuntu, I have looked all over the internet for tutorials but none of ...
1
vote
0answers
41 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
20 views

Is it possible to spawn any kind of terminal on dedicated lan card before entering LVM volume passphrase?

I got IBM x3500 m2 server running Ubuntu server on encrypted LVM volume. This machine has one slower LAN card for service purposes. Is there any way to spawn some kind of console on it BEFORE ...
0
votes
1answer
47 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
20 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
99 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
15 views

KVM images not reading from custom location

In CentOS linux server I have a disk scenario as , A LV with vg0 in it and in that I have created a directory with intention as KVM have to read the images from this location. I have set KVM to read ...
0
votes
0answers
18 views

issue mounting LV to /tmp in RHEL

I tried mounting an LV to the /tmp directory and it has seemed to mess up my RHEL VM. To mount, I did the following: 1. Added following line to fstab: /dev/VolGroup00/lvol0 /tmp ext3 ...
0
votes
0answers
41 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. ...
0
votes
0answers
29 views

hdparm slow on LVM

I have a ec2 ubuntu with some EBS volumes and a LVM with three EBS. When i hdparm on a single EBS volume i am getting: sudo hdparm -Tt /dev/xvdb /dev/xvdb: Timing cached reads: 12522 MB in 1.99 ...
0
votes
0answers
16 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
0answers
81 views

IOWAIT on removing a stale iSCSI LUN via configfs

I've got a bit of an interesting situation here. I'm currently operating on a system that uses LVM logical volumes to host iSCSI LUNs, which are configured via configfs (!). Somehow, one of those ...
0
votes
2answers
65 views

How to enlarge “/”?

Im using Red Hat 6.3 MP with two 'discs': -- VMware virtual disc (sda) with: /boot (sda1) ; swap (sda2) ; lvm2-disc (sda3) -- '/dev/dm-0' mounted on '/' On '/dev/dm-0' is no free space available. ...
0
votes
1answer
77 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
77 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: ...
3
votes
0answers
58 views

Mount volume group(OnApp)

I am attempting to get OnApp setup in a lab using the following documents: OnApp Installation Guide I am one step away from success and to my knowledge based on the information given and my(limited) ...
0
votes
0answers
30 views

Using free space for LVM in Ubuntu

On my workstation I have a single disk (/dev/sda) with 4 partitions. One of the partitions has free space that I set aside while installing Ubuntu (/dev/sda6). I wanted to use this free space to ...
0
votes
0answers
38 views

Zeroing blocks on read/access on a hard drive for LVM

When a logical volume is destroyed, the data still exists on the hard disk and is still accessible (using a tool like dd) to any volumes allocated on top of those blocks which haven't been written to ...
2
votes
0answers
77 views

Migrate LVM to ZFS

I am currently thinking about moving away from my LVM setup to a ZFS setup with RAIDZ. My current setup consists of 5 x 4TB disks in a LVM and a 60GB SSD for the system. At the moment there is about ...
0
votes
1answer
171 views

Best practices of keeping Firefox profile on ramdisk

Having plenty of RAM, I'd like to use it to speed up the browser. Goals: Have profile and cache completely in memory, so HDD is not used much while browsing and fsyncs don't reach actual HDD or ...
0
votes
1answer
168 views

Moving free space from from one LVM LV to another

I've got an SSD partitioned into: sdc1: 500MB /boot sdc2: volume group   10GB  lv_root 100GB  lv_home   50GB  lv_swap free: 70GB It turns out a 10GB root is a bit on the small side and I'd like ...
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
35 views

How to find out whether a specific mounted Linux file system is located on a encrypted device?

How can I find out via the command line whether a specific mounted file system in a Linux system is ultimately located on an encrypted device? Of course, a generic solution would be nice, but ...
0
votes
0answers
30 views

Backing up and restoring LVM information

This is the original layout of the physical disk: sda1 partition (boot) sda2 partition (LVM with 2 volumes, one big volume for data (lv_root) an another for swap (lv_swap)) I backed up: ...
0
votes
0answers
45 views

Making VirtualBox save snapshots on RAW/LVM device

I'm using Virtual Box (4.3) on Debian wheezy with RAW devices based on LV. It works great but I noticed that the moment I have made a snapshot and use up disk space on the VM, it's the snapshot that ...
-1
votes
2answers
263 views

Partition that spans multiple disks

I want to have one partition that will span multiple disks. I don't care about redundancy but in case one of the disks fails i still want to be able to access the data that is not on the damaged disk. ...
1
vote
1answer
640 views

Linux SSD Performance with Luks / LVM

I've recently obtained a Samsung EVO 840 1TB SSD as a hard disk replacement for my laptop (Lenovo X220t, core-i5-2520m, 8GB RAM). So far, I'm not impressed with the resulting performance and request ...
0
votes
1answer
3k views

Recover data from corrupted LVM partition with TestDisk?

I had setup 3 disks in a LVM array with each disk holding some data. A few weeks back one of the disks "disappeared" from the LVM array and BIOS. After rebooting, the disk reappeared but does not ...
1
vote
1answer
157 views

Multiple encrypted LVM volumes with one password

I found a similar question here but it's only partially connected with my question. Currently I have one primary /boot partition and a single LVG1 group with 2 logical encrypted volumes - LV1 and LV2. ...
1
vote
0answers
155 views

Create a mdadm raid mirror of an existing lvm

Hello I'm trying to figure out how I can create a pretty strange mdadm mirror of my lvm. I have 4 disks, (sda,b,c,d). Each disk has 2 partitions: 1Gb - physical volume 500mb - Swap My system lvm ...
0
votes
0answers
298 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
387 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
58 views

How to encrypt 3 drives on linux?

I have 3 x 3TB drives and a linux computer and i want to use the space as "one" drive for music, movies, and pictures (home server). In Addition the stored data should be encrypted. I do not want to ...
0
votes
1answer
164 views

LVM mount physical disk for backups

I have a home server running Centos 6.4. There are 2 400GB physical disks, and I believe I have 1 logical volume over one of the disks. I want to mount the 2nd disk under /backup and use it for ...
1
vote
2answers
174 views

copy logical volume to another server

I have copied a logical volume from Server A to Server B, using dd command, however every time I try to mount the volume root@munin:~# mount /dev/DS/data_snap /mnt/ mount: you must specify the ...
0
votes
1answer
110 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
227 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
511 views

How do LVM Snapshots work on the PE level?

How do LVM Snapshots work on the PE level? What is stored where? What data is lost when the snapshot runs out of COW space? (description + explanation below) I was experimenting with LVM and ...
1
vote
2answers
77 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 ...
1
vote
1answer
442 views

LVM Difference in paths for mounts

So I can do the following: mount /dev/datavg/datalv /mnt or mount /dev/mapper/datavg-datalv /mnt Are these the same? Is their an advantage to one over the other? Is one better practice?
0
votes
1answer
362 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 ...
1
vote
1answer
1k views

resize a volume

I would like to increase lv_home to 20G and increase lv_root to 120G. In VMware I extended the harddrive to 200G. You can see that below in .host:/ Filesystem Size Used Avail Use% Mounted ...
2
votes
1answer
212 views

Protect from access lvm encrypted partition from windows

This is my first question here, so forgive me if it isn't appropriate or too noobish. I want to install Linux and Windows on my machine, but so that the linux partitions would be lvm encrypted and ...
2
votes
1answer
12k views

How? Mount, Find & Recover DATA in HDD outside of Synology Box

How? Mount, Find & Recover DATA in HDD outside of Synology Box I had originally posted this question here on Synology Forums and no real solution was suggested except a Linux / RAID based ...
1
vote
2answers
165 views

The opposite of mount -o loop: can I read a block device as a regular file?

I'm trying to back up an LVM volume using Duplicity (note: not just the file contents of the volume, but the actual volume itself, byte-for-byte). The best way I've so far found is to dd all the data ...