Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora User (http://www.linux-archive.org/fedora-user/)
-   -   Is it save to mount / with noatime? (http://www.linux-archive.org/fedora-user/589081-save-mount-noatime.html)

Clemens Eisserer 10-19-2011 08:55 AM

Is it save to mount / with noatime?
 
Hi,

Is it save to mount "/" with the noatime flag, or are there still
packages which depend on an accurate access time?
My system is a desktop running xfce, so no weird mail-servers ;)

Thank you in advance, Clemens
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Alan Cox 10-19-2011 09:43 AM

Is it save to mount / with noatime?
 
On Wed, 19 Oct 2011 10:55:28 +0200
Clemens Eisserer <linuxhippy@gmail.com> wrote:

> Hi,
>
> Is it save to mount "/" with the noatime flag, or are there still
> packages which depend on an accurate access time?

Current kernels support a much better algorithm anyway. Look up 'relatime'

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Alan Cox 10-19-2011 09:43 AM

Is it save to mount / with noatime?
 
On Wed, 19 Oct 2011 10:55:28 +0200
Clemens Eisserer <linuxhippy@gmail.com> wrote:

> Hi,
>
> Is it save to mount "/" with the noatime flag, or are there still
> packages which depend on an accurate access time?

Current kernels support a much better algorithm anyway. Look up 'relatime'

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Clemens Eisserer 10-19-2011 01:42 PM

Is it save to mount / with noatime?
 
Hi Alan,

>> Is it save to mount "/" with the noatime flag, or are there still
>> packages which depend on an accurate access time?
>
> Current kernels support a much better algorithm anyway. Look up 'relatime'

Thanks for the hint, relatime seems to be what I was looking for.

- Clemens
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Misha Shnurapet 10-19-2011 01:47 PM

Is it save to mount / with noatime?
 
19.10.2011, 18:43, "Alan Cox" <alan@lxorguk.ukuu.org.uk>:
> On Wed, 19 Oct 2011 10:55:28 +0200
> Clemens Eisserer <linuxhippy@gmail.com> wrote:
>
>> *Hi,
>>
>> *Is it save to mount "/" with the noatime flag, or are there still
>> *packages which depend on an accurate access time?
>
> Current kernels support a much better algorithm anyway. Look up 'relatime'

And what about "nodiratime"?

--
Best regards,
Misha Shnurapet, Fedora Project Contributor
Email: shnurapet AT fedoraproject.org, IRC: misha on freenode
https://fedoraproject.org/wiki/shnurapet, GPG: 00217306
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Stephen Gallagher 10-19-2011 02:08 PM

Is it save to mount / with noatime?
 
On Wed, 2011-10-19 at 10:43 +0100, Alan Cox wrote:
> On Wed, 19 Oct 2011 10:55:28 +0200
> Clemens Eisserer <linuxhippy@gmail.com> wrote:
>
> > Hi,
> >
> > Is it save to mount "/" with the noatime flag, or are there still
> > packages which depend on an accurate access time?
>
> Current kernels support a much better algorithm anyway. Look up 'relatime'
>

relatime isn't much of a help though if you're looking to reduce writes
on a solid-state disk. I'm not sure if that was the original intent of
the question, but I think it's certainly worth answering.

I've been using noatime for a while with no obvious ill effects, but
your mileage may vary.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Reindl Harald 10-19-2011 02:45 PM

Is it save to mount / with noatime?
 
i am using "data=writeback,noatime,nodiratime" since 2006 on
all of my machines for all partitions on all servers and
workstations with the following services and WITHOUT selinux

* httpd
* dbmail
* postfix
* dovecot
* mysqld
* ntpd
* netatalk
* samba
* named
* dhcpd
* pure-ftpd

Am 19.10.2011 10:55, schrieb Clemens Eisserer:

Hi,

Is it save to mount "/" with the noatime flag, or are there still
packages which depend on an accurate access time?
My system is a desktop running xfce, so no weird mail-servers ;)

Thank you in advance, Clemens


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

JB 10-19-2011 03:01 PM

Is it save to mount / with noatime?
 
Clemens Eisserer <linuxhippy <at> gmail.com> writes:

>
> Hi,
>
> Is it save to mount "/" with the noatime flag, or are there still
> packages which depend on an accurate access time?
> My system is a desktop running xfce, so no weird mail-servers ;)
>
> Thank you in advance, Clemens

Unfortunately there are apps that may act incorrectly, either with noatime or
relatime.
Possible examples: procmail, mutt, mailx, perhaps few more known and unknown
yet (incl. sysadmin commands).

So, it is your call.

JB


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Heinz Diehl 10-19-2011 03:40 PM

Is it save to mount / with noatime?
 
On 19.10.2011, JB wrote:

> Unfortunately there are apps that may act incorrectly, either with noatime or
> relatime. Possible examples: procmail, mutt, mailx, perhaps few more known and unknown
> yet (incl. sysadmin commands).

I'm using "noatime" exclusively, and have been using it a long long
time. I did only see one program misbehaving in all these years,
that's mutt. It uses atime to determine when a mailfolder was last
accessed. With noatime, the timestamp will simply not be updated.
There are a lot of workarounds out there, so that isn't really a big
deal.

Here's what Linus says on noatime:
http://kerneltrap.org/node/14148



--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

JB 10-19-2011 05:16 PM

Is it save to mount / with noatime?
 
Heinz Diehl <htd <at> fritha.org> writes:

> ...
> Here's what Linus says on noatime:
> http://kerneltrap.org/node/14148
>

There is an interesting comment by Alan Cox:
"...
> /dev/md0 on / type ext3 (rw,noatime,nodiratime,user_xattr)
...
Ext3 currently is a standards compliant file system. Turn off atime and its
very non standards compliant, turn to relatime and its not standards compliant
but nobody will break (which is good)
..."

I assume he was talking POSIX ? Standards (file systems) test suites ?
Btw, is that comment still valid, and also for ext4 ?
Is braking standards good ? :-)

JB


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


All times are GMT. The time now is 04:22 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.