mikecao2000

Q: Noatime flag

Hi,

 

I just installed a SSD in my Mac. I wanted to enable the noatime flag to optimize the SSD as seen at http://blog.alutam.com/2012/04/01/optimizing-macos-x-lion-for-ssd/#noatime  I followed the exact instructions listed on that page, but whenever I run mount | grep " / " it does not have a noatimeflag.


Any ideas? I'm running 10.10.1


Mike

MacBook Pro, OS X Yosemite (10.10.1)

Posted on Jan 24, 2015 7:54 AM

Close

Q: Noatime flag

  • All replies
  • Helpful answers

  • by Japib,

    Japib Japib Jan 24, 2015 8:04 AM in response to mikecao2000
    Level 4 (2,798 points)
    Desktops
    Jan 24, 2015 8:04 AM in response to mikecao2000

    as is says in the article:  "DISCLAIMER: Applying any of these tweaks is at your own risk"

    Apple and the Apple Support Community does not recommend "tweaking".

     

    "MacOS (like other unix-based systems) by default records last access time for every file. I.e. every time you read a file, a write is made on the filesystem to record this action." : Leave it as is, or you might experience problems in the future.

  • by BobHarris,Helpful

    BobHarris BobHarris Jan 24, 2015 8:11 AM in response to mikecao2000
    Level 6 (19,553 points)
    Mac OS X
    Jan 24, 2015 8:11 AM in response to mikecao2000

    Try

    sudo mount -vuwo noatime /

    mount | grep noatime

    from an Applications -> Utilties -> Terminal session

     

    You will be promoted for your admin password.  Type the password and hit <return>.  You will NOT SEE ANYTHING while you type the password, until you hit <return>

     

    Does it work.


    if so, it can be done, at least manually.

     

    Then review your .plist carefully to see if there is any deviation from the example.

     

    Also look in Applications -> Utilities -> Console for any error messages that may related to running your .plist

  • by Drew Reece,Helpful

    Drew Reece Drew Reece Jan 24, 2015 8:12 AM in response to mikecao2000
    Level 5 (7,649 points)
    Notebooks
    Jan 24, 2015 8:12 AM in response to mikecao2000

    Have you actually run that command to see if it will remount with noatime…

    sudo mount -vuwo noatime /
    

     

    Then check the mount info…

    mount
    

     

    Also RTM

    man mount
    

     

     

    I really do not understand why you need a launchd job to do the task that /etc/fstab does (maybe I am too old & out of date!)

    man fstab
    

    Create a fstab file (not fstab.hd) if you plan on using that, the manuals examples use the UUID which is a good idea, get that from the info section in Disk Utility.

     

    Otherwise check your launchd job is actually loading.

    sudo launchctl list
    

    The second column should be the exit status (assuming it ran) - you have rebooted or loaded the job manually too?

  • by mikecao2000,Solvedanswer

    mikecao2000 mikecao2000 Jan 24, 2015 8:26 AM in response to BobHarris
    Level 1 (0 points)
    Jan 24, 2015 8:26 AM in response to BobHarris

    Thanks! My plist file was incorrectly formatted: had to remove indentation.