lost + found file problem

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
importford
Level 1
Level 1
Posts: 8
Joined: Sun Sep 10, 2017 9:51 pm

lost + found file problem

Postby importford » Wed Nov 08, 2017 4:27 am

My PC kind of crashed,
I had a 1 TB HD with 4 partitions.
3 partitions of the 4 now have only a lost + found file.
I opened the first partition (the first volume of 204 GB) with root and this is what I get:
steve-GQ574AA-AB3-a6285l lost+found # df -h
Filesystem Size Used Avail Use% Mounted on
udev 3.9G 0 3.9G 0% /dev
tmpfs 799M 9.4M 789M 2% /run
/dev/sda3 48G 11G 36G 24% /
tmpfs 3.9G 37M 3.9G 1% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
cgmfs 100K 0 100K 0% /run/cgmanager/fs
tmpfs 799M 24K 799M 1% /run/user/1000
/dev/sda8 187G 60M 178G 1% /media/steve/bd69d0f5-e7fd-467f-b7a8-58235a9e0f98


the second partition and third partition I can't open.
When I try to open the lost + found folder in these two volumes
I get this message:
You do not have the permissions necessary to view the contents of "lost+found".

On one of these partitions is windows installed and on the other one pictures.
I can see with properties that one partition has 10 GB used and the next partition 4 GB
But I can't open the lost + found folder in these partitions and when I open these partitions as root, they are empty although more than 14 GB is used.

The fourth partition I can open normal and on this 4th volume I have the following folders installed:
/media/steve/10EA7693453ED0C91/recover
/media/steve/10EA7693453ED0C91/$RECYCLE.BIN
/media/steve/10EA7693453ED0C91/System Volume Information
/media/steve/10EA7693453ED0C91/torrent
/media/steve/10EA7693453ED0C91/torrent2
/media/steve/10EA7693453ED0C91/torrent full
/media/steve/10EA7693453ED0C91/torrent full2
/media/steve/10EA7693453ED0C91/systemrescuecd-x86-5.1.1.iso


Can somebody help me to find a solution to open the first three volumes of my hard disk again.
Is there a way to recover these lost + found folders/ How can I open them? How can I recover the data in these lost + found folders.
I find it strange that in the first volume I can open this lost + found folder as root, but in the next two volumes not. Even when i open the first lost + found folder as root, I have no idea what I should do. I am afraid that I will lose this data also.
Any ideas?
I have to admit that I only recently started to work with linux .
It is very good possible I did something wrong
Thanks for the help guys,...

importford
Level 1
Level 1
Posts: 8
Joined: Sun Sep 10, 2017 9:51 pm

Re: lost + found file problem

Postby importford » Wed Nov 08, 2017 5:45 am

with "df -h" I could open more volumes:

[quotesteve-GQ574AA-AB3-a6285l lost+found # df -h
Filesystem Size Used Avail Use% Mounted on
udev 3.9G 0 3.9G 0% /dev
tmpfs 799M 9.4M 789M 2% /run
/dev/sda3 48G 11G 36G 24% /
tmpfs 3.9G 4.9M 3.9G 1% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
cgmfs 100K 0 100K 0% /run/cgmanager/fs
tmpfs 799M 36K 799M 1% /run/user/1000
/dev/sda8 187G 60M 178G 1% /media/steve/bd69d0f5-e7fd-467f-b7a8-58235a9e0f98
/dev/sda7 197G 60M 187G 1% /media/steve/7e471600-6d85-4ebf-a9e3-d61472eb8908
/dev/sda5 64G 52M 61G 1% /media/steve/22ac4c6a-9e8c-49ca-9770-8a4bd7f4130d
/dev/sda4 322G 66G 256G 21% /media/steve/10EA7693453ED0C91
][/quote]
but I still don't know how to restore or open these lost + found folders of my 3 volumes.
anybody knows what i should do or not do????

Mute Ant
Level 12
Level 12
Posts: 4095
Joined: Tue Sep 03, 2013 7:45 pm

Re: lost + found file problem

Postby Mute Ant » Wed Nov 08, 2017 12:45 pm

The lost+found folder is made when an ext file system is formatted. If you want to look inside, root can do that, but it should be empty, and usually it is...
https://unix.stackexchange.com/questions/18154/what-is-the-purpose-of-the-lostfound-folder-in-linux-and-unix
"Files that appear in lost+found are typically files that were already unlinked (i.e. their name had been erased) but still opened by some process (so the data wasn't erased yet) when the system halted suddenly (kernel panic or power failure). If that's all that happened, these files were slated for deletion anyway, you don't need to care about them."

Booting a Live Session from DVD or USB store gives root read access to non-encrypted partitions of all the common file systems. That lets you make copies of anything unique on the drive, to a removable store, because a file system where data has gone missing suggests something horrible has happened. A hard drive failure would be my first guess.
Armageddon only happens once, you know. They don’t let you go around again until you get it right.

importford
Level 1
Level 1
Posts: 8
Joined: Sun Sep 10, 2017 9:51 pm

Re: lost + found file problem

Postby importford » Wed Nov 08, 2017 11:06 pm

Thanks for your help Ant :wink:
and yes, you are right,
I had a hard drive failure.
Now I am tying to recover what I can.

Do you know how I can solve this problem/
When I try to open the lost+found file,
I get this message:

the folder contents could not be displayed. :?
You do not have the permissions necessary to view the contents of "lost+found".


How do I get permission to view the contents?
And again thanks for your time and your help,
much appreciated.

User avatar
WharfRat
Level 19
Level 19
Posts: 9937
Joined: Thu Apr 07, 2011 8:15 pm

Re: lost + found file problem

Postby WharfRat » Wed Nov 08, 2017 11:13 pm

You can access that folder from the terminal using sudo as in

Code: Select all

[bill@XPS] ~/script $ sudo ls -lh /lost+found/
total 0
[bill@XPS] ~/script $


But as Mute Ant already alluded to I doubt there are any files there.
Image ImageImage

importford
Level 1
Level 1
Posts: 8
Joined: Sun Sep 10, 2017 9:51 pm

Re: lost + found file problem

Postby importford » Sat Nov 11, 2017 3:56 am

indeed, nothing there, destroyed by my mistake
but again thanks for the help guys....


Return to “Newbie Questions”

Who is online

Users browsing this forum: dishdude and 14 guests