L
L
lolka022020-09-22 11:26:02
ubuntu
lolka02, 2020-09-22 11:26:02

How to increase ubuntu disk size?

how to increase the size - /dev/sda5 19G 18G 0 100% /
take part of the size from here /dev/sda6 73G 30G 40G 44% /home

5f69b4ee9667d706532416.jpeg

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
pfg21, 2020-09-23
@pfg21

move heavy folders from the / partition to a partition with a lot of space, and instead of the original folders, insert a symlink pointing to the moved one. Programs do not distinguish redirection.
option 2: install ncdu. run sudo ncdu -x /and see what is polluting the system partition (classically it would be /var/log %) ).
in the same place, in the program, you can delete heavy files, but only with the mind you can shoot off your leg under sudo very quickly.

V
Vitaly Karasik, 2020-09-22
@vitaly_il1

Two options - either change the partition sizes as advised above, or simply move large files/directories from "/" to "/home".
I am for the second option - it is safer and easier.

M
Maxim Korneev, 2020-09-22
@MaxLK

There is another option. Maybe not the best, but the simplest and fastest is the link. You make a directory in / home and in / a link to it - logically it will be in / and physically in / home
Well, you can also add a disk that you mount to /

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question