Re: Need help restoring from filesystem failure

2006-06-29 Thread Timothy
 I'm running 6.1 release compiled from source. For a half of june it
 run smoothly. But then somehow I got a filesystem crash - it just
 refused to start after reaching fstab mounts, saying that fs (/data)
 was not properly dismounted:
 ...
 WARNING: /data was not properly dismounted
 /data: bad dir ino 2 at offset 16384: mangled entry
 panic: ufs_dir_bad: bad dir
 ...

I had the same symptom on my home server running 6.1 and it turned out to be a 
bad memory stick. 

TAS
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Need help restoring from filesystem failure

2006-06-28 Thread Lowell Gilbert
Maxim Vetrov [EMAIL PROTECTED] writes:

 I'm running 6.1 release compiled from source. For a half of june it
 run smoothly. But then somehow I got a filesystem crash - it just
 refused to start after reaching fstab mounts, saying that fs (/data)
 was not properly dismounted:
 ...
 WARNING: /data was not properly dismounted
 /data: bad dir ino 2 at offset 16384: mangled entry
 panic: ufs_dir_bad: bad dir
 ...

 I rebooted in single user mode and run fsck -f on each filesystem. All
 but one were clean.  I agreed on automatic correction suggested by
 fsck (shame on me, I do not remember what the message was about). Fsck
 applied suggested change and marked fs as clean. Then I tried to mount
 the fs:
 mount /dev/ad0s1f /data
 Instead I got complains about not properly dismounting and page fault
 while at kernel mode (page not present).
 I run fsck one more time (it didn't find any problem this time) and
 rebooted the system. The first problem showed up. Now I have vicious
 circle: mangled entry and page fault.

The disk itself is probably having serious problems.  I would try
copying the whole filesystem.  dd(1) with conv=noerror may be a good
start.  

 Is there any way to correct the problem? I was not so excited if it
 had been /var or even /usr, but it was /data with all of my personal
 projects and I do not have backups!!!

That is a rather unfortunate error.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Need help restoring from filesystem failure

2006-06-26 Thread Maxim Vetrov

Hi to all,

I'm running 6.1 release compiled from source. For a half of june it run 
smoothly. But then somehow I got a filesystem crash - it just refused to 
start after reaching fstab mounts, saying that fs (/data) was not 
properly dismounted:

...
WARNING: /data was not properly dismounted
/data: bad dir ino 2 at offset 16384: mangled entry
panic: ufs_dir_bad: bad dir
...

I rebooted in single user mode and run fsck -f on each filesystem. All 
but one were clean.  I agreed on automatic correction suggested by fsck 
(shame on me, I do not remember what the message was about). Fsck 
applied suggested change and marked fs as clean. Then I tried to mount 
the fs:

 mount /dev/ad0s1f /data
Instead I got complains about not properly dismounting and page fault 
while at kernel mode (page not present).
I run fsck one more time (it didn't find any problem this time) and 
rebooted the system. The first problem showed up. Now I have vicious 
circle: mangled entry and page fault.


Is there any way to correct the problem? I was not so excited if it 
had been /var or even /usr, but it was /data with all of my personal 
projects and I do not have backups!!!


Regards,
muxas
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]