The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
25 views

btrfs on LVM on LUKS - one LUKS container performs WAY better than the other

I have 2 LUKS containers, one with default OpenSUSE installer settings, another one with -h sha512 -s 512 -i 5000 and detached header. On top of each of them there is LVM - one with only 1 OS volume ...
1
vote
1answer
21 views

How to deallocate extents of physical volume? lvm, encrypted

I just install Debian 8.1. I allocated almost all disk 300 GiB to encrypted partition and a little bit for boot. I want to make smaller 50GiB encrypted physical volume and install different xen OS to ...
2
votes
1answer
17 views

Can thin LVs be moved to a different LVM pool?

If I have (2) thin pools (vg/pool1) and (vg/pool2) inside the same volume group, with an LV inside the first pool, is there a LVM command to move that LV to the second pool? Would pvmove do that? ...
2
votes
1answer
39 views

how to clone images of drives with LUKS+LVM2?

I have 2 Debian boxes which I need to upgrade. In the past, before upgrading any box, I have used Clonezilla to create an image of each of the box's harddrives for use as disaster backup, in case ...
1
vote
0answers
25 views

Recover VG after Adding Disks and Rebooting

I had an old 1.5 TB NTFS formatted disk I wanted to use in by RHEL 7 box, so I put it in my desktop booted, and proceed to delete the partition table using fdisk. I created a physical volume on it ...
1
vote
0answers
62 views

While executing vgdisplay gives below errors [closed]

/dev/mapper/mpathcq: read failed after 0 of 4096 at 107374116864: Input/output error /dev/mapper/mpathcq: read failed after 0 of 4096 at 107374174208: Input/output error /dev/mapper/mpathcq: read ...
3
votes
2answers
166 views

Command 'pvs' says PV device not found, but LVs are mapped and mounted

I had problem with my system (faulty internal power cable). When I got the system back up and running, arrays rebuilding, etc, I seem to have a situation where the pvs command (and vgs and lvs) ...
1
vote
0answers
101 views

LVM mirrored root filesystem [closed]

I have installed my personal fileserver running ARM Archlinux on an Odroid-C1 computer (a tiny computer board, similar to the Raspberry Pi) and a Xystec PX2590 USB case containing 4 disks, 2 of them ...
1
vote
1answer
93 views

Physical and logical extents size

I have created a partition with 36TB (/dev/sdb1) in rhel 6.6 Now I want use this for lvm What is recommended size for Physical Extents, Volume Extents and Logical Extents How important PE, VE and LE ...
2
votes
0answers
31 views

Recoving LVM logical volumes after having to recreate the physical volumes

After reinstalling my system to a new SSD, my existing LVM was toast, it couldn’t find any physical volumes or volume groups. I also don’t have backups of my LVM configuration. Also to further ...
5
votes
2answers
101 views

Define physical volume inside non-partitioned disk

I've been able to define a physical volume (LVM) in two ways: Creating a 8e (Linux LVM type) partition and then # pvcreate /dev/sdb1 Usign pvcreate directly using a non-partitioned disk and then # ...
0
votes
1answer
12 views

I'm accidentally added a physical volume without filesystem to a volume group and one of logical volumes, how can I make a filesystem for it online?

Because the logical volume is mounted as my root partition, and I don't want to fix this with some LiveCD (it's very troublesome). By the lvs command the logical volume has already the new (larger) ...
1
vote
1answer
75 views

What is the proper way to activate VGs/LVs automatically on boot?

I have used Buildroot to create a system that runs in RAM on my ARMv5 Kirkwood SoC -based NAS-box. I use BusyBox as my init system, and /dev management is done using devtmpfs only. I've selected LVM2 ...
3
votes
1answer
188 views

Move logical volume to a new physical disk

I have three logical volumes in a single volume group using a single physical volume (the whole existing disk /dev/sda). I now want to move one of those logical volumes to a new, faster disk, i.e., ...
1
vote
0answers
90 views

grub2 lvm2 raid1 /boot

Is it possible to boot from a system where /boot is located within an lvm2 raid1 partition. I've tried a variety of configurations, but I have yet to discover how to do it. I am using two 2TB disks. ...
1
vote
0answers
19 views

Strange hang while attempting mounting LVM2 in recovery mode

I am running a RHEL 7 vm and I am trying to mount an LVM disk in recovery mode. I can see the disk with fdisk -l. lvscan shows it being active. When I try to mount the disk to the system I see the ...
0
votes
1answer
20 views

