laprjns wrote:You could resize sda1 and sda3 making sda3 smaller and sda1 larger, but it a little tricky. I suggest you post the output of
so we can see the complete map of the disk.
Code: Select all
Welcome to fdisk (util-linux 2.21.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
The device presents a logical sector size that is smaller than
the physical sector size. Aligning to a physical sector (or optimal
I/O) size boundary is recommended, or performance may be impacted.
gapan wrote:First run:
That will probably reclaim a lot of space.
I'll say! I went from 98% usage to 40%!
Code: Select all
[~]$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 15355900 5988900 9367000 40% /
/dev/sda3 227690472 31245364 196445108 14% /home
tmpfs 817304 0 817304 0% /dev/shm
tmpfs 817304 299320 517984 37% /tmp
gapan wrote:After that you can take a look in /var, maybe there are huge logs generated in /var/log for some reason. Using the du command will probably reveal where the most data is used.
/var doesn't seem to be the problem.
gapan wrote:I find it hard to believe that you have filled up 15GB. In my current system I have something like 11GB and it feels that I have almost everything installed.
I find it hard to believe as well. I haven't installed that much. And what I have installed has mostly gone to my /home directory. But the df output tells the story.
gapan wrote:But if you still need more space, you can definitely move your /usb partition inside your home. You can add this in your /etc/fstab:
and then from
or from a live system, you can move your /usr to /home/usr
(adjust the paths for your HD in a live system)
Then
and it should be ok.
How does that affect the PATH when launchers or other programs try to find programs that should be in /usr? I might try it. But after the way spi cleaned things up I don't really need that much space.