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
2 answers

Grow raid5 lvm by adding extra disks

I have 3 drives that I want in raid5 to get the most space utilization while still allowing a disk failure. But I want to be able to expand the array later when I have more disks (likely up to 7 disks) So if I initially create a raid5 array using…
cclloyd
  • 593
  • 2
  • 14
  • 29
0
votes
1 answer

How do I resolve this LVM issue in Ubuntu on a USB External Drive?

I'll try to be brief and succinct. I recently wiped my Ubuntu server and re-installed 20.04 on an older Proliant DL360. This system had two seagate external USB drives attached to it which store a majority of the data that I need. I'm trying to…
Jon Griffith
  • 53
  • 1
  • 1
  • 5
0
votes
1 answer

parted + usage help not described the resizepart

we need to use parted command as example on rhel server 7.2 version parted -s /dev/sda resizepart 2 but from parted help we not find the option resizepart example: parted -s /dev/sda resizepart 2 Usage: parted [OPTION]... [DEVICE [COMMAND…
sheffadmin
  • 49
  • 1
  • 3
  • 11
0
votes
1 answer

rhel + parted failed after increasing OS VM disk and rescan

we have VM rhel machine version 7.6 example from lsblk lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT fd0 2:0 1 4K 0 disk sda 8:0 0 300G 0 disk ├─sda1 8:1 0 500M 0 part…
sheffadmin
  • 49
  • 1
  • 3
  • 11
0
votes
1 answer

How to increase the free space in a Volume Group in LVM after expend VM disk size

We want to increase the space in a Volume Group in our VM centOS server For example from pvs we see pvs PV VG Fmt Attr PSize PFree /dev/sda2 VLwol lvm2 a-- <100.00g <5.09g the main target is to have under PFree the value - …
sheffadmin
  • 49
  • 1
  • 3
  • 11
0
votes
0 answers

LVM Logical Volumes will not activate on Cloudlinux 7.8

Recently, after a reboot, the system landed in Emergency Mode. The cause appears to be that the system is failing to mount a few of the disks as defined in /etc/fstab. These disks are Logical Volumes. Of the 6 Logical Volumes on the server, 3 are…
0
votes
1 answer

promox is blocked from fully booting by ifupdown2 start job

i have a promox server with ifupdown2 installed. recently when trying to reboot the entire server promox failed to get to console, it gets stuck on replication runner failing and the ifupdown2 service not starting up. i have gained access the server…
Fuseteam
  • 111
  • 6
0
votes
0 answers

Extend LVM partition

I need to extend existing LVM mounted to /opt. I've created new volume sdb2 and mounted it to /opt, but disk space in df -h output still the same. What esle should I do? lsblk output: └─sda3 8:3 0 399G 0 part …
0
votes
0 answers

DD of LVM Partition to another disk drive not working - no space left on device

I have a vmdk attached to my Linux VM instance (/dev/sda). The disk has 2 partitions, as shown below: Disk /dev/sda: 17.2 GB, 17179869184 bytes, 33554432 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512…
jcwp
  • 1
  • 2
0
votes
0 answers

Missing creation time for LVM logical volume

One of our storage has an lvm volume group on which multiple logical volumes are not set the creating host name and time (LV Creation host, time attribute). These were created quite a long time ago, but unfortunately (since the date is missing) I…
Laszlo Malina
  • 168
  • 2
  • 10
0
votes
2 answers

Monitor Linux Server filesystem health and suspicious activities

I run my own, small server here. The server runs on Ubuntu 18.04. There is one single HDD using LVM on a partition together with EXT4. LVM is used for taking snapshots. I also use Webmin with Virtualmin for administration. During the past weeks, I…
C. Hediger
  • 101
  • 1
0
votes
1 answer

How can I extend lvm on centos with default partitioning?

I have a centos 7 OS on VM with default partitioning like this: enter image description here NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 1T 0 disk sda1 8:1 0 200M 0 part /boot/efi sda2 …
Ali Namin
  • 1
  • 1
0
votes
2 answers

Disk usage in LVM: Which directories contains most data?

We have following volumes: $ df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 3.8G 0 3.8G 0% /dev tmpfs 3.9G 0 3.9G 0% /dev/shm tmpfs …
robsch
  • 147
  • 9
0
votes
1 answer

Ubuntu Kickstart - LVM Partitioning using two HDD's not working and fdisk -l output makes no sense on successful single disk deploy

I have read so many kickstart configs and pressed recipes that my head is spinning, and I just need some help or clarification regarding this. Before I go too much into the config, the gist is that I am trying to create an unattended Ubuntu Server…
PM5K
  • 101
  • 1
0
votes
0 answers

Steps to extend CentOS v8 VM disk space on the fly without data loss?

I need some steps I can follow from the Putty session so I can extend the CentOS v8 VM without losing its data? I have already extended the disk space in the VMDK into 60 GB from its initial 40 GB. [root@PRDSVR08-VM etc]# fdisk -l /dev/sda Disk…
Senior Systems Engineer
  • 1,275
  • 2
  • 33
  • 62