 {"id":158,"date":"2009-01-08T15:27:21","date_gmt":"2009-01-08T20:27:21","guid":{"rendered":"http:\/\/www.networkjack.info\/blog\/?p=158"},"modified":"2009-02-24T09:29:10","modified_gmt":"2009-02-24T14:29:10","slug":"noatime-for-mac-os-x-server-boot-disk","status":"publish","type":"post","link":"http:\/\/www.networkjack.info\/blog\/2009\/01\/08\/noatime-for-mac-os-x-server-boot-disk\/","title":{"rendered":"noatime for Mac OS X Server boot disk"},"content":{"rendered":"<p>The new <a title=\"G4 Mac Mini with SSD\" href=\"\/blog\/2008\/12\/20\/macmini-vpn-server-with-internal-ssd\/\">G4 MacMini with the SSD<\/a> is running beautifully. However, there is one little detail I&#8217;d like to take care of to help prolong the life of the SSD: disable the atime updating in the file system.<\/p>\n<p>When we build out Linux servers, one of the configuration changes we always make is to add a noatime flag to the mount options for the file systems. atime is the Last Access Timestamp and really is useless in a server environment.<\/p>\n<p>After some empirical testing&#8230;..<\/p>\n<p><strong>Under Tiger<\/strong>:<\/p>\n<p># mount -uvw -o noatime \/<br \/>\n\/dev\/disk0s3 on \/ (local, journaled)<\/p>\n<p>no effect. Even produced this entry in the system.log:<\/p>\n<p>Jan  8 14:19:27 vpn KernelEventAgent[34]: tid 00000000 received<br \/>\nunknown event (256)<\/p>\n<p><strong>Leopard<\/strong>:<\/p>\n<p># mount -vuw -o noatime \/<br \/>\n\/dev\/disk4 on \/ (hfs, local, journaled, noatime)<\/p>\n<p>where it looks to be supported&#8230;<\/p>\n<p>The test is to check the last access time with a ls -lu , then simply cat the file, then ls -lu again.<\/p>\n<p>&#8212;<\/p>\n<p>I guess I&#8217;ll need to upgrade the Mini to Leopard Server!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The new G4 MacMini with the SSD is running beautifully. However, there is one little detail I&#8217;d like to take care of to help prolong&#8230;<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"http:\/\/www.networkjack.info\/blog\/2009\/01\/08\/noatime-for-mac-os-x-server-boot-disk\/\">Continue reading<span class=\"screen-reader-text\">noatime for Mac OS X Server boot disk<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22,9],"tags":[58,56,57],"class_list":["post-158","post","type-post","status-publish","format-standard","hentry","category-hardware","category-os-x-server","tag-leopard-server","tag-noatime","tag-tiger-server","entry"],"_links":{"self":[{"href":"http:\/\/www.networkjack.info\/blog\/wp-json\/wp\/v2\/posts\/158"}],"collection":[{"href":"http:\/\/www.networkjack.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.networkjack.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.networkjack.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.networkjack.info\/blog\/wp-json\/wp\/v2\/comments?post=158"}],"version-history":[{"count":4,"href":"http:\/\/www.networkjack.info\/blog\/wp-json\/wp\/v2\/posts\/158\/revisions"}],"predecessor-version":[{"id":168,"href":"http:\/\/www.networkjack.info\/blog\/wp-json\/wp\/v2\/posts\/158\/revisions\/168"}],"wp:attachment":[{"href":"http:\/\/www.networkjack.info\/blog\/wp-json\/wp\/v2\/media?parent=158"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.networkjack.info\/blog\/wp-json\/wp\/v2\/categories?post=158"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.networkjack.info\/blog\/wp-json\/wp\/v2\/tags?post=158"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}