# Low Disk Space on filesystem.root

I’m receiving the following warning on my TensorBook:

“Low Disk Space on filesystem.root - The volume filesystem.root has only 77.3 Mb disk space remaining”

The TensorBook (April 2022) is running Ubuntu 20.04.4 and Lambda Stack.

## post by markd on Jul 31, 2022

John,

The normal Ubuntu install has all the software in the same partition.

(/, /usr, /tmp, /var, and /home). (There is also a separate small /boot/efi partition that you do not need to worry about unless it gets full).

You may have a second drive on your system, that you could move your home or other data.

The following would show what you have for drives and if they are mounted.

```
$ lsblk | egrep -A 10 “^sd|^nv”
```

To see what directory is taking up the most space:

(The -x and --exclude is to eliminate other directories).

```
$ sudo du -x --exclude=“/proc” -s /* | sort -n
```

- Then you can pick a sub directory to see what in there is taking the most space and continue.

```
$ sudo du -s /home/* | sort -n
```

And additional tool will display it graphically:

```
$ sudo apt install xdiskusage
$ sudo xdiskusage /
```

Solutions:

1. You could potentially move data to another drive.
2. Remove unneeded data or software, or archive it to a remote drive/server.
3. Compress data (especially large text-based data).
4. Get a larger drive.

## post by johnm on Aug 15, 2022

Thank you, Mark. The problem turned out to be in the /var/log syslog file. I had screen sharing enabled, which resulted in many attacks on my system from outside agents. The attacks were unsuccessful, but each attempt was logged in syslog. I cleared syslog to zero and disabled screen sharing – problem solved. Thanks to Lambdalabs support (Calvin Wallace) for help in solving this issue.
