[SOLVED] External SSD being wiped after reboot

I have an external SSD which was automatically mounted to /media/user/longstring. The first thing I did reformat it to ext4. After a reboot, longstring hasn't changed but everything I put on the SSD is gone and I can't cd into it or ls without sudo.

9 points · 6 comments · view on lemmy.world

6 Comments

Blaster_M@lemmy.world · 3 pts · 1y (1 reply)

1: Did you throw data into it before or after the format?

2: Permissions issue. You need to add permissions for yourself to access that mount point, whether it's setting those perms in /etc/fstab, chown/chmod the dir and below, or facl

arudesalad@sh.itjust.works · 2 pts · 1y

1: after 2: I had already done that, the permissions got reset after reboot

I ended up solving the problem by remounting it from /media/ to /mnt/

I still have no idea what caused the problem originally though.

arudesalad@sh.itjust.works · 2 pts · 1y

I didn't have any important data on it so I don't need to worry about data recovery

lurch@sh.itjust.works · 2 pts · 1y (2 replies)

it should show up with all other mounted file systems when you just ener "mount" into a terminal. can you copypaste or screenshot that for us. maybe it helps seeing the options

arudesalad@sh.itjust.works · 3 pts · 1y (1 reply)

I ended up solving the problem by remounting it from /media/ to /mnt/

I still have no idea what caused the problem originally though.

lurch@sh.itjust.works · 3 pts · 1y

maybe some overlay got mounted on top.