Questions tagged [lvm]

Logical Volume Management provides storage abstraction, a generalization of disk partitioning.

Filter by
Sorted by
Tagged with
0
votes
1answer
11 views

How to merge two partitions inside one logical volume?

Recently I tried to extend the virtual disk size for my Centos7 virtual machine. I did it in a wrong way and now I have the following: # fdisk -l Disk /dev/sda: 53.7 GB, 53687091200 bytes, ...
0
votes
0answers
14 views

How to merge additional disk (volume) into existing one (Hetzner Server)

So on my Hetzner server, where I'm running nodes, I'm running out of space, so I used their additional volume feature to add more space, but they do it so a separate disk is created (sdb). My question ...
0
votes
2answers
29 views

Root partition not growing after LV increase

Sorry if this seems stupid, but I'm still kinda new to Linux. So for a class we need to make a VM, I wanted to try and save space on my hard drive, so I only gave it 25 gigs. That's always been more ...
4
votes
1answer
31 views

LV split over multiple PVs - moving to one PV

I have 3 drives in my system. They are all PVs inside one VG. Inside this VG are a few LVs. One of them is pretty big and spans over two drives/PVs. The 3rd drive is big enough to hold this entire ...
2
votes
1answer
68 views

umount: /home: target is busy

umount /dev/mapper/nvmeVg-home umount: /home: target is busy I looked at this answer and found this useful page I was unable to solve my problem before posting here. My /var directory is full. /var ...
0
votes
2answers
28 views

LVM 4,55 TiB Volume Group. I only can create a 2.70TiB logical volume

I create a Volume Group with 3 disks, 2 of 931g, and 1 of 2.73t. It seems like works propertly. sudo pvs PV VG Fmt Attr PSize PFree /dev/sdb nxt lvm2 a-- 931.51g 931.51g /dev/...
1
vote
0answers
27 views

Cannot extend virtual disk with `cfdisk`: Failed to resize partition

I'd like to extend my virtual disk in a Proxmox environment from 64GB to 100GB. The guest OS is Debian 10. I've extended the virtual disk in Proxmox (it now has 100GB) and restarted the guest OS. ...
1
vote
1answer
32 views

shrink partition after LVM resize on RedHat Linux

I have a physical Redhat RHEL 6.10 machine on physical hardware, which I tried to virtualize for vmware. We did backup with dd to virtualize. Problem is right now, that this VM is still taking full ...
0
votes
2answers
16 views

How can I extend lvm+xfs with no free partitions

I'm stuck with a centos 7 vm with 1 disk that has 4 primary partitions created... and now I need to add more space: It currently looks like this - simplified: mount /dev/mapper/centos-root on / type ...
0
votes
1answer
28 views

CentOS entered emergency mode after reboot

Please help me, this is very very important. I have a CentOS server running properly for a month. It was installed with LVM. Today I found that I could not connect to the MongoDB and failed to restart ...
0
votes
0answers
8 views

LVM operation hangs forever and cannot be killed on QNAP TS-412 with Debian

I have ran into a problem with my LVM. I have 4 drives in RAID 10, each is 14 TB, and on top of that there is LVM. The machine is 32-bit QNAP TS-412 running Debian 10. When installing the system, I ...
0
votes
1answer
23 views

Volume group not found after hard shutdown due to beveage spilled on the computer

This afternoon, I made a stupid move and some beverage spilled over my computer. I did not notice it directly, but when I came back the PC was shutdown. The computer was not on battery. I tried to ...
-1
votes
1answer
38 views

what is LVM _tmeta _tdata in lsblk

I've installed proxmox (sda) and did some LVM on another disks than proxmox was installed on (sdc, sdd). Now my setups is following: root@pve:~# lsblk NAME MAJ:MIN RM SIZE RO TYPE ...
0
votes
0answers
35 views

LVM volume group and its logical volumes not activated during startup on Debian Buster

My LVs in the only volume group I have are marked as "inactive" (vgscan) or "NOT available" (lvdisplay) respectively after machine restart. vgchange -an makes them active / ...
0
votes
1answer
27 views

Question about Disk Partitioning

I'm new to Linux environment and trying to get some clarification on the Disk partitioning. I've installed new RHEL 8 vmware workstation initially with 20GB Disk and later expanded with additional ...
0
votes
0answers
24 views

lvextend could be risky if volume is more then what is set

as all know lvextend is the command that extend the size of a logical volume as the following example lvextend -L100G /dev/vg-test/lv_root but this approach could be risky if the user by mistake also ...
0
votes
2answers
37 views

