OpenSource For You

File system consistenc­y checking

-

FSC. or fiOe system FonsLstenF­y FKeFk Ls D utLOLty tKDt Ls trDdLtLonD­OOy used to Serform D FKeFk on tKe FonsLstenF­y of tKe fiOe system; Lf LnFonsLste­nFLes Dre found, Lt FDn reSDLr tKem DutomDtLFD­OOy or, Ln FertDLn FDses, wLtK tKe KeOS of tKe user. :Lndows users wouOd know Lt by Lts DvDtDr, ‘FKkdsk’.

FLOe systems LnFonsLste­nFLes FDn DrLse due to Dn: (D) unFOeDn sKutdown of tKe fiOe system, tySLFDOOy due to either power failure or the user not following proper sKutdown SroFedures; or (b) due to KDrdwDre fDLOures, wKLFK OeDd to tKe fiOe system metD-dDtD LnformDtLo­n on tKe dLsk beFomLng LnFonsLste­nt. AOOowLng D ForruSted fiOe system to be used FDn OeDd to furtKer LnFonsLste­nFLes Dnd, Ln FertDLn FDses, even to SermDnent dDtD Ooss. HenFe, wKen systems Dre brougKt bDFk onOLne Dfter D FrDsK, oSerDtors KDve been known to run tKe ‘fsFk’ before tKe fiOe system FDn be mDde onOLne Dnd user IO oSerDtLons DOOowed on Lt.

FSC. LndeSenden­tOy trLes to buLOd Lts knowOedge of tKe struFture Dnd ODyout of tKe fiOe system from tKe vDrLous dDtD struFtures on dLsk, Dnd ForroborDt­es Lt wLtK tKe summDry/FomSuted LnformDtLo­n mDLntDLned by tKe fiOe system. If tKe two SLeFes of LnformDtLo­n don’t mDtFK, Dn LnFonsLste­nFy Ls deteFted Dnd FSC. trLes to reSDLr tKe LnFonsLste­nFy. If DutomDtLF reSDLr Ls not SossLbOe, tKe problem is reported to the user. A good overview of cSCK can be found in http://lwn.net/Articles/248180/.

Here Ls D TuestLon to our reDders. Do DOO fLOe systems need D FSC. utLOLty? For LnstDnFe, tKere Dre fLOe systems tKDt suSSort MournDOLng or wrLte-DKeDd OoggLng, wherein all changes to metadata are first logged on to D MournDO Oog on SersLstent medLD before tKe metDdDtD LtseOf Ls uSdDted. FLOe system LnFonsLste­nFLes FreDted by partial metaJdata writes resulting from a sudden crash wKLOe oSerDtLons Dre Ln mLd-fOLgKt Dre Dddressed by meDns of tKe fLOe system MournDO Oog, wKLFK FDn reSODy the log on restart and recover to a consistent state. Do suFK MournDOLng fLOe systems need FSC.?

Newspapers in English

Newspapers from India