The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
9 views

How to restore lvm partition without config file?

Today I did update my ubuntu server. The device structure is looks like to below 1) sda1 # new os 2) sdb1 # origin /boot partition 3) sdb2 # origin swap partition 4) sdb3 # origin ...
2
votes
1answer
28 views

How to install Arch Linux root file system on LVM thin LVs on LUKS on GUID partitioned device?

I'm not able to boot a freshly installed Arch Linux system with its root file system residing on a LVM thinly provisioned logical volume on a LUKS encrypted partition on a GUID partitioned device. ...
0
votes
0answers
19 views

Restored Volume Group but No LV inside

I created Volume group on 2TB ISCSI Block device . And on that I created Volume group and added the entry in fstab with options _netdev. But after reboot it didn't come online. What happened and ...
0
votes
0answers
186 views

Recovering accidentally deleted ext4 partition on DM-0 LVM2 volume spanning across physical drives

I have a setup with some LVM volumes, with following configurations. I accidentally formatted the LV "lvmedia" using the disks program in gnome(I know this was extremely stupid and frustrating) I ...
0
votes
0answers
17 views

RHEL 7 Install - Main partition taking up entire allotted space + other problems

I hope this is the proper place to ask RHEL questions, I have already asked on the RHEL discussions area and have not gotten any replies after a week of posting. I am having a few problems in setting ...
1
vote
1answer
27 views

Virtual machines in a LVM partition or not?

When you create a virtual machine on Debian (with kvm-qemu), the .img file is placed in /var/lib/libvirt/images by default. Do you advise creating an LVM partition specifically for the vm's? Lets ...
1
vote
1answer
2k views

lvmetad is not active yet, using direct activation during sysinit

I get the following error message at boot, just before being asked for my master password to access to my encrypted hard-drive (using dm-encrypt): lvmetad is not active yet, using direct activation ...
1
vote
2answers
111 views

Does LVM eats my disk space or does df lie?

Please look at the output below: bob ~ # df -h Filesystem Size Used Avail Use% Mounted on udev 5,7G 4,0K 5,7G 1% /dev tmpfs 1,2G 1,5M ...
0
votes
1answer
21 views

RAID5-4 devices with 2 failed devices: hope to retrieve data?

I built a RAID5 array with 4 2Tb devices a few month ago. - I used LVM2 to build partitions. - I also used GRUB2. - Finally I installed Debian. For an unknown reason the RAID failed. The BIOS "see" ...
0
votes
1answer
26 views

Low level access to a disk in failure

I have a SATA 2Tb HDD device probably damaged: smart doesn't work, etc. The partitions were built with LVM2. Is it possible, with a low level tool, to retrieve one logical volume (in my case /var) and ...
1
vote
2answers
36 views

LVM Drive partitions missing

I have a 4 drive LVM PV Group. I had one drive fail (Ok, I broke it installing it in a new case.) so I swapped it for another drive and recovered the remaining data. After a reboot I got stuck at a ...
1
vote
0answers
11 views

How can I change the password of a LVM setup in Fedora?

Using CLI, how can I change the password of a LUKS/LVM setup in Fedora (2x), where x can be 1,2, or 3? Note: The physical LVM2 volume spans over two partitions on two drives (/dev/sda3 and ...
1
vote
1answer
58 views

Keep getting error while trying to mount external HDD with LVM2 format, using Knoppix from live USB, please help

I am computer savvy, but fairly new to Linux, so forgive me if not technical enough. I have a 3TB external HDD, a Seagate, and it used to be a NAS, but the Ethernet portion failed, so I have plugged ...
0
votes
0answers
36 views

LVM Logical Volume (linear) best performance

As a system administrator, one thing I do very often is increase LV's size. In most cases I have to extend first the VG, adding a new disk (we are talking about virtual machines). I have got a lot of ...
0
votes
0answers
65 views

Backup many small files

We have many small files on EXT3/LVM. Many-many million. We cannot backup them using file backup, it would take too much time. We currently have TSM image backup that uses LVM snapshot. If a ...
0
votes
1answer
169 views

How to use lvconvert with two disks for mirroring? - Insufficient suitable allocatable extents

On a RHEL 5 I have to create an LVM mirror from multipath disks. There are enough free extents, but - on two disks, because the VG was made out of 4 disks. [root@SERVER ~]# pvs -v --segments | head ...
0
votes
1answer
44 views

changed df -h output format after yum update in rhel6.5

changed df -h output after yum update (after patching). Anybpdy help on this ? Anybody knows the reason behind this ? df -h output before yum update (rhel patching) : Filesystem ...
1
vote
1answer
29 views

What is the order in which physical volumes are used in a volume group?

I have a volume group which contains 2 physical volumes 400g on a 7200rpm hdd 250g on an ssd. Can I ensure that the ssd is used first/ the hdd is only used when the ssd is full? Note I will have var ...
0
votes
1answer
70 views

Trying to understand lvm snapshot

I saw the mention of 'c-o-w' in a lvm tuto and that made me confused because it kept me thinking the snapshot vol behaves like overlayfs or other cow fs where changes are written to it after you ...
0
votes
0answers
28 views

Fedora: Gparted “shrink file system” error

I'm trying to resize my Fedora-22's /dev/sda2 lvm2 partition because I want the unused space to install windows on dual boot. However, everytime I initialize the resize operation, GParted stops with a ...
0
votes
1answer
35 views

Losing disks with LVM

I have a question: We are setting up 5 new servers with 4 disks of 1 TB each. We are planning of using LVM Mirror so we have protection over our data. My question is, if I lose a disk, since we ...
0
votes
0answers
210 views

Debian Jessie LVM2 volume not found on boot

On Debian Jessie, is it possible to have LVM execute vgchange automatically at startup such that a LVM USB volume is available for auto-mount? (I have seen solutions with custom init scripts - I am ...
1
vote
1answer
233 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
217 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 ...
3
votes
1answer
306 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
200 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
89 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 ...
3
votes
2answers
1k 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) ...
0
votes
1answer
2k 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
70 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
440 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
20 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
398 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 ...
4
votes
1answer
1k 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
185 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
27 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
21 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 ...
6
votes
1answer
4k 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
307 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 ...
2
votes
1answer
745 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
257 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
450 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
205 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
109 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
81 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
189 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 ...
5
votes
3answers
2k 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
437 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
430 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
1k 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 ...