Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

lost+found problem

Posted on 1998-01-02
7
Medium Priority
?
299 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
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

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 200 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

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

Question has a verified solution.

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

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

722 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