[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: solution to / full



lina wrote:
> Filesystem      Size  Used Avail Use% Mounted on
[...]
> /dev/nvme0n1p2   23G   21G  966M  96% /
> /dev/nvme0n1p3  9.1G  3.2G  5.5G  37% /var
> /dev/nvme0n1p5  1.8G   14M  1.7G   1% /tmp
> /dev/nvme0n1p7  630G  116G  482G  20% /home

[...]
> I have done some purging already.
> :/usr# du -sh *
[...]
> 742M bin
> 8.1G lib
> 3.4G local

Perhaps it might be a solution to
- move your /usr/local to /home  (do as root: mv /usr/local /home)
- create a symlink from /home/local to /usr/local (do as root: ln -s /home/local /usr/)

I can't recommend this to do it with /usr/*bin oder with any /usr/*lib* directories, as booting might not work anymore, or at least not properply.

I can't say for sure that my solution has no impact on starting services in your system, as the risk exists, that starting some services from /usr/local might happen before mounting /home at system start.

And as a final word: even this/my suggestion might not work forever, as your / partition is really small (btw, your /tmp either). I would suggest to buy and install a second 500 Gb disk (don't do that much segmentation on the disk and use LVMs) and work on that disk instead. You might use the current disk later as backup space, or for a raid-1.

Best regards,
	Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27


Reply to: