🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #9811

bad block handling in the file system

#9811
From: Karl Lehenbauer
Date: Thu, 15 Sep 1988 11:39
15 lines
1475 bytes
There has been some discussion of how the filesystem should handle bad blocks.
I'd like to note that in Unix System V Release 3.1 (and beyond) the filesystem
handles it quite well, to wit:  Disk errors are communicated back to the 
operating system, as always.  If it's a soft error (detected and corrected 
by ECC code) the block is marked bad and the data is written to the new block 
that has been mapped in its place via the regular bad block handling mechanism.
If it is was a hard error, the operating system figures out what the block was 
in the context of the filesystem, and responds accordingly:  If the block is 
in the free list, it is simply remapped.  If it was in a file, a message is 
printed saying that a file has been corrupted.  If it was in /unix (the OS 
load file), or was really important to the filesystem, the system remaps the 
block and prints a message to the effect that a critical block has a hard 
error and the system may not be able to come back up once it is rebooted.
-- 
-- uunet!sugar!karl, Unix BBS (713) 438-5018
Technical Details
Message-ID: <2636@sugar.uu.net>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!super!udel!rochester!rutgers!bellcore!tness7!tness1!sugar!karl
References: <2619@sugar.uu.net> <4733@cbmvax.UUCP> <2634@sugar.uu.net>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!super!udel!rochester!rutgers!bellcore!tness7!tness1!sugar!karl
From: karl@sugar.uu.net (Karl Lehenbauer)
Newsgroups: comp.sys.amiga.tech
Subject: bad block handling in the file system
Message-ID: <2636@sugar.uu.net>
Date: 15 Sep 88 11:39:42 GMT
References: <2619@sugar.uu.net> <4733@cbmvax.UUCP> <2634@sugar.uu.net>
Organization: Sugar Land Unix - Houston, TX
Lines: 15