Power Down

Oron Ogdan Orono at m-sys.com
Wed Dec 8 03:57:27 EST 1999


Sorry, In this email on the second line from the end it should read
I am afraid to guess NTFS and not NTFL.

Oron


-----Original Message-----
From: Oron Ogdan [mailto:Orono at m-sys.com]
Sent: Wednesday, December 08, 1999 12:59 AM
To: MTD
Subject: RE: Power Down


Since DiskOnChip is meant to be used in embedded system, we in M-systems 
do is provide a hard disk emulation on flash which is 
resistant to power failures. We power cycle the media for several 
months to check our algorithms are indeed power fail resistant.

That means that the NFTL structures on the media
are resistant to any power loss during any stage of the algorithm.
The only thing that can happen is that you will have what's called orphan 
units that need to be scanned for and released on mount.

But this only protects the logical / physical mapping, It does not 
guarantee any damage to the file system on those logical sectors was 
not caused. 

The only way to be resistant to power failures in the file system level 
is to use a log-structured file system. I heard ext3 is log-structured but
I am sure one of the Linux guys here knows more about this, Any other file
system 
that takes power failures into account, (I am afraid to guess NFTL ????). 
Some of our customers use their own home brewed LFSs and do it successfully.

Oron


-----Original Message-----
From: Bob Canup [mailto:rcanup at go2fax.com]
Sent: Tuesday, December 07, 1999 9:19 PM
To: MTD
Subject: Re:Power Down


Watch dogs are generally there to catch the problem of a run-away
machine - this ought to be a very rare occurrence.

According to Vipin's statistics about 1 in 250 random power failures
during writes to a DOC2000 results in a bad sector on the device. Since
you are required to run the chip in RW mode the only way I see to avoid
the problem is a UPS on the front end - with signaling to indicate power
failure so that an ordered shutdown could occur.

As far as the problem of a bad sector which he discussed I have not seen
any solutions other than the erase and start over one he originally came
up with - which for the reasons he discussed - is unacceptable.

The first step toward solving a problem is understanding exactly what
the problem is. My theory is that if you interrupt a sector write while
it is in progress the data and the error checking code don't match -
thus you get a bad sector. Any other theories?





To unsubscribe, send "unsubscribe mtd" to majordomo at infradead.org
To unsubscribe, send "unsubscribe mtd" to majordomo at infradead.org