Does LVM support unwritten extents?

I want to tune samba on a system that has LVM2 under it. I have started to read an article which made me to ask this question, if my partition supports unwritten extents or not, I couldn't find it by ...
5
votes
1answer
2k views

Grub-install: embedding is not possible in Bios/GPT

I am struggling with setting up an encrypted NAS for some days now. The basic plan is to have btrfs on lvm on luks on raid1 with lvmcache in writeback mode thrown in for the root partition to reduce ...
1
vote
0answers
149 views

Mounting synology disks in ubuntu

I have some files on synology disk that I would like to recover with extundelete. I have mounted the raid1 setup. So on the disk is two raid storages (md2 and md3) and they are connected to one with ...
1
vote
1answer
305 views

Physical volumes, logical volumes, superblocks gone… how to boot?

A story fairly similar to this one happened to me yesterday. Update: My only hard drive /dev/sda was originally partitioned this way: Device Boot Start End Blocks Id System ...
0
votes
1answer
103 views

Grub and Logical Volume Management

I've not been able to find any relevant information in the Arch Wiki about using LVM with Grub as the bootloader (BIOS). Let's say I've created the volume group 'volgroup00' using partitions spanning ...
1
vote
1answer
193 views

broken fs after removing disk from LVM group

I messed up a bit and I am trying to find the best way to recover. A few days ago, 1 of the physical disk of my lvm setup started to show sign of failure (I/O errors) so I decided to move it to ...
1
vote
1answer
118 views

BASH - Command not found - LVM over LUKS Automation Script

I've been working a bash script to automate the process of opening and closing an LVM over LUKS external hard drive. However I continue to receive errors on line 28: $(vgchange -a n ; cryptsetup ...
0
votes
2answers
61 views

LVM move logical volumes across physical volumes without data loss

I wonder how can I move my logical volumes from current physical volume to another without data loss. I have read mans but I haven't found this information there. I would be grateful for any help. ...
1
vote
1answer
40 views

How to see the space used/free from each PV inside a LVM

