You are not logged in.
Pages: 1
I was adding a new hdd following this tutorial:https://abhchand.me/blog/adding-a-new-hard-drive-to-linux/
I moved folder "Cinema", which is 120 GB in size, then I remounted hdd and folder was gone but the size of my partition didn't change. Now I can't find it and files that were there. And hdd is empty
Offline
I created soft symlink, when I moved folder, but after remounting it showed error that said "No such folder"
Offline
If you symlink a directory and then remove the linked directory, your data is gone.
A symlink is just a pointer to somewhere else, the target can be invalid.
You can try to use testdisk or photorec to try to recover some of your data, https://wiki.archlinux.org/title/File_recovery
Everytime you're using the disk where the data was jeopardizes it, so you want to do this offline (from a live distro like grml) when the "Cinema" directory used to be on your root partition.
Offline
Thanks, that helped!
Offline
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline
Pages: 1