Filesystem problems at boot and shutdown?
Rick Janssen
Rick.Janssen at phil.uu.nl
Wed Nov 26 15:01:44 PST 2008
I've been playing around with FreeBSD for some time now, still being
unable to solve some problems. Let me explain.
I'm trying to run a webserver on the machine. Just basic, nothing too
fancy. Problem concerns the following: The website served is speedy as
expected when accessed from local LAN, but when accessed from WAN via
router, it's realy slow. So, to do some tests, this afternoon I requested
some pages from an computer outside my LAN. Server was very slow again,
even ssh slowed to a crawl. Suddenly, without reason I know off,
everything sped up. I issued a reboot to check if the problem might have
been 'solved'. This took a long time.
Back home I checked the logs. It now appeared the long reboot-time was
caused by a Syncing disk anomaly, which happens when the system prepares
for shutting down.
Nov 26 22:38:12 server kernel: Syncing disks, vnodes remaining...1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 timed out
Nov 26 22:38:12 server kernel: Waiting (max 60 seconds) for system process
`bufdaemon' to stop...done
Nov 26 22:38:12 server kernel: Syncing disks, buffers remaining... 184 185
186 1 185 185 185 185 184 184 185 185 185 184 184 185 1 184 184 184 184
185 185 185 1 184 184 184 184 184 185 184 184 185 185 1 185 184 184 184
184 184 184 1 185 184 184 184 184 185 184 184 185 1 185 184 184 184 184
184 184 185 1 184 184 185 184 184 184 184 185 184 184 185 1 185 185 184
184 184 185 184 184 184 185 1 184 184 185 184 184 185 184 184 185 185 184
184 184 184 184 1 184 184 184 1 184 184 185 1 185 184 184 1 184 185 184
184 185 185 184 184 ... etc etc...
Nov 26 22:38:12 server kernel: Final sync complete
So I figured, might as well run fschk -y in single user mode to fix
potential problems. Now I got some new errors:
Nov 26 20:48:11 server kernel: ad4: WARNING - WRITE_DMA48 UDMA ICRC error
(retrying request) LBA=1364750271
Nov 26 20:48:11 server kernel: ad4: FAILURE - WRITE_DMA48
status=51<READY,DSC,ERROR> error=4<ABORTED> LBA=1364750271
Nov 26 20:48:11 server kernel:
g_vfs_done():ad4s1g[WRITE(offset=682932174848, length=131072)]error = 5
So far, nothing serious has followed from these errors I know off. They
only happen sporadically, during reboots.
Are these to problems even related, or am I just unlucky? Anyone has some
suggestions to fix them?
Regards,
Rick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: messages
Type: application/octet-stream
Size: 46241 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081126/55f4ec8c/messages.obj
More information about the freebsd-questions
mailing list