begin 600 winmail.dat
M>)\^(AT(`0:0"``$```````!``$``0>0!@`(````Y`0```````#H``$(@`<`
M&````$E032Y-:6-R;W-O9G0 at 36%I;"Y.;W1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M0'%L(S$SL at XP?Q9063$V8!^@.OPV!4C$=\]`(0>11Y(L`$]#`="4`-]!XB"@
M4&$SP3=`8B$`7(7_'C8!`#;PC0$&`#&"(21-HOE&M'%U=6!1!(DQ'F.*,?,R
M80. at 4E=303<1'G)?=^]Q(!006C-.0&\B$&XVB$CS';$W0%50!?`>10-1,N'_
M(`**D`/P'9`>H'K@>Q&.5?]`T591#K`ZY"$D.U4>H%IBWT-Q`Y&.(6LA-&%H
M5(`V8/]UH7"A(+&, at XTL!"`[4#_!_U7$B&N5&3DTE@($`'11,X+_9I%.0B-B
MFQ&$=4DC!O!4@/\X845Q;2-$`1Y4/?%D at A[Q_V"A`"`>,#WA::-+0GK52Y'_
M3'`'@$_5,F">LYZ1.4,]@O\><B#AH9`&,:>;BI`=L5`P_7"!904P`:`\L$*-
M6J(4`/\@40ZP,F`B0%T0-X&I\3;P_TCRG&I0,`2!8**.0P[``-"^=%^20V&;
MWS)Q.]!-AQ/_!;!'X$TF!I!-DW`Q!)!%`/\%,3=`IL:3$CDB/+!CM;GQ_V(#
M-L$)P001E?,X0#=`(R+_JT0#8#QA/U)(X at 6@-Q$V8/^/`$.!A;,GI1V0,W!-
MDWN@/[L"E1@[T&S8N2,(D',_WX2/Q/^",K&A:6!B!/(L8'<=0!00'O$BQKDR
MH*+P(OLB,@#`:HXA`W`IX`N`(>'K`0`A`"X%L&?&+\<_R$\+R5_*9WW/<```
M`!X`0A`!````.P```#Q",3<X.3,P-3)!,3=$,C$Q03DX-C`P-C`Y-SA&-T4V
M,S`Q-$$P,3-#0&UA:6PN;7-Y<RYC;RYI;#X```,`WC^O;P```P`)60$````#
M``"`""`&``````#`````````1@````!2A0``)VH!`!X``8`((`8``````,``
M``````!&`````%2%```!````!````#DN,``+`,N`""`&``````#`````````
M1@`````&A0````````,``H`((`8``````,````````!&``````&%````````
M"P`#@`@@!@``````P````````$8``````X4````````+``2`""`&``````#`
M````````1@`````.A0````````,`!8`((`8``````,````````!&`````!"%
M`````````P`&@`@@!@``````P````````$8`````$84````````#``>`""`&
M``````#`````````1@`````8A0```````!X`"(`((`8``````,````````!&
M`````#:%```!`````0`````````>``F`""`&``````#`````````1@`````W
MA0```0````$`````````'@`*@`@@!@``````P````````$8`````.(4```$`
M```!``````````,`\3\)!```'@`Q0`$````&````3U)/3D\````#`!I`````
M`!X`,$`!````!@```$]23TY/`````P`90``````#`/T_Y`0```,`)@``````
M`P`V```````#`(`0_____P(!1P`!````-P```&,]55,[83T at .W`]32U3>7-T
M96US.VP]35,M15A#2$%.1T4M.3DQ,C`X,#@U-S(W6BTQ,S<Y,````@'Y/P$`
M``!,`````````-RG0,C`0A`:M+D(`"LOX8(!`````````"]//4TM4UE35$5-
M4R]/53U414PM059)5B]#3CU214-)4$E%3E13+T-./4]23TY/`!X`^#\!````
M"P```$]R;VX at 3V=D86X``!X`.$`!````!@```$]23TY/`````@'[/P$```!,
M`````````-RG0,C`0A`:M+D(`"LOX8(!`````````"]//4TM4UE35$5-4R]/
M53U414PM059)5B]#3CU214-)4$E%3E13+T-./4]23TY/`!X`^C\!````"P``
M`$]R;VX at 3V=D86X``!X`.4`!````!@```$]23TY/````0``',`"<-#Y:0;\!
M0``(,!"FJ$!:0;\!'@`]``$````%````4D4Z(``````>`!T.`0````L```!0
M;W=E<B!$;W=N```>`#40`0```#L````\0C$W.#DS,#4R03$W1#(Q,4$Y.#8P
M,#8P.3<X1C=%-C,P,31!,#$S1$!M86EL+FUS>7,N8V\N:6P^```+`"D`````
M``L`(P```````P`&$.P=%R<#``<0YP<```,`$!```````P`1$``````>``@0
M`0```&4```!33U)262Q)3E1(25-%34%)3$].5$A%4T5#3TY$3$E.14923TU4
M2$5%3D1)5%-(3U5,1%)%041)04U!1E)!24143T=515-33E1&4T%.1$Y/5$Y4
M1DQ/4D].+2TM+2U/4DE'24Y!``````(!?P`!````.P```#Q",3<X.3,P-3)!
M,3=$,C$Q03DX-C`P-C`Y-SA&-T4V,S`Q-$$P,3-$0&UA:6PN;7-Y<RYC;RYI
&;#X``-EQ
`
end


To unsubscribe, send "unsubscribe mtd" to majordomo at infradead.org



More information about the linux-mtd mailing list