Bug 13045

Summary: /usr and /var files all gone
Product: Base System Reporter: henryt4 <henryt4>
Component: miscAssignee: Sheldon Hearn <sheldonh>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description henryt4 1999-08-09 20:20:01 UTC
I copy too many files to /usr and /var directories, when 
I use "df" , it shows negative % of usage or availability 
on /usr and /var.  It just overwrite the limit of /usr and
/var. I reboot it couple times, it still ok, but suddenly
one day, all the files are gone, I can only boot to / and 
use sh. it shows no files there. I can't even use "ls". 
it ask me to fsck. 
When I install another fbsd on another HD, I mount the
old fbsd partition, and I can see old files there, but 
it's /usr and /var directories' files are gone.
Is there any ways to recover those files. thanks

How-To-Repeat: keep copy files to /usr and /var, overwrite the size
limit of /usr and /var.
use "df" and see if it's negative % usage or availablity.
it's like if /usr directory's size is 200M, but u keep
copy files, like 250M to /usr, it will just overwrite.
it won't crash, cause it has reserved space for it, when
"df", it only shows negative %.
reboot PC couple times, or running other OS, until one
day, suddenly, u can only boot to / and find no files
there.
Comment 1 des 1999-08-11 09:03:01 UTC
henryt4@yahoo.com writes:
> When I install another fbsd on another HD, I mount the old fbsd
> partition, and I can see old files there, but it's /usr and /var
> directories' files are gone. Is there any ways to recover those
> files. thanks

It sounds to me like /usr and /var are simply not mounted.

DES
-- 
Dag-Erling Smorgrav - des@flood.ping.uio.no
Comment 2 Sheldon Hearn freebsd_committer freebsd_triage 1999-08-16 18:17:21 UTC
State Changed
From-To: open->feedback

I see you've already had one response to your problem report. Could you 
let me know whether the problem was simply that the filesystems weren't 
mounted? If you don't know what I'm talking about, let me know and I'll 
give you a hand. 


Comment 3 Sheldon Hearn freebsd_committer freebsd_triage 1999-08-16 18:17:21 UTC
Responsible Changed
From-To: freebsd-bugs->sheldonh

I'll wait for feedback. 
Comment 4 Sheldon Hearn freebsd_committer freebsd_triage 1999-08-30 13:49:49 UTC
State Changed
From-To: feedback->closed

After getting close to a conclusion with the originator, it got to 
the point where I can't get feedback. The problem _was_ that the 
partitions weren't mounted. We got him up to the point where 
he could inspect the partitions, but there seemed to be major  
fs corruption that fsck couldn't sort out. I suggested 
newfs and installation, since which point I haven't heard from 
him (18 August).