<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 3/26/12 12:25 PM, Edward Capriolo wrote:
<blockquote
cite="mid:CAENxBwybeSAGFCFKSt3Rkg1NMSQhf8eWzmmPTBz-4T5SG6anPA@mail.gmail.com"
type="cite">
<pre wrap="">/var/lib is ok I think. Each daemon that needs to store data defaults
to /var/lib/${daemon}. Also your logs will go to /var/log, so in
practice /var is all disk besides /boot and / (and home if you are
supporting it). In the end anything that really cares about disk
performance will likely use /mnt/something.
</pre>
</blockquote>
yea i'm not too sure i really buy that argument though...<br>
<br>
back in the day it wouldn't be uncommon to find systems with shared,
read-only, mounted / /boot /etc volumes. /var/log may be going to a
special device with special mount options. dropping DB files for
example under /var/lib/my_db/ on the same volume/partition as var
log could quickly lead to disk i/o contention issues in some use
cases.<br>
<br>
also /mnt is meant to only be used for temporary mounts, not long
term filesystems(1) - so establishing that is a best practice should
be frowned upon as well IMHO. i've worked in environments where we
have predictable mount points for application specific volumes that
are mounted off of root - then sym-linked back into the expected
data directory for a given application. for example /u00 would be
for primary pg_data volumes, /u01 would be for pg_xlog's and /u02
for pg_tablespaces on a PostgreSQL system. Each of the mountpoints
would then symlink back to their expected location under $PGDATA.
(while it may be technically best to use /srv for these datatypes -
i've found that this method has served us well on our DB clusters).<br>
<br>
<br>
(1)
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a class="moz-txt-link-freetext" href="http://www.pathname.com/fhs/pub/fhs-2.3.html#MNTMOUNTPOINTFORATEMPORARILYMOUNT">http://www.pathname.com/fhs/pub/fhs-2.3.html#MNTMOUNTPOINTFORATEMPORARILYMOUNT</a><br>
<br>
<br>
-pete<br>
<pre class="moz-signature" cols="72">--
Pete Wright
<a class="moz-txt-link-abbreviated" href="mailto:pete@nomadlogic.org">pete@nomadlogic.org</a>
<a class="moz-txt-link-abbreviated" href="http://www.nomadlogic.org">www.nomadlogic.org</a></pre>
</body>
</html>