ts-7000
[Top] [All Lists]

[ts-7000] Re: Beginner question regrading noatime TS7500

To:
Subject: [ts-7000] Re: Beginner question regrading noatime TS7500
From: "jongsoo_k" <>
Date: Mon, 26 Sep 2011 18:53:10 -0000

Here is what i did.  I think it took it after reboot.



Step 1, check filesystem for / .
ts7500:/proc# 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    382932     98602  80% /
/dev/root     ext2        1979      1784       195  91% /initrd
/dev/ram1     ext3        2971      1171      1647  42% /ramazu


Step 2: add noatime at /etc/fstab.  As an experiment, 
I add ext3 as file system 

ts7500:/var/log# cat /etc/fstab
# UNCONFIGURED FSTAB FOR BASE SYSTEM

 rootfs / ext3 defaults,noatime 0 0

Step 3 I reboot the linux. It shows the following.
rootfs has noatime

ts7500:~# mount
rootfs on / type ext3 (rw,noatime)
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)
/dev/root on /initrd type ext2 (rw)
/dev/ram1 on /ramazu type ext3 (rw)


For curiosity, at /ect/fstab, I used ext2 instead of ext3. 
And it seems now roofs is ext2 noatime?
I am wondering if "rootfs / ext2 defaults,noatime 0 0" changed the fyilesystem 
from ext3 to ext2 ???

See below. 

ts7500:/var/log# cat /etc/fstab
# UNCONFIGURED FSTAB FOR BASE SYSTEM

 rootfs / ext2 defaults,noatime 0 0

ts7500:/var/log# mount
rootfs on / type ext2 (rw,noatime)
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)
/dev/root on /initrd type ext2 (rw)
/dev/ram1 on /ramazu type ext3 (rw)






--- In  "naturalwatt" <> wrote:
>
> 
> 
> --- In  "jongsoo_k" <bstrt2003@> wrote:
> >
> > Dear Group
> > 
> > 
> > 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.
> > 
> > First, can I configure noatime for entire debian linux?
> > I think someone said it is not good. I don't know the reason.
> 
> You change mount options by mount point not by directory.
> 
> It is too late in fstab to change mount options for / as it is already 
> mounted.
> 
> Either change your linuxrc to mount / as noatime or run
> 
> mount -o remount,noatime /
> 
> some time after bootup.
> 
> > 
> > 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.
> > 
> >
>




------------------------------------

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/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU