On Mon, 26 Sep 2011, jongsoo_k wrote:
> I am trying to configure noatime at /etc/fstab. But I am a little
> confused with what i found from googling. So i decided to ask TS group.
> I am using TS7500.
In the 4th parameter of the relevant lines in /etc/fstab just add the
noatime option. Here's mine, for the root partition from my desktop linux
machine
/dev/sda1 / ext3 defaults,noatime,errors=remount-ro 0 1
You only really need the noatime option if the partition is on a flash
based memory device. Updating the access time on every file accessed can
place a large write burden on the flash device - the blocks on memory in a
flash device typically only support a certain number of writes before they
can break (early devices were about 100,000 writes per block, later devices
have large write limits).
Setting the noatime on filesystems mounted on flash based media is the
single best thing you can do to preserve your flash memory devices.
It can also speed up your system in general - less writes to the file
system.
For RAM based file systems like tmpfs and /devram? etc, it doesn't matter.
Security reasons generally dictate that you leave access time updates on.
But life is always a matter of weighing up the pros and cons and coming to
your own decision. I ALWAYS have noatime on all flash based file systems,
your mileage may vary.
>
> First, can I configure noatime for entire debian linux?
> I think someone said it is not good. I don't know the reason.
>
> Second, if i can not configure noatime for entire debian, then i want to
> configure specific directories.
> I am using Apache and my programs. My program files( and log file) are
> located in /var and /home.
> How can i configure? I am looking for sample configuration that can be in
> TS7500.
>
> Please see the output of "df -T" and "mount" command.
>
> ts7500:~# df -T
> Filesystem Type 1K-blocks Used Available Use% Mounted on
> tmpfs tmpfs 31444 4 31440 1% /lib/init/rw
> udev tmpfs 10240 172 10068 2% /dev
> tmpfs tmpfs 31444 0 31444 0% /dev/shm
> rootfs rootfs 507748 383470 98064 80% /
> /dev/root ext2 1979 1784 195 91% /initrd
> /dev/ram1 ext3 2971 1242 1576 45% /ramazu
> ts7500:~# mount
> tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
> proc on /proc type proc (rw,noexec,nosuid,nodev)
> sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
> udev on /dev type tmpfs (rw,mode=0755)
> tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
> devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
> rootfs on / type rootfs (rw)
> /dev/root on /initrd type ext2 (rw)
> /dev/ram1 on /ramazu type ext3 (rw)
>
> Thank you for your help
>
>
> Jongsoo
>
>
>
>
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|