Solved

lost+found problem

Posted on 1998-01-02
7
291 Views
Last Modified: 2008-02-01
After a big crash, I got a big file in my seconf hard disk in the /lost+found directory. It is about 1'3 GB (the disk is 2'5 GB) so I've lost 50 % of the storage capacity.

I tried to delete the files or to look for some utility to fix the problem but with no luck.

Is it possible to restore this space without reformating the partition?


0
Comment
Question by:cesc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 2

Expert Comment

by:Resonance
ID: 1635084
/lost+found is where e2fsck puts any files with lost filenames or links.  I've never seen it string together 1.3 gig of data, however.  What were you keeping on the drive?

Also, what are the permissions and ownerships on the file?  What error message do you get when you try to rm it?  What is the filename (any odd prefixes/suffixes?)?  Have you since run e2fsck on the drive with it unmounted?
0
 
LVL 4

Expert Comment

by:jlms
ID: 1635085
First of all run fsck, then if the file is useful just move it, if not delete it.

  If you can not delete it then recreate the filesystem in that partition.
0
 
LVL 4

Expert Comment

by:jlms
ID: 1635086
Please give some more clues or reasons why you rejected my answer. Withour information it is impossible to help!
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

Expert Comment

by:grmbl
ID: 1635087
I have about the same problem: See my question: "Character devices all over my filesytem"

0
 
LVL 1

Expert Comment

by:c4lv1n
ID: 1635088
root is able to delete this file. If not, unmount this partition and run e2fsck. If this does not help and make root alble to rm this file your hard-disk has bad sectors. Am I right to suggest you had problems with the power-cables ? - If yes, try following:
Back up whole partition (not the 1.3Gig-file). Format this partition with DOS. Use WIPE-INFO from Norton-Utilities 8.0 to erase whole partion. Overwrite it with 0 and then with 255. After this use scandisk (not so bad i think) to check disk surface. If you still have any bad sectors, sorry, your drive is dead.
0
 
LVL 3

Expert Comment

by:biyiadeniran
ID: 1635089
what is the name of the file?
0
 
LVL 2

Accepted Solution

by:
Resonance earned 100 total points
ID: 1635090
If your drive is SCSI running off of an Adaptec card, I may have accidentally discovered your problem -- by experiencing it myself.  After much tinkering, I discovered that the drive was not properly remembering anything that was done to it, which is why nothing would delete.  I eventually resolved the problem by momentarily removing the drive cable from the drive, reconnecting it, going into the SCSI utilities on my 2940 card, low-level formatting it, partitioning it *differently* from my original setup, mke2fs on those, repartitioning it back to my original setup, mke2fs on -that-, and then remounting.  It seems to work now.  Hope that helps you.

0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Samba Question 11 136
HOw To Install Docker on VMware Workstation 19 617
block mails from a particular country in postfix 7 79
SMTP log file for IMSVA 5 73
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question