Date: Mon, 19 Apr 1999 06:21:46 -0700 (PDT) From: billik@sun.uniag.sk To: freebsd-gnats-submit@freebsd.org Subject: misc/11216: Power fail versus Fsck changed my life. Message-ID: <19990419132146.E5E9E14A09@hub.freebsd.org>
index | next in thread | raw e-mail
>Number: 11216
>Category: misc
>Synopsis: Power fail versus Fsck changed my life.
>Confidential: no
>Severity: critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Apr 19 06:20:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator: steve
>Release: 3.1-STABLE
>Organization:
>Environment:
FreeBSD s2fvs.uniag.sk 3.1-STABLE FreeBSD 3.1-STABLE #2: Fri Apr 9 12:21:44 GMT 1999 root@s2fvs.uniag.sk:/usr/src/sys/compile/steve i386
>Description:
After some power/cable fail, i could not boot my machine.
I booted from 3.1 CDROM, ran fixit.
I runned fsck -y /dev/wd0s3* where is my disc and partition.
Well, boot, ...
missing files:
/etc/defaults/rc.conf
missing/directories:
/root/bin
problem area was /root
!!! THERE IS A COPY OF .. IS .^N (probably 'dot'+'\014')
HOW CAN I FIX IT?
===== example
15:16 (0) /root ls -lia
total 88
18860 drwxr-xr-x 12 root wheel 1024 Apr 19 14:52 .
2 drwxr-xr-x 20 root wheel 512 Apr 19 12:22 .?
...
15:16 (0) /root ls -lia .?/root
total 88
18860 drwxr-xr-x 12 root wheel 1024 Apr 19 14:52 .
2 drwxr-xr-x 20 root wheel 512 Apr 19 12:22 .?
=== example
filnamees were strange UpPerCASeD, directory /root/bin was missing,
but I've found it in /lost+found.
Contents of some files was changed!
instead #!/usr/bin/perl was something like #?psr/bin?pe?l
...
Note: Opened files were not hurted (I think).
>How-To-Repeat:
Cut hdd cable.
I had this problem before, but conseqences wer not so large like this.
>Fix:
backup files or die.
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990419132146.E5E9E14A09>
