[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Mon, 11 Jul 2005 15:42:11 -0400 -->
- <!--x-from-r13: tert.serrzlre ng tznvy.pbz (Uert Terrzlre) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: [email protected] -->
- <!--x-reference: 002b01c5864a$1a008230$[email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] Best FS to use when doing unclean shutdowns? -->
- <li><em>date</em>: Mon, 11 Jul 2005 15:42:11 -0400</li>
- <li><em>from</em>: greg.freemyer at gmail.com (Greg Freemyer)</li>
- <li><em>in-reply-to</em>: <002b01c5864a$1a008230$[email protected]></li>
- <li><em>references</em>: <<a href="msg00159.html">[email protected]</a>> <002b01c5864a$1a008230$[email protected]></li>
- <li><em>subject</em>: [ale] Best FS to use when doing unclean shutdowns?</li>
If speed is a lesser concern, consider using the -sync mount option.
Not sure what filesystems support that, or maybe it is a generic Linux
thing so all of them do. I do know that XFS supports it.
The -sync option is supposed to tell the entire FS/partition to ensure
data is flushed from cache prior to returning from write() calls. You
would also want to disable any controller/disk write caches you have.
If that is too unwieldy for you, I think you can use the chattr
command to set a file-by-file flag that enables sync. That way any
specific files you want to protect should not return from write()
calls until their data is flushed from cache.
As I recall, chattr is only documented to work with ext2/ext3, but
support has also been in XFS for a while now.
FYI: Without the use of the above, I would consider XFS my last choice
for surviving unclean powerdowns. It has a very bad reputation.
FYI2: there was recent thread about all this on the XFS mailing list.
It had a little more information than the above.
Greg
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00159" href="msg00159.html">[ale] Best FS to use when doing unclean shutdowns?</a></strong>
<ul><li><em>From:</em> cfowler at outpostsentinel.com (Christopher Fowler)</li></ul></li>
<li><strong><a name="00163" href="msg00163.html">[ale] Best FS to use when doing unclean shutdowns?</a></strong>
<ul><li><em>From:</em> CMorlan at filink.com (Claudia Morlan)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00165.html">[ale] Best FS to use when doing unclean shutdowns?</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00171.html">[ale] Best FS to use when doing unclean shutdowns?</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00165.html">[ale] Best FS to use when doing unclean shutdowns?</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00167.html">[ale] Best FS to use when doing unclean shutdowns?</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00166"><strong>Date</strong></a></li>
<li><a href="threads.html#00166"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>