{"id":7166,"date":"2014-05-27T00:25:50","date_gmt":"2014-05-27T00:25:50","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/05\/27\/what-if-anything-is-safe-to-symlink-in-var-collection-of-common-programming-errors\/"},"modified":"2014-05-27T00:25:50","modified_gmt":"2014-05-27T00:25:50","slug":"what-if-anything-is-safe-to-symlink-in-var-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/05\/27\/what-if-anything-is-safe-to-symlink-in-var-collection-of-common-programming-errors\/","title":{"rendered":"What, if anything, is safe to symlink in \/var?-Collection of common programming errors"},"content":{"rendered":"<p>We have plenty of space on a different mounted device. Since the \/var partition stays relatively static in terms of size (around 8-10GB because of big logs that we need), I&#8217;d be fairly happy to simply make our current \/var space 65% full rather than 75%. In other words, we don&#8217;t need to move much. Here&#8217;s a snapshot of what&#8217;s in there now:<\/p>\n<pre>4.0K    .\/account\n119M    .\/cache\n0       .\/clamd\n292M    .\/cpanel\n8.0K    .\/crash\n12M     .\/csectsh\n528M    .\/data\n16K     .\/db\n16K     .\/empty\n6.1G    .\/lib\n4.0K    .\/local\n24K     .\/lock\n1003M   .\/log\n16K     .\/lost+found \n0       .\/mail \n120K    .\/named\n4.0K    .\/nis\n4.0K    .\/opt\n8.0K    .\/portsentry\n20M     .\/pravda\n4.0K    .\/preserve\n84K     .\/profiles\n236K    .\/run\n115M    .\/spool\n470M    .\/tmp\n4.0K    .\/yp<\/pre>\n<p>We just repartitioned a bunch of stuff on our production server, so I don&#8217;t really feel like scheduling more downtime, especially since I believe we have an SLA with a client. I know that many of these files&#8217; parent processes would have a problem with sym links, but I&#8217;m far from an expert, as this is an inherited system. Does anybody know any sure bets for things that can move?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We have plenty of space on a different mounted device. Since the \/var partition stays relatively static in terms of size (around 8-10GB because of big logs that we need), I&#8217;d be fairly happy to simply make our current \/var space 65% full rather than 75%. In other words, we don&#8217;t need to move much. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7166","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7166","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=7166"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7166\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=7166"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=7166"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=7166"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}