S
S
shell_guy2021-10-27 09:32:08
linux
shell_guy, 2021-10-27 09:32:08

How to manually set the size of /dev/mapper/centos-root?

df -h
Filesystem               Size  Used Avail Use% Mounted on
devtmpfs                 1.9G     0  1.9G   0% /dev
tmpfs                    1.9G  4.0K  1.9G   1% /dev/shm
tmpfs                    1.9G  8.9M  1.9G   1% /run
tmpfs                    1.9G     0  1.9G   0% /sys/fs/cgroup
/dev/mapper/centos-root   17G   17G   20K 100% /
/dev/sda1               1014M  150M  865M  15% /boot
tmpfs                    379M     0  379M   0% /run/user/0


How to expand /dev/mapper/centos-root to 75 GB?*
on the Internet there are only aquarians, nothing in fact
vgdisplay
lvextend /dev/mapper/centos-root -L +2G
did nothing - Couldn't create temporary archive name.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
ky0, 2021-10-27
@ky0

on the Internet there are only Aquarius, nothing in fact

Yes, yes, a classic. There is a catastrophic lack of information on the Internet.
It is possible that you have everything a stake from a lack of space. Try all those "useless" tips from the internet by booting from a flash drive.

R
Ronald McDonald, 2021-10-27
@Zoominger

Well, enlarge it. Instructions: https://pingtool.org/en/online-resize-lvm-partitio...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question