Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Oct 1998 12:00:38 -0600
From:      Warner Losh <imp@village.org>
To:        hackers@FreeBSD.ORG
Subject:   softupdates and/or fsck bugs or features?
Message-ID:  <199810181800.MAA00681@harmony.village.org>

next in thread | raw e-mail | index | archive | help

I had a couple of nasty crashes on my machine that has soft updates
enabled.  It would appear that I've also managed to get some
interesting corruption on one of my volumes.

I've attached a complete listing of ls -laR for lost+found.  Notice
anything unusual?  check out the link count of '.'.  Also, none of the
# files can be deleted.  rm claims the directory isn't empty, but it
sure looks that way t me.  It is interesting to note that the link
count is 3, 4 or 5, but in fact it really isn't.

Yes, I've run fsck on this volume.  It ran out of room in lost+found
so I had to run it again by hand.  Seems very odd to me.  I'm running
the latest kernel that has been delivered to my machine, and double
checked to make sure that the soft update files are the same ones that
are in contrib/sys/softupdates.

The fsck is running now and reconnecting a whole lot of inodes...
I'll have to see how many it succeeds in reconnecting.

Comments?  Ideas?  Suggestions?

Warner

ls -alR lost+found
total 104
drwxrwxr-x     3 imp   wheel    512 Oct 16 15:28 #295989
drwxrwxr-x     3 imp   wheel   1024 Oct 16 15:28 #383151
drwxrwxr-x     3 imp   wheel    512 Oct 16 15:28 #391128
drwxrwxr-x     4 imp   wheel   1024 Oct 16 15:28 #478458
drwxrwxr-x     4 imp   wheel   1536 Oct 16 15:28 #541913
drwxrwxr-x     5 imp   wheel   1024 Oct 16 15:28 #573610
drwxrwxr-x     5 imp   wheel    512 Oct 16 15:28 #581593
drwxrwxr-x     3 imp   wheel   2048 Oct 16 15:28 #613441
drwxrwxr-x     3 imp   wheel    512 Oct 16 15:28 #653005
drwxrwxr-x     3 imp   wheel    512 Oct 16 15:28 #653006
drwxrwxr-x     3 imp   wheel   2048 Oct 16 15:28 #668897
drwxrwxrwt  2562 root  wheel  91136 Oct 18 11:43 .
drwxr-xr-x     5 root  wheel    512 May 14 22:24 ..

lost+found/#295989:
total 90
drwxrwxr-x     3 imp   wheel    512 Oct 16 15:28 .
drwxrwxrwt  2562 root  wheel  91136 Oct 18 11:43 ..

lost+found/#383151:
total 90
drwxrwxr-x     3 imp   wheel   1024 Oct 16 15:28 .
drwxrwxrwt  2562 root  wheel  91136 Oct 18 11:43 ..

lost+found/#391128:
total 90
drwxrwxr-x     3 imp   wheel    512 Oct 16 15:28 .
drwxrwxrwt  2562 root  wheel  91136 Oct 18 11:43 ..

lost+found/#478458:
total 90
drwxrwxr-x     4 imp   wheel   1024 Oct 16 15:28 .
drwxrwxrwt  2562 root  wheel  91136 Oct 18 11:43 ..

lost+found/#541913:
total 91
drwxrwxr-x     4 imp   wheel   1536 Oct 16 15:28 .
drwxrwxrwt  2562 root  wheel  91136 Oct 18 11:43 ..

lost+found/#573610:
total 90
drwxrwxr-x     5 imp   wheel   1024 Oct 16 15:28 .
drwxrwxrwt  2562 root  wheel  91136 Oct 18 11:43 ..

lost+found/#581593:
total 90
drwxrwxr-x     5 imp   wheel    512 Oct 16 15:28 .
drwxrwxrwt  2562 root  wheel  91136 Oct 18 11:43 ..

lost+found/#613441:
total 91
drwxrwxr-x     3 imp   wheel   2048 Oct 16 15:28 .
drwxrwxrwt  2562 root  wheel  91136 Oct 18 11:43 ..

lost+found/#653005:
total 90
drwxrwxr-x     3 imp   wheel    512 Oct 16 15:28 .
drwxrwxrwt  2562 root  wheel  91136 Oct 18 11:43 ..

lost+found/#653006:
total 90
drwxrwxr-x     3 imp   wheel    512 Oct 16 15:28 .
drwxrwxrwt  2562 root  wheel  91136 Oct 18 11:43 ..

lost+found/#668897:
total 91
drwxrwxr-x     3 imp   wheel   2048 Oct 16 15:28 .
drwxrwxrwt  2562 root  wheel  91136 Oct 18 11:43 ..

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810181800.MAA00681>