I want to mount an external hard drive into my raspberry pi, I want to do it in a way that get fixed to the same drive, so it is always in the same path, that's why I am editing
I though it was working, but it doesn't
I executed the following steps
- Format the external hard drive
$ sudo mkfs -t ext4 /dev/sda
- Create a folder where I will mount the external hard drive
$ sudo mkdir /media/edrive
- Give Permissions to the folder
$ sudo chown -R $(id -u):$(id -u) /media/edrive
- Get the external disk UUID
$ sudo blkid
... UUID="1854-71A3" /media/edrive ext4 defaults,nofail 0 1 ...
Everything seems to work, but when I check the added data is on the micro sd, and not in the external drive.
How can I check if the disk is mounted? Is there an step I am missing?