A
A
Andrey Andryushchenko2017-03-12 20:18:44
linux
Andrey Andryushchenko, 2017-03-12 20:18:44

How to free up space on the root partition?

The space in the partition /, which is located on ssd, has run out, but there is a lot of space on the hdd in the /home partition, can I somehow increase the size of / at the expense of /home?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dmitry, 2017-03-12
@delphikettle

See what's taking up space: du -csh /* | sort -h
Create a partition, transfer existing data to it (for example, from /var), mount a new partition (for example, to /var).

S
Sly_tom_cat ., 2017-03-12
@Sly_tom_cat

I'll add to Dmitry's words:
The place is over - this is not a reason to add it, but rather a reason to analyze why it ended.
Without such an analysis, the decision to add space is a symptomatic struggle.

C
CityCat4, 2017-03-12
@CityCat4

I support Sly_tom_cat . - first you need to determine what ate the place. If /var is unallocated, then most likely it is a log. If some log is growing in size, it means there is a constant recurring error - well, go ddos ​​:) The place may need to be added - but after the analysis "where does the place go, to which cities ..."

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question