Cobra Forum

Linux => New to Ubuntu => Topic started by: mahesh on Sep 05, 2023, 04:09 AM

Title: Delete Items on Mounted SATA does not free up space, fstab settings?
Post by: mahesh on Sep 05, 2023, 04:09 AM
Hello all,
I have a few internal SATA drives mounted in Ubuntu 20.04.4 LTS.
When I attempted to delete items on these drives I am given the message "cant be put in trash do you want to delete immediately" and "Unable to find or create trash directory for"

If I select Delete, the item goes away but the free space available on the drive remains the same.

I have done some digging around the web and a lot of the solutions I seem to find indicate that I likely do not have my fstab configured properly.
Here is what my fstab looks like

     Code:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/nvme0n1p2 during installation
UUID=19cc6a19-6d93-4c25-8b28-649f28d86704 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=5ED2-7C80  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0
UUID=809E09029E08F288 /media/soloman/Core     auto nosuid,nofail,x-gvfs-show 0 0

UUID=4C50E4AA50E49C48 /media/soloman/Box     auto nosuid,nofail,x-gvfs-show 0 0

I was hoping to get some clarity on what I needed to add to fstab before I started fiddling with this, since Ive seen a few different suggestions on how to configure it.
The intention would be that these are permanently mounted drives. Video editing etc, a lot of large files being created and deleted.