I have a VG called ubuntu with a single LV called titan that is made out of 4 PV (sd[a,b,c,d). I want to know how much space is used/free on each PV inside that LV. Commands like pvdisplay, ...
1
vote
0answers
128 views

Two 500GB (JBOD) drives out of an NAS-200 put into UBUNTO 14-04 and put back into an LVM to access old information

I’m in a dilemma as I’m new to Linux (not helpless, but new) and would like some help if you don’t mind. I have been working with Linux for several years to some extent so I can get around some with ...
2
votes
2answers
1k views

LVM Ontop of LUKS using Grub

What am I trying to do? Install Arch with full system encryption (sans boot and media partition) using LVM on top of LUKS on an external hard drive (sdb) using: ...
1
vote
0answers
224 views

lvmetad hangs on startup

I got a machine running archlinux that have a problem on boot. It hangs for 90s waiting for pvscan on block devices, and then give up. (actually, the pvscan process are still stuck ,and any lvm ...
-2
votes
1answer
184 views

How many volume groups can be created in physical volume?

I want to know the details regarding LVM: please provide some link regarding Linux to study and understand it.
1
vote
1answer
677 views

Fix LVM physical volume definition after removing /dev/sdb

Recently I set up LVM partition with an new disc /dev/sdc. I created the LVM with the following commands: pvcreate /dev/sdc vgcreate data /dev/sdc mkfs.ext4 /dev/data/srv tune2fs -m 0 ...
0
votes
0answers
257 views

Is it safe to use lvresize -r to reduce LVM

I know I can increase the size of file system and LV in one go using lvresize -r but is it safe to use the sam approach to reduce a LV file system ? here is the man page of -r -r, --resizefs ...
3
votes
2answers
3k views

How does grub2 load the kernel from an LVM volume?

Grub2 is able to load the kernel even if /boot is placed on an LVM volume. To use this feature one needs to add insmod lvm (the module can be on the grub bios partition that is not on an LVM volume) ...
2
votes
2answers
2k views

Why can't I create an LVM RAID1 or mirror volume?

I'm running Ubuntu 12.04 and have just added 2 new hard drives into my server. The idea being that I would create a volume group that would include them and create a bunch of logical volumes on them ...
1
vote
0answers
72 views

what is the “System ID” of a LVM volume group

On my system, where I use LVM2, I have several volume groups. When I run sudo vgdisplay, I see that all of them have an empty System ID field. What is that field for? Is that correct to have it empty ...
2
votes
1answer
121 views

Transfer 2 drive raid0 / lvm2 system to new drive pair

I have a multi-boot, multi-drive system that I want to transfer onto 2 bigger drives. Currently pc has 2x1TB drives with Fedora 19 running, using RAID0 drive mirroring, with LVM2 on top of the md. I ...
3
votes
2answers
772 views

Is pvcreate destructive? Attempting to recover an lvm2 volume group

I don't want to lose any data, so I'm asking if the solution Novell offers is safe to try. If not, are there safe alternatives? Step-by-tedious-step: I have two volume groups: main and Rand; Rand ...
4
votes
2answers
1k views

Grow LVM RAID10?

RHEL LVM has supported RAID4/5/6 as of 6.3 and RAID10 as of 6.4. It's well-known that mdadm won't let you --grow raid10, my question is whether this is a limitation of LVM RAID10 too? If it is ...
0
votes
1answer
1k views

How to recover from a boot hang after deleting old swap?

I did a fresh installation of Fedora 20 in the free space of my hard drive after failing to upgrade from the older version. Everything seems to be working fine until I deleted the partition containing ...
1
vote
1answer
705 views

Raid5 + LVM2 + grub2: final config and boot

I have a one disk, no RAID, no LVM system based on Debian Squeeze (my old system). I created a RAID array (RAID 5, 4 HDDs) with mdadm (my new system). I installed LVM2 on the new system and ...
2
votes
1answer
59 views

How can I migrate my Ubuntu installation from LVM2 to RAID5?

I stumbled upon this question, but I do not think this is a duplicate since I'm under the impression that the OP in this question is not running under a live session. I, on the other hand, have ...
1
vote
0answers
248 views

dm snapshot - how does it work?

Fedora uses dm-snapshot for making the root filesystem read-write. At least for me, when running a livecd (even without touching it), it will become unusable relatively quickly meaning it has ...
2
votes
2answers
624 views

Extending/resizing Fedora Guest-OS root-drive in VirtualBox

I hope you can help me with that: My VirtualBox Guest-OS (Fedora 19) told me, that there is not enough free disk-space availabe, so I first increased the .vdi-file by using the Windows-Commandline: ...
0
votes
0answers
521 views

Problem installing ArchLinux on LVM on a LUKS setup via archboot

I've used archlinux before, and I've decided to have it enccrypted. I use BIOS. I used the latest vesion of archboot. I made an LUKS setup, then made lvm volume group and two ext4 partition in it for ...
3
votes
1answer
192 views

/var on an Logical Volume on ISCSI

I have Physical Volume that is on an open-iscsi device. This device is mounted after Linux has already started writing to the log files. Can I mount a Logical Volume on that Physical Volume to /var to ...
0
votes
1answer
689 views

Understanding output of lvdisplay in LVM/Linux [closed]

I am new to Linux admin field I just want to know the meaning of following fields in lvdisplay output root@sandbox: lvdisplay rootvg/swaplv | grep -i '# open' # open 2 root@sandbox: ...
2
votes
1answer
419 views

mdadm + lvm2: destroyed all superblocks accidentally

I accidentally overwrote all my RAID1 superblocks with garbage. I think this happened because I ALT-CTRL-DEL booted when the Ubuntu had put me in some kind of hard disk recovery mode. My display ...
1
vote
2answers
4k views

Oracle ASM disk group list

We have Oracle ASM running under LVM and now I want to expand one of ASM disk group size, but I don't know which LVM filesystem is associated with specific ASM disk group. Is there a way to find out ...
2
votes
1answer
3k views

Cannot mount LVM2 partitions [closed]

I have a 160GB hard drive here with an LVM2 partition that contains two EXT3 partitions that I'm trying to mount. However, when I try to mount either of those two partitions inside the LVM2, I get ...
3
votes
2answers
2k views

replace xen kernel with non xen kernel

I have a virtual appliance in Xen format (XVA) that I wish run to on another hypervisor (MS Hyper-V). What have I done so far: I have converted the XVA to OVF using XenConvert, this resulted in a vhd ...
2
votes
2answers
181 views

Why is LVM metadata backed up to /etc/lvm and not /boot?

Recent question I saw got me thinking on this particular point: If bootloader restrictions usually cause /boot to be outside LVM, why isn't this the target of LVM metadata backups? Putting it ...