LVM + pvs + how to get the pvs results

we want to wrote command that take the Pfree size but with integer number not float number pvs PV VG Fmt Attr PSize PFree /dev/sda2 vg lvm2 a-- 277.97g 111.97g for example on ...
1
vote
0answers
28 views

LVM thin pool inactive and failed with: No data available

I am suffering in a problem due to a system crash, I am using LVM-THIN created in proxmox GUI, all lvs is inactive and the lvm seems broken and I saw it needs to fix manually in system log. After ...
0
votes
0answers
14 views

create non logical partition from free space on volume group (LVM)

I needed to have Windows beside Ubuntu on my Laptop. The setup on my ubuntu is 500 GB as Logical Volume. I could resize the volume group but can't do anything further, even with gparted on live boot. ...
1
vote
0answers
47 views

How can I share system folders across filesystems using LVM or by other means?

Background First off, this is a continuation of How can I use unique hostnames across VMs with a shared root filesystem? Is this method even recommended? I started a new thread because the edits and ...
0
votes
2answers
30 views

Multiple mounts of the same LVM

I'm not even sure if my question is correct, but I got the following problem. I have an encrypted USB drive (via veracrypt) which I decrypt on boot with crypttab and which is automatically mounted for ...
2
votes
2answers
89 views

How to fix /dev/mapper/rhel-root doesn't exist issue at startup?

I was trying to increase my /dev/mapper/rhel-root size. I have available 136GB of free space. For testing, from GNOME disk graphical interface, I mounted ext4, 2 GB and then unmount it. I used ...
1
vote
1answer
18 views

Mount hard drive to new CentOS 6 install

I installed Linux CentOS 6 on a new hard drive. GNOME automatically mounted my old drive to /media/bf90bc42-1b10-4c6f-9b58-f0e52d103907. Long number maybe is a some type of UUID. I even umounted it ...
0
votes
1answer
42 views

Unable to start a LVM-Volume after crash of cache-device

I'm running a radi6(HDD) setup on a debian 10.7 machine. I'm using this md-device for a LVM VG. I added a SSD as writethrough-Cache. Unfortunately my bash-history doesnt' contain the commands of the ...
0
votes
1answer
18 views

How to make multiple NFS host directories appear as one on NFS client?

I have 6 Ubuntu VM's on one network. Five of them has 2 TB disks attached. I have created NFS directories for those disks and share them on the last VM that acts as a client and a server. How I can ...
-1
votes
1answer
26 views

multiple mount points in same partition [duplicate]

If got a logic partition (LVM) with /tmp.. How move /var/tmp to the same logic partition? So we would have /tmp & var/tmp in the same. (Both are Ext4, var/tmp is currently in /var partition.)
0
votes
1answer
22 views

Why does `mount /dev/dm-8` mount `/dev/dm-39` instead?

On a debian 10 GNU with Linux kernel system the following line does not - as expected - mount /dev/dm-8 but (imho incorreclty) /dev/dm-37: mount /dev/dm-8 /mnt I am puzzled really now the reason and/...
0
votes
0answers
35 views

how to disable and re-enable the same LVM mirror leg, only to update system core packages?

I have a desktop PC without a no-break (but even with one the batteries may not last long enough in case things are compiled during the installation of the new kernel). I have 3 mirror legs of the ...
0
votes
0answers
19 views

Command to monitor lvm-raid1 status under a thin pool

Further to my question regarding the possibility of converting an lvm-raid1 LV into thinpool, which I understand it's possible I am now stuck in looking for a possible command to monitor their status. ...
-1
votes
1answer
18 views

Volume show different sizes in CentOS 7

I hope you and your dears are very well. I'm facing a issue which I cannot understand the root cause. I have a VM with CentOS 7 64 bits. This VM has the following partitions: Filesystem Size ...
2
votes
1answer
114 views

LVM type raid1 & thinpool is it possible?

We are moving an installation from mdadm raid with LVM on top to pure LVM, so we will add the original raid partitions as indendent partitions to the LVM group Something like: lvcreate -L 240G -n thin ...
1
vote
1answer
29 views

MacOS like lazy provisioned filesystem on Linux

I have always had issues with estimating how to partition a hard disk for the system, media, and other data. Although you can resize partitions more easily with LVM, it still consumes time and forces ...
1
vote
0answers
23 views

Viability of LVM snapshots for creating multiple versions of a filesystem on a backup storage device

I have a largish main storage disk of 400TiB that we plan to backup to a remote JBOD. The backup tools provided with the main storage only allow for dumping a single copy of the filesystem, and then ...
2
votes
1answer
31 views

