# elementary OS says only 229 MB free on PC, but it is not using 500 GB HDD

I have two disks, a 15 GB SSD & a 500 GB HDD, but elementary OS is only using the SSD. Here is a screenshot of the disks (I had an issue with the screenshot tool, low on storage).

Going to "Other locations" -> "Computer" in file manager shows under 500MB free of my 15 GB SSD. Also operations are failing because the lack of storage. Anyone know why this is and how I can fix it?

You likely have a few options. 15GB is a bit small for a desktop drive and you've likely run out of space on it. You could reinstall Elementary setting the HDD as your /home and /usr partitions. Another option would be copying everything over to the HDD, but this is likely to make boot slower. A third, more advanced option would be setting the HDD to be your /home and /usr and transferring everything over. They're essentially in order of how easy they are.

BEFORE DOING ANY OF THESE, ENSURE THAT YOU'VE BACKED UP ANYTHING YOU CARE ABOUT.

THEY WILL ALL WIPE THE HDD, THE FIRST WILL WIPE YOUR SSD AND BOTH THE FIRST AND THIRD WILL MAKE MAJOR CHANGES TO YOUR SSD's FILE SYSTEM THAT WILL MAKE IT IMPOSSIBLE TO BOOT ELEMENTARY WITHOUT BOTH THE SSD AND THE HDD PLUGGED IN.

# Reinstall elementaryOS

This is the best solution if you don't really have anything on your system.

1. Backup everything, it will all be deleted.
2. When installing, select "something else".
3. Select "New Partition Table" for both drives (the /dev/sd{x} without a number). This will erase everything on your drive.
4. On your HDD, create a new partition by clicking "free space" then "+". You can leave the defaults, except set your mount point as /home and size to about 425000 (about 425GB).
5. Repeat step 4 on the HDD, set the mount point as /usr and let the size be the rest of disk.
6. On the SSD set the mount point as /.
8. Finish the installation.

# Copying everything over

This solution will keep your files intact but will mean that your SSD won't be used for boot or anything else.

1. BACKUP EVERYTHING YOU CARE ABOUT OR ELSE.
2. Boot into your elementaryOS install disk/USB key.
3. Open the GParted Partition Editor.
4. Identify the SSD and HDD's disk identifiers (/dev/sd{a,b,c,etc.}).
5. Open a terminal and run sudo dd if=/dev/<source disk, the SSD> of=/dev/<dest. disk, the HDD> bs=4M (dd copies the entire contents of the if file or disk to of, bs=4M tells it to copy 4MB at a time).
6. Wait until it finishes, it won't show you your progress and will take some time (for 15GB to a HDD my guess is an hour or so at most).

3. Create two new partitions on your HDD with GParted (ext4, primary, the partition that will end up being /home should be about 425GB on a 500GB disk, the one that will be /usr should be the rest).
4. Copy over the contents of /usr and /home to the roots of the respective partitions (so that the contents is the first thing you see when mounting the partitions).
5. Mount the SSD and remove /usr and /home from it (/<mountpoint>/usr, not /usr). You've backed it up first, right?
7. Run lsblk -f to identify the UUIDs of the relevant partitions.
8. Mount your SSD, edit /etc/fstab on it, and add to the end:  UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx /home ext4 defaults 0 2 UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx /usr ext4 defaults 0 2 
• I'll add to that... have /var take a piece of the 500 Gb drive... – Sebastian Dec 6 '18 at 1:00