I've got a 1 TB SSD, but I'm facing a problem: my root partition is almost full. I also have Windows installed alongside Linux Mint Cinnamon. Although I'm showing over 400 GB free on my SSD, Linux isn't utilizing that space. How can I tell Linux to use this SSD effectively? Here's the output from the 'df -h' command I ran:
```
Filesystem Size Used Avail Use% Mounted on
tmpfs 1,6G 2,0M 1,6G 1%
/dev/sda5 27G 25G 334M 99% /
/dev/nvme0n1p3 954G 513G 441G 54% /media/ellvixir/5236849536847C2B
/dev/sda1 32G 14G 18G 44% /media/1tb
```
As you can see, my root partition is almost full, despite having ample space on the SSD. Any advice on how to resolve this?
3 Answers
You might want to run the command `lsblk -o name,size,mountpoint,parttypename,fssize,fsused,fsuse%,fsavail` to get clearer insights on your drive layout. Sharing that output can help others give you better tailored advice on how to manage your spaces and files!
If you're dealing with Linux Mint, and this install is relatively new, it might be easier to just reinstall it while allocating more space for the root directory this time.
Your root partition is pretty packed at 99%! With only 27 GB allocated, it might be a good idea to move some of your data to the SSD. You could transfer your home directory (usually the largest) to use the space on the SSD instead. Just remember to update the `/etc/fstab` file after moving it to point to the new location.
That sounds great, but how do I log in as root to do this? What specific commands should I use?
Also, if I move the system files, will I lose the data already on the SSD? Is there a way to avoid that?
If you're looking for a quick fix, consider upgrading to a larger SSD, like a 4 TB one. Install Linux Mint fresh, and then use your existing SSD as an external drive to transfer important files over. That way, you're tackling the dual boot issue and freeing yourself from potential filesystem pain points!

Here's my output:
```
NAME SIZE MOUNTPOINT PARTTYPENAME FSSIZE FSUSED FSUSE% FSAVAIL
sda 59,2G
sda1 32G W95 FAT32 (LBA)
sda5 26,7G / Linux 26,1G 24,6G 94% 227,2M
nvme0n1 953,9G
nvme0n1p1 100M /boot/efi EFI System 96M 33,6M 35% 62,4M
nvme0n1p3 953,3G /media/ellvixir/5236849536847C2B Microsoft basic data 953,3G 512,7G 54% 440,5G
```