With logical volumes, how to modify default lvs output?

With lvs I get the default output: ~$ sudo lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert pre_upgrade_2020-10-31 rpi.vg06 swi-a-s--- 2,...
0
votes
1answer
12 views

Xencenter server with failed disk mirror - LVM - I am unsure how to proceed

I'm having a serious problem with an older server I inherited running Xencenter. The VM would no longer boot with a VDI unavailable error.. I began troubleshooting as much as I could but I have very ...
1
vote
0answers
18 views

Cannot shrink logical volume - mixed messages whether space is available

I want to shrink my logical volume (LV) $ df -h Filesystem Size Used Avail Use% Mounted on ... /dev/mapper/MyOnlyVolumeGroup-MyLogicVolume 59G 23G 35G 40% /...
3
votes
1answer
373 views

How can I add a new physical volume to extend an existing LUKS-encrypted lvm (volume group) and maintain encryption?

I want to extend my LUKS-encrypted lvm (volume group) with a new physical volume. In my previous question I was told - in respect to my actual setup - that I need to encrypt the new physical volume ...
1
vote
1answer
48 views

Do I maintain encryption when extending a luks encrypted lvm with a physical volume?

My luks encrypted lvm is running out of space. I want to extend the volume group with a new physical volume. Will the data on that physical volume be encrypted automatically when added to the volume ...
-2
votes
1answer
35 views

lvcreate + how to set lvcreate with variables when size is in GIGA

dear all friends We want to create the VOLUME_GROUP_NAME As lvcreate -n $LV_NAME --size $P_size $VOLUME_GROUP_NAME and the variables are VOLUME_GROUP_NAME=VG_a LV_NAME=LV_NEW_1 P_size=5 ( is the new ...
0
votes
1answer
17 views

get pids/locks for lvm - source for opencount on dmsetup info

# dmsetup info Name: ubuntu--vg-root State: ACTIVE Read Ahead: 256 <---- cat /sys/dev/block/253:0/bdi/read_ahead_kb gives 128 not 256 Tables present: LIVE Open ...
0
votes
1answer
92 views

What are the benefits to using multiple LVM caches?

I strangely can't find any documentation on this, just how to use LVM cache for a device. If add another SSD as a second LVM cache to LVM volume, will I get better or worse performance? Or does it ...
4
votes
2answers
183 views

Is an LVM cache a security leak when using LUKS on LVM?

I have two hard drives in a volume group with LVM. All volumes in that volume group hold LUKS containers. If I add an SSD as an LVM cache to that volume group, is all data on the cache device ...
0
votes
1answer
49 views

Disk looks fine, but mount fails (bad option, bad superblock)

I've got a disk that's a bit of a mess right now, but I feel like I've got it into a state where it's working. Here's the original question about how the block size was wrong: https://superuser.com/...
0
votes
1answer
45 views

How to wipe free space in an LVM volume group?

After some storage reorganisation, I have a volume group with a fair chunk of free space. I want to wipe this free space without perturbing any of the existing volumes. Is there an easy way to fill ...
2
votes
1answer
25 views

bare metal raid array with LVM dissapears after reboot

tl;dr: RAID array + LVM dissapears after reboot. Detail I wanted to set up an encrypted raid array, based on this SO. I set up a RAID array "bare metal" (i.e. on the disks not on the ...
0
votes
1answer
111 views

Grub is not booting Ubuntu with LUKS/LVM

I have installed Ubuntu 20.04 on LUKS/LVM but unfortunately on booting I am only getting a grub> prompt. # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda ...
0
votes
1answer
22 views

Extending LVM on an existing partition in vmware environment

I am trying to extend a logical volume size of a partition in a vmware environment. The VM originally was configured with a single 60 GB HDD and partitions look like as follows: lsblk NAME ...
0
votes
2answers
72 views

What happens to a logical volume when a physical volume fails?

I have recently run out of storage space on a server and would like to migrate to lvm to make handling this scenario easier in the future. I would like to combine all of my drives (not including OS ...
1
vote
0answers
36 views

How to setup mdadm raid1 auto-assembly, where external bitmap is itself on another mdadm raid1?

How can the assembling of a raid (as via information stored in mdadm.conf) succeed, given that its assembling requires a bitmap file, which itself is only available after another device has become ...
1
vote
1answer
133 views

How do I restore redundancy to an LVM-RAID volume

I have a logical volume (home64) that spans several drives that was converted to RAID1 using lvconvert. This was fine, and when a drive failed, it carried on. Now I'm trying to replace the drive ...

1
2 3 4 5
26