Score:0

Adding unallocated space without data loss

cn flag

I have Ubuntu Server 22.04. I have zabbix server installed on it. Unfortunately, disk space is running out. this server is a virtual machine on VMware ESXi. I added 25 GB to the server but unfortunately I don't know how to add 25 GB to the existing partition so as not to lose data. Is it possible at all?

 fdisk -l /dev/sda

sudo sfdisk --list-free /dev/sda

Marco avatar
br flag
First make sure you have a backup. Second you have a backup? Next you resize the partition (`man parted`) afterwards you can resize the filesystem, for ext4 you can use `resize2fs`.
sphtd avatar
cn flag
Yes i have backup. Its possible to extend /dev/mapper-ubuntu-vg-ubuntu-lv? `Filesystem Size Used Avail Use% Mounted on tmpfs 594M 1.4M 593M 1% /run /dev/mapper/ubuntu--vg-ubuntu--lv 12G 9.4G 1.6G 86% / tmpfs 2.9G 0 2.9G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock /dev/sda2 1.5G 253M 1.2G 19% /boot tmpfs 594M 4.0K 594M 1% /run/user/1000`
Marco avatar
br flag
Add additions to the question, not the comment. This is not readable.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.