You are not logged in.

#1 2021-05-10 19:15:12

Kostolyano
Member
Registered: 2021-05-10
Posts: 3

I can't find folder

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

#2 2021-05-10 19:17:50

Kostolyano
Member
Registered: 2021-05-10
Posts: 3

Re: I can't find folder

I created soft symlink, when I moved folder, but after remounting it showed error that said "No such folder"

Offline

#3 2021-05-10 21:17:16

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,488

Re: I can't find folder

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

#4 2021-05-12 15:05:49

Kostolyano
Member
Registered: 2021-05-10
Posts: 3

Re: I can't find folder

Thanks, that helped!

Offline

#5 2021-05-12 15:08:42

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,488

Re: I can't find folder

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

Board footer

Powered by FluxBB