All Questions
108
questions
0
votes
1
answer
210
views
How to safely extend Logical Volume in production server
I have 4 LVs, type is ext4. I want to know how to safely extend them since they are all used for production.
From what I know the steps are.
unmount
extend
resize FS
mount again
Are these steps ...
2
votes
0
answers
394
views
/dev/mapper/ubuntu--vg-ubuntu--lv does not exist. Dropping to shell
I inherited a problem... originally we thought the root partition of the drive was filled and no one could log into the host. The host was rebooted and upon reboot it now drops to initramfs. I ...
0
votes
0
answers
775
views
/dev/mapper/ubuntu--vg-ubuntu--lv is full
I'm new to Ubuntu so I apologize in advance. I got my server up and running this week and set up jellyfin, which has been working fine up until now. I dont know if this is the cause but my boot drive ...
0
votes
1
answer
32
views
Help understanding remaining HDD space
So I'm trying to figure out if I can use a good chunk of hdd space that appears to be unmounted in my system.
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
loop0 ...
1
vote
0
answers
483
views
lvextend root partition causing (initramfs) ALERT! /dev/mapper/ubuntu--vg-ubuntu--lv does not exist. Dropping to a shell!
I'm building an Ubuntu 22.04.02 image using packer qemu builder.
I then dd the raw image to a baremetal mini pc.
On the first boot of the Ubuntu image I have a procedure that extends the root ...
0
votes
1
answer
553
views
Problem with boot - initramfs: Waiting for /dev/mapper/ubuntu--vg-ubuntu--lv to appear
initramfs: Timeout while waiting for devices for / (and possibly /usr) filesystems to appear (did you specified correct ones)
initramfs: Will cause kernel panic in 10s...
I chrooted to /dev/mapper/...
0
votes
0
answers
64
views
mount command is working fine in terminal but not through cgi script in python. i'm using apache2 for this
#!/usr/bin/python3
import cgi,subprocess
import getpass
current_user = getpass.getuser()
form = cgi.FieldStorage()
ip = form.getvalue('ip')
username = form.getvalue('username')
password = form....
1
vote
0
answers
175
views
why cannot umount an lvm partition?
I have an Ubuntu Server 22.04. The disks are managed using LVM partition. My /var partition needs a size increasing. So I thought to reduce the /home size, so that I could increase /var.
root@...
0
votes
1
answer
104
views
Ubuntu - create new lvm using part of previous one
I have a server in our environment that is maxed out on storage in the root partition. The request is to free up space by reallocating /home to its own partition. We have an excess of free space in /...
2
votes
0
answers
43
views
How to increase storage space in LVM in production
I have my own servers. I want to increase storage space in of LVM where I have database and my website running.
I run lsblk and it gives
vda 252:0 0 150G 0 disk
├─vda1 ...
0
votes
0
answers
117
views
I messed up and made my /boot partition laughably small over 4 years ago. Resizing it will not be straightforward. What can I do?
Ubuntu version is 22.04 LTS Desktop
My boot disk is /dev/sda, and it has three partitions.
Here are the relevant mounts:
~$ df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs ...
1
vote
0
answers
20
views
Extend LVM partition with the parent drive [duplicate]
I want the ubuntu--vg-ubuntu--lv partition to use the whole sda3 disk. So the / would be 296.1GB.
Any idea how can i do that? Cause i dont know how to do this way.
I have 0 idea what am i doing, i ...
2
votes
1
answer
811
views
Use the whole disk instead of a partition as root dir
My problem is that i have a ~300GB hdd (sda3) that i cannot use cause the / is not there.
How can i change that?
I think i installed lvm with the ubuntu server and this caused the problem. So in this ...
0
votes
0
answers
40
views
Does Ubuntu installation create folders automatically when using mounts on logical volumes to folders that do not exist yet?
I'm currently installing a new Ubuntu 22.04, and I have the following structure:
| Volume Group - VG_SSD |
| Default Logical Volumes we are used to: ...
0
votes
0
answers
525
views
Files ownership from second drive get reset on reboot
every time I reboot my system (ubuntu server 22.04) the ownership of all my files and directories from my second drive gets transferred from my regular user to user _apt and group systemd-journal. How ...