Questions tagged [lvm]

In computer storage, Logical Volume Management or LVM provides a method of allocating space on mass-storage devices that is more flexible than conventional partitioning schemes.

1504 questions
0
votes
1 answer

LVM Extending Fails

I'm running a VM in proxmox. I originally didn't have enough space allocated to the VM so now I'm trying to extend it. I've allocated more space in proxmox. And it is recognized in sda3. I was using this as a guide…
gmalenko
  • 3
  • 2
0
votes
0 answers

How to mount volume type LVM2_member to EC2 instance

I'm trying to mount a volume taken from an old EC2 to a new EC2 instance, however, this volume has an "unknown filesystem type of "LVM2_member". I tried all this with the original volume, then I made a volume from the snapshot, thinking it would not…
0
votes
2 answers

How can I make LVM configs boot tolerant with attached USB drive

Setup: DELL PowerEdge R520, oVirt Node 4.4.1 x86_64 # pvs PV VG Fmt Attr PSize PFree /dev/sda2 onn_ovirt01 lvm2 a-- 105.26g 20.77g /dev/sda3 VG_he_nfs lvm2 a-- <100.00g <10.00g /dev/sda4 VG_data_nfs lvm2…
JayRugMan
  • 1
  • 1
0
votes
1 answer

Mount DD image of LVM partition

I am in a conundrum. I need to extract data from a backup image I created previously. I thought I knew enough about LVM to get by... at least until now. It seems my blunder is that I backed up an LVM snapshot volume rather than the whole volume…
pkSML
  • 181
  • 1
  • 8
0
votes
1 answer

Very big device in Centos

I have older VM (Centos7) where I have many disks. Now it is 36 vmdk (22TB). I wanted extend one virtual disk to 2400GB and create new partition for LVM (3th on disk). But after I create partion I see that operation was slowly than is normal. So I…
Pavel
  • 417
  • 1
  • 7
  • 17
0
votes
1 answer

How can I resize my default ubuntu lvm?

I need to add to default ubuntu lvm partition +20GB space. How can I do it in my case? You can see output of lsbkl command below. This is my virtualbox VM, not production server, and all of this disks and partitions are free, include raid5. Can I…
0
votes
1 answer

change name of pv suse linux 12

the output of the pv is showing the name of isci name and not the /dev/sda2 for example. Anyone is telling me why I can hange the name of the pv lxxxxxx:~ # pvs PV VG Fmt Attr PSize …
0
votes
1 answer

How to edit attributes of lvdisplay (LVM)

In a lvdisplay command, there is an attribute to display the hostname of the machine we created the logical volume. I want to modify the hostname. how can I modify "LV Creation host" attribute in lvdisplay? Thanks Luke
0
votes
0 answers

LVM aggressive read and write cache

I've added a 2 TB RAID1 SSD as a writeback cache to a 10 TB RAID1 HDD using LVM 2.03.11(2) (2021-01-08) like this: lvcreate --type raid1 --mirrors 1 --nosync -l 100%FREE -n sshd sshd /dev/sdc /dev/sdd lvcreate --type raid1 --mirrors 1 --nosync -l…
Chris
  • 260
  • 1
  • 4
  • 16
0
votes
1 answer

Can Block Device IDs in LVM be set statically?

I have a system using LVM2 with a single PV which contains 1 VG which in-turn contains 5 logical volumes (/, /home, /var, /swap, /data). When I create a snapshot of LV / (lvcreate -L 15G -s -n root_snap_test01 /dev/vg01/lv_root), upon reboot the…
deanhuff
  • 3
  • 2
0
votes
1 answer

How to resize unmountable BTRFS filesystem

I have a disk with LVM with two logical volumes media and root. The former is almost empty the latter is almost full, so I wanted to resize both. The logical volume media is dm-crypt + BtrFS. In order to resize the filesystem, the LUKS container and…
0
votes
0 answers

pvcreate does not work: Device /dev/sda3 not found

As I recall I accidentally removed partition with fdisk and left changes which I did on LVM, then I did restart and Centos was not able to boot normally, it booted to Dracut.. It is my fault that I did experiments without making VM backup. Currently…
elkoo
  • 101
  • 3
0
votes
1 answer

Centos Kickstart - partitioning fails because of arbitrary disk order

I've prepared a kickstart file for a Red Hat Virtualization 4.4 VM with 3 virtio-scsi disks with different disk sizes: # System bootloader configuration bootloader --append=" crashkernel=auto" --location=mbr --boot-drive=sda # Partition clearing…
msr
  • 33
  • 1
  • 2
  • 11
0
votes
0 answers

extend volume of CentOS7 VM

There is an issabel VM which I increased the VM hard drive from 20G to 1.07T through ESXi. Next I add sda4 partition as new Linux LVM (following this path at step 22 ), seems I have to use vgextend [volume group] /dev/sda4 now but there is no Volume…
Ninja
  • 1
  • 1
0
votes
0 answers

Perform backup of root directory in luks-container form initramfs

My server is running from a root directory in an encrypted luks container with lvm layout. To perform a backup of the root partition, it is usually the consensus that the filesystem can not be mounted, especially when using dd. The partition layout…