Logical Volume Manager for the Linux kernel manages disk drives and similar mass-storage devices, in particular large ones. "Volume" refers to a disk drive or partition thereof.

learn more… | top users | synonyms

0
votes
1answer
58 views

Can I give the partitions in my xen guests friendly names?

I've got a bunch of LVM logical volumes on a machine running Xen, with descriptive names like "photos". When I attach them to a Xen guest, the standard is to give them unmemorable names like xvda1, ...
0
votes
0answers
46 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 ...
1
vote
0answers
780 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
2answers
191 views

How to enlarge “/”?

I'm using Red Hat 6.3 MP with two disks: VMware virtual disc (sda) with: /boot (sda1) swap (sda2) lvm2-disc (sda3) /dev/dm-0 mounted on / On /dev/dm-0, there is no free space available. /dm-...
0
votes
1answer
213 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 ...
1
vote
2answers
1k 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
2answers
1k views

Can't rename volume group in linux that had hyphens/dashes in name

I made a typo when I created an LVM group under Centos 6.4. I'm trying to rename using the syntax vgrename /dev/mapper/oldVG /dev/mapper/newVG. However, both the old and new VGs have hyphens in the ...
1
vote
0answers
4k views

Converting LVM/EXT4 to ZFS without losing data

I have a home media server with 2 x 3TB drives in it. Its currently set up using mdraid (1), LVM and EXT4. The setup was done using the ncurses Ubuntu Server installer. Goal Convert the setup to use ...
3
votes
1answer
161 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) ...
1
vote
1answer
338 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
1answer
442 views

LVM dual-boot windows

Have the following purposed partion schema ----not worried much about the *nix systems booting - however need to be able to have a native boot Win 7 for some teaching / consulting I'll be doing and ...
0
votes
1answer
137 views

How can I create a raw device on top of an LVM block?

I have disks which are LVM devices. Is there a way that I can create a raw write-able disk on top of them? By raw, I mean, a file which is seen as a true block device by the kernel.
0
votes
1answer
14 views

LVM default created volumes: Are they standardized?

Ive noticed that in my LVM setup i have lv_root lv_home lv_swap Are these created by LVM for me on boot? I havent found any docs on how these volumes are created.
0
votes
0answers
83 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 ...
5
votes
0answers
219 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
444 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
1k 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 ...
0
votes
0answers
60 views

Safest, most flexible storage for multiple HDD's

I am building a NAS/fileserver based around the HP Proliant N54L Microserver. It is going to be used as a central repo for all media (movies, serials, music etc), possibly a dedicated torrent seedbox ...
0
votes
1answer
284 views

For LVM on LUKS when does the partition ID for a new install get set to 8e?

Trying to decipher my notes from the last time I installed LVM on Luks, I have a note to create three "primary" partitions for a Dual-Boot installation. The trouble is, after I install Windows, but ...
1
vote
0answers
38 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
54 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 ...
1
vote
1answer
164 views

How do I mount logical volumes from a VG of hard disks taken from another computer?

I have two disks with PVs of a volume group with several logical volumes that was created on another computer. They were not exported with vgexport. How do I restore the volume group now built into ...
1
vote
2answers
208 views

How to verify /boot partition on encrypted LVM setup

Isn't unencrypted /boot partition a weakness for encrypted LVM setup? Attacker may install a malware to /boot partition so that it may sniff encryption password next time system boots. It may also be ...
1
vote
1answer
31 views

Non Raid - Symbolic links

I have 3x 3TB drives and 2x 1TB drives. I want to use all drives without RAID, but to be shown as a single volume. So that if a drive fails only the information on that failed drive will be lost. ...
0
votes
2answers
3k 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. ...
2
votes
1answer
2k 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 ...
1
vote
1answer
81 views

Is linux LVM a good choice for 2 disks ? [closed]

I am installing ubuntu server 13.04 on a machine. I have 2 devices (hard disks) on it: 2 x 500GB on RAID 1 1 x 1TB I was thinking about setup LVM, but I have no idea about how it works or if it's ...
1
vote
0answers
152 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
9k 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 ...
2
votes
0answers
533 views

Uefi and full disk encryption with lvm on luks

I have an asus machine on which i can use old bios and new uefi. I've always used the old bios system, running a full encrypted debian with the following configuration: an unencrypted boot partition ...
2
votes
1answer
8k 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 ...
20
votes
2answers
1k views

How to make suspend to RAM secure on Ubuntu with full disk encryption (LVM on top of LUKS)?

I'm on Ubuntu 13.04 using full disk encryption (LVM on top of LUKS). I would like to incorporate luksSuspend into the suspend procedure (and later use luksResume) so that I can suspend to RAM without ...
1
vote
1answer
592 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
336 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 ...
3
votes
1answer
7k views

Installing Windows on a LVM partition, next to already installed Ubuntu

I have a SSD driver partitioned with LVM, here is lvm lvs output: LV VG Attr LSize Pool Origin Data% Move Log Copy% Convert lts ubuntu -wi-ao-- 103.14g ...
0
votes
0answers
867 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 ...
0
votes
2answers
57 views

list the devices associated with logical volumes under without using lvm2 package commands

I want to list all the physical volume associated with logical volume. I know lvdisplay, pvscan ,pvdisplay -m could do the job .but I dont want to use this command. Is there any other way to do it ...
4
votes
1answer
1k 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
2answers
597 views

Wipe free space on LVM-LUKS (dm-crypt) Volume

My three partitions for my system are created with LVM on a LUKS partition (dm-crypt). These are /home, / and swap. The filesystem is ext4. They are encrypted, because they are on my laptop and I don'...
0
votes
1answer
69 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
352 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 ...
0
votes
1answer
398 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 ...
1
vote
0answers
31 views

Control auto-LV-mounting

On Debian, I want to control the auto-mount of LVs, because I have multiple nodes that have access to a shared VG. For example, when I try to activate a LV, I want it to refuse the activation. I ...
1
vote
2answers
394 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
165 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
305 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 2....
1
vote
1answer
883 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
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
122 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 ...
2
votes
0answers
1k views

/etc/init.d/lvm2 script not executed during startup

On startup, I want the /etc/init.d/lvm2 script shipped with Debian squeeze to be executed. I ran update-rc.d lvm2 enable and checked that the symlinks are created in the /etc/rcX.d folders: # find /...