Questions tagged [lvm]

LVM is a logical volume manager for the Linux kernel

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

LVM size only 4G than 52G but should be 200G

Hi had and still have some very strange problems with a Server Ubuntu 18 LTS and LVM First only 4GB seemed to have been used while creating the host during setup, which was dedected much later after a ...
2
votes
1answer
53 views

Why does Ubuntu Server installer create separate /boot and /boot/efi partitions? Is /boot on a separate partition optional?

I am installing Ubuntu Server, and I noticed that the guided lvm process will create a 512MB /boot/efi fat32 partition as well as a 1GB /boot ext4 partition. The rest of the HDD is then given to LVM ...
1
vote
1answer
42 views

Ubuntu preseed expert_recipe priority/max size don't translate into correct result

Despite reading through the various posts and answers online, it's still very unclear to me how the <minimal size> <priority> <maximal size> parameters of partman-auto/expert_recipe ...
0
votes
0answers
42 views

Unable to reduce the logical volume of /home partition

enter image description hereenter image description hereI have been trying to reduce LV of /home partition which is around 800G. I have enabled root user, as the normal user default location is /home/...
0
votes
1answer
31 views

Questions Regarding Ubuntu Server 20.04 Setup

I am setting up a new machine with Ubuntu Server 20.04 to be used as file-/media- server hosting various Docker services. I have been using Ubuntu Server before and I am comfortable with CLI, but I ...
0
votes
1answer
25 views

Shrink Dynamically Expanding Hyper-V VHDX containing LVM Ubuntu Server

Initially I set up a dynamically expanding VHDX under Hyper-V that was about 6 TB and then installed Ubuntu Server 20.04 using LVM on it. I've since managed to shrink the installed Ubuntu Server down ...
0
votes
1answer
59 views

Can preseed automatically install Debian system with separate boot disk [closed]

I would like to automatically install a Debian system with multiple disks. There is /dev/sda for /boot, /dev/sdb for several LVs (for /, /home, etc.), and /dev/sdc for PostgreSQL's /pddata. I ...
0
votes
1answer
35 views

Upgrade SSD 1TB to 2TB: pv, vg, lv, and fdisk OK. df says no change

I'm upgrading a 20.04 server SSD from 1TB to 2TB. The transfer went fine but I seem to be stuck at the last step trying to get the new space to appear. pvdisplay, vgdisplay, lvdisplay, and fdisk all ...
0
votes
0answers
40 views

Unable to create Local Volume for installing Xen

I am following this link. I missed the "During the install of Ubuntu for the partitioning method choose guided - use the entire disk and setup LVM...". And reached upto lvcreate command(...
1
vote
0answers
64 views

Cannot delete LVM (to install Ubuntu 20.04)

I would like to install Ubuntu 20.04 from scratch. I booted on a live USB, but the install failed as my previous lvm partition /dev/ubuntu-mate-vg could not be removed. Using gparted (after ...
0
votes
2answers
41 views

Creating a 3 disk raid5 without losing data?

I had 1 4TB drive on its own that is quite full, now I got 2 additional 4TB drives, and I want to use the three in a raid5 configuration with some kind of software raid, like lvm or zfs. But I don't ...
0
votes
0answers
31 views

how can a full LVM setup has a slash fulled while all usr var etc partitions are separated ? (nearly)

Here's a strange thing to get a "/" partition fulled with a very new and quite minimal installation. (debian but very similar to ubuntu of course) Understand minimal here as a for usual ...
-2
votes
1answer
44 views

Unable to create an extended partition [closed]

Currently my host system is Debian 10.9.0, when I was first installing it I choose to use the entire disk and set up LVM (I didn't know what that meant at the time). installation image My main issue ...
0
votes
0answers
36 views

LVM (stuck with SELECT A BOOT DISK)

LVM is a powerful tool. Installing ubuntu 18.04 on a virtual machine I got to the following step and now stuck What I have: .vdi local disk of 10GB. 5Gb is mounted to / 1Gb boot is mounted to /boot ...
0
votes
2answers
75 views

Accidently lost /home during shrinking process with resize2fs

I tried to decrease size of my /home in order to increase my root / which is too small. I tried to achieve this by following this walkthrough. Unfortunately, I wasn't aware of the differences between ...
0
votes
0answers
15 views

Add new disk as sublv to LVM2 raid5 & create rmeta and rimage

When I do a lsblk, I get the following: sdc 8:32 0 9.1T 0 disk ├─data-data_rmeta_2 253:6 0 4M 0 lvm │ └─data-data 253:8 0 18.2T ...
1
vote
0answers
18 views

Why does LVM filesystem incorrectly show 100% usage?

On my Ubuntu 20.04 box, I have one 2TB disk that is running LVM filesystem. sda 8:0 0 1.8T 0 disk ├─sda1 8:1 0 512M 0 part /boot/efi ├─sda2 ...
0
votes
1answer
25 views

Trying to unmount Logical Volume, gives error “umount: /dev/lvm3/nlv1: not mounted”

I'm fairly new to Logical Volume Management, so please bare with me. I want to unmount the logical-volume lvm3-nlv1, in order to finally delete it. Viewing mount point using lsblk When I run lsblk, ...
0
votes
0answers
77 views

How do I mount an LVM LUKS encrypted drive on Ubuntu 20.04 without making it unbootable?

I have just added a new NVME drive to my system, I want to use it as my primary boot drive and I wanted to take the opportunity to do a cleanup of my OS. To do that I installed a clean copy of Ubuntu ...
0
votes
1answer
36 views

Move ext2 boot partition to LVM

I have an Ubuntu 16.04 server with an ext2 boot partition and an LVM setup. I want to move or copy the boot partition content to be within the LVM. I have searched and the closest thing I found was ...
0
votes
0answers
15 views

What is the difference between a whole disk and a partition added to LVM?

I inherited a system (Ubuntu 18.04) that has several disks grouped into an LV (mounted under /data below): ~ ➤ lsblk -o name,mountpoint,label,size,uuid NAME MOUNTPOINT LABEL SIZE ...
0
votes
0answers
56 views

how to prevent ubuntu to activate all available/discovered LVM VG/LV devices at startup?

I'm using Ubuntu 20.04 LTS. I have two LVM Volume Group (VG) named ubuntu and tools. ubuntu VG contains all needed Logical Volume (LV) as boot root home swap tools VG is a secondary VG containing ...
0
votes
1answer
910 views

Boot.mount fails after upgrading to 18.04

This problem has happened across many of our servers that were upgraded to 18.04 from 16.04. The common configuration is that root is an LVM, and either there is a /boot partition, or a /boot and /...
0
votes
1answer
176 views

My ubuntu--vg-ubuntu--lv out of disk space

I am out of disk space and have been trying for 2 day researching to expand my vda3 ubuntu--vg-ubuntu--lv into the vda 250GB slot using lvextend but it has not worked for me. Could someone help me out ...
1
vote
1answer
96 views

Shutdown messages from encrypted volume, serious or not?

I've been using Ubuntu 20.04 for a couple of months now on my computer. Installed it using the default installer with Full Disk Encryption enabled. Now, when I shutdown my computer systemd-shutdown ...
0
votes
0answers
24 views

Stale file handle for LUKS encrypted NSF and SAMBA fileshare

I'm at a loss on how to solve the following problem, having searched around a good bit. Context: I have a very small home network running an Ubuntu client 20.04, installed on a Dell XPS, and an Ubuntu ...
0
votes
0answers
19 views

Combine 3 1TB drives via LVM and then pair in RAID 1 with 1 3TB drive

I have 3 1TB drives I want to combine via LVM and the create a RAID 1 with a separate 3TB drive.Can this be done? All disks are just data storage in a home server, filesystem is on separate disks.
0
votes
1answer
60 views

GRUB boot to run Clonezilla on a server with LVM (Ubuntu 20.04 Server)

On a Ubuntu 20.04 Server. How to setup grub so that it can boot on a recent Clonezilla image (ISO preferred, but also possible ZIP) ? I've found great post here https://askubuntu.com/a/490206/30535 , ...
0
votes
1answer
76 views

Cannot umount /tmp. Both fuser and lsof show nothing locking that LV

I need to reduce my /tmp LV so I type this command : $ sudo lvreduce -r -L -2G /dev/myVG/tmp Do you want to unmount "/tmp" ? [Y|n] y umount: /tmp: target is busy. fsadm: Cannot proceed with ...
1
vote
1answer
40 views

A Question about LVM volume and storage management

Hi, I have 2 block devices: a 256G SSD and an 1TB HDD. I want to do: *Use the SSD storage for actively accessed and speed demanding files/directories such as runtime files, main system resources; and ...
1
vote
0answers
38 views

ubuntu installer did not set flag “lvm” on partition table - does it matter?

I have installed Ubuntu 20.04 LTS on a new computer, and decided to use the Logical Volume manager lvm . The installer partitioned the hard drive into 3 partitions, (1 MB UEFI bootlader area, , then I ...
0
votes
1answer
52 views

lvm: metadata demon deprecated, unavailable in 20.04 and higher?

The Logical Volume Manager (lvm) metadata daemon seems to be available (and recommended to be in a running state) in Ubuntu up to version 18.04 LTS, but for 20.04 it is not even available sudo ...
0
votes
0answers
91 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
0answers
16 views

Extend partition

I'm getting so much anxiety from this. I have an lvm. I extended the physical disk that it sits on by 250 GB. This is the result of lsblk: sdb 8:16 0 1.8T 0 disk └─sdb1 ...
0
votes
1answer
26 views

Auto, or semi-automatic disk space management?

Is there an automatic method of adding hard drives to an LVM? I get as far as formatted the second drive in gParted, then the most basic tutorials I find contain a novel's worth of terminal commands. ...
0
votes
0answers
50 views

Install Ubuntu 20.10 desktop on an existing lvm configuration

I want to install Ubuntu 20.10 desktop into the following lvm configuration: Physical Volumes: sda3 sdc1 Each physical volume contains its own volume group. This allows me to rebuild the contents of ...
0
votes
0answers
16 views

LVM Snapshot size

I'm a little confused. When creating a snapshot of an existing LVM: Do the LVM and the snapshot need to be in the same volume group Is the size of the snapshot supposed to be as big as the LVM itself?...
0
votes
1answer
94 views

Optimal Disk Partition Scheme for Normal User

I am new to Linux, I have installed Ubuntu Desktop to my machine, and this post is about Ubuntu Desktop, not Server. However, as I do researches about Ubuntu and learn something about it, I have ...
0
votes
0answers
33 views

How to recover formatted ext4 created on lvm partition

I need to recover a ext4 that was created on a lvm filesystem as I accidentally formatted it by mistake from ext4 to ntfs using disks in Ubuntu desktop The lvm is a 7tb partition made up of 1tb, 2tb ...
0
votes
1answer
30 views

Overwrote partition table (disk label) on LVM on HW RAID1

I have made a terrible mistake. I inadvertently updated the disk label on an LVM partition residing on a HW RAID1. I inherited a system that has two 1TB disks in a RAID1. It is/was running Ubuntu 18....
0
votes
0answers
53 views

ZoL block device (zvol) exported iSCSI - LIO fails with Logical unit communication failure / read/write fail

I have an Ubuntu (20.04.2 -5.4.0-52-generic #57-Ubuntu SMP) storage set-up with ZoL, from which an encrypted block-device is exported via iSCSI to a different Ubuntu (18.04.5 - 4.15.0-135-generic) ...
0
votes
0answers
18 views

Re-mounting a LVM error FAT-fs invalid media value (0x64)

Re-Mounting a LVM, I get the next message: EXT4-fs VFS: Cant find ext4 filesystem FAT-fs invalid media value (0x64) I'm Trying with the commands: fsck and e2fsck then the Server tells me Bad magic ...
0
votes
1answer
62 views

LVM instructions confuses me

I have ubuntu 20 server installed and during the installation it asked me if I want to use LVM and I did. Now I am trying to mount the LVM but I am getting confused on what to do. $ sudo lvmdiskscan ...
1
vote
0answers
116 views

Device for PV <UUID> not found

This is how it looks the drive settings of a VM that I am trying to rescue. $ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sr0 11:0 1 ...
0
votes
0answers
28 views

Using 2 hard drives as one, how to create lvm/raid and /boot/efi partition

Hello I have one hdd and an ssd that I intend on using as cloud storage. When I go through the live server set up, I cannot seem to create a Software RAID or LVM along with /boot/efi. Hardware raid ...
0
votes
0answers
21 views

Ubuntu 20.04 LV out of space, deleting files not helping

I'm occasionally running a VM on by Ubuntu 20.04 laptop. VM images are on a logical volume. I created a 20GB SATA virtual disk (qcow2) for a Windows 10 VM, & ran it. After a couple of days, the ...
0
votes
1answer
48 views

detach/re-attach volume

Tring to extend volume by doing the followings: umount /dev/vdc detach volume edit volume (increase size) attach volume After re-attached the volume, it got assigned to /dev/vdd. root@test-volume:/# ...
0
votes
1answer
51 views

How to reconnect LVM disks?

I have a server running Ubuntu 18.04 and would like to move to 20.04. I do not want to upgrade but to reinstall from scratch to have a clean system. All my services run under docker so the move will ...
0
votes
0answers
66 views

How to find physical disks?

$ sudo fdisk -l Disk /dev/loop0: 54.98 MiB, 57626624 bytes, 112552 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 ...
0
votes
0answers
40 views

fix hard disks on Linux after encripted LVM installation

I installed Ubuntu MATE on one of my machines and during installation I chose LVM and encryption. It became a bit annoying because on every boot up it would ask for encryption password and that ...

1
2 3 4 5
20