The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
0answers
22 views

Broken dependency for lvm2

I am on fresh Debian jessie system and trying to install lvm2: # apt-get install lvm2 The following packages have unmet dependencies: lvm2 : Depends: watershed (>= 2) but it is not going to be ...
0
votes
1answer
50 views

How do I create a dd IMAGE from LVM for recovery purposes [duplicate]

How do I backup a LVM partition to an image for recovery purposes? I am trying to run dd on /dev/sda2, but it crashes after ca 8 hours, at around 380G sudo lvmdiskscan /dev/centos/swap [ 3....
0
votes
1answer
19 views

Restore unencrypted LVM2 logical volumes to LVM on LUKS setup?

I have an unencrypted Ubuntu 16.04 setup using LVM2. I'd like to 'port' this into an encrypted setup on the same computer and disk, which would save me the hassle of reinstalling all the apps and ...
0
votes
0answers
29 views

Could not start docker with existing LVM thin pool option

I created an LVM thin pool to be used by Docker for storage. At the docker start time, I tell it to use the thin pool. Everything worked as expected by running docker info , I noted that it is using ...
0
votes
1answer
35 views

Can backups of root mounted to a logical volume be restored to a larger logical volume?

My current Ubuntu setup has root mounted to a LVM2 logical volume 'lvroot'. lvroot is 10G. I've been taking snapshots of lvroot, and then making dd backups of the snapshots (which creates a backup of ...
1
vote
2answers
31 views

Should LVM2 logical volumes on a solid state drive have ~25% free space? [closed]

It is recommended that users maintain at least 25% free space on solid state drives for best performance - see http://www.howtogeek.com/165472/6-things-you-shouldnt-do-with-solid-state-drives/ For ...
1
vote
1answer
26 views

Extend thin LVM Metadata Size

I was wondering how I can extend Metadata size in a lvm thin provisioning (on latest Kernel / LVM2). [root@srv ~]# lvs -a LV VG Attr LSize Pool Origin Data% Meta% lv1 ...
3
votes
1answer
47 views

Delete file with missing inode number

I had some bad sectors on my ext4 partition and using hdparm --write-sector I managed to reallocate them. However, I ended up in state where in one folder I have folder that has no inode assigned. ```...
0
votes
0answers
20 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
49 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
21 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
200 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
19 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
28 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 ...
2
votes
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
151 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
27 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
41 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 /dev/sdb1)....
1
vote
1answer
73 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
37 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
70 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
210 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
30 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
82 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
30 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
229 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
245 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
253 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
355 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
224 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
95 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
74 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
496 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
447 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
2k 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
196 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
22 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
5k 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
332 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
793 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 /dev/...
0
votes
1answer
266 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
483 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 ...