LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 08-03-2004, 01:50 AM   #1
theapp
LQ Newbie
 
Registered: Aug 2004
Location: China
Posts: 8

Rep: Reputation: 0
Unhappy why the light of my harddisk be lighted every 5 seconds?(I installed the FedoraCore2)


I am using the Fedora Core release 2, but i find the light of my harddisk would be lighted every 5 seconds.
it seems that something access the harddisk periodically .
My hardisk runs well under the OS windows .

how to fix it ?

Thanks very much
 
Old 08-03-2004, 12:05 PM   #2
Tamsco
Member
 
Registered: Jul 2004
Location: 1st Brillouin Zone
Distribution: Gentoo (not ricer Gentoo)
Posts: 165

Rep: Reputation: 30
Does the light turning on adversly affect performance? If not it might be a part of the normal Fedora function. I find that windows in fedora (nautilus windows) update themselves much faster and often without having to reload. It may very well be a part of Fedora's standard run procedure.
 
Old 08-03-2004, 02:40 PM   #3
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Re: why the light of my harddisk be lighted every 5 seconds?(I installed the FedoraCore2)

Quote:
Originally posted by theapp
I am using the Fedora Core release 2, but i find the light of my harddisk would be lighted every 5 seconds.
it seems that something access the harddisk periodically .
My hardisk runs well under the OS windows .

how to fix it ?

Thanks very much
That would be the journal getting updated on your file system(s) if you choose either ext3, reiserfs ... to stop it I believe you should add the noatime option to the line(s) for the file system(s) being used in the /etc/fstab.

Code:
/dev/hda2       /               reiserfs        defaults,noatime        0      1
/dev/hda1       none            swap    sw                      0       0
#/dev/hdb1      none            swap    sw                      0       0
#/dev/hdd1      none            swap    sw                      0       0
/dev/hda3       /home           reiserfs        defaults,noatime,nosuid 0      2
/dev/hda5       /music          reiserfs        defaults,noatime,nosuid 0      2
 
Old 08-03-2004, 03:20 PM   #4
Harryc
Member
 
Registered: Dec 2002
Location: New York, USA
Distribution: OpenSUSE 10.0
Posts: 220

Rep: Reputation: 32
Re: Re: why the light of my harddisk be lighted every 5 seconds?(I installed the Fedo

Quote:
Originally posted by HappyTux
That would be the journal getting updated on your file system(s) if you choose either ext3, reiserfs ... to stop it I believe you should add the noatime option to the line(s) for the file system(s) being used in the /etc/fstab.

Code:
/dev/hda2       /               reiserfs        defaults,noatime        0      1
/dev/hda1       none            swap    sw                      0       0
#/dev/hdb1      none            swap    sw                      0       0
#/dev/hdd1      none            swap    sw                      0       0
/dev/hda3       /home           reiserfs        defaults,noatime,nosuid 0      2
/dev/hda5       /music          reiserfs        defaults,noatime,nosuid 0      2
Interesting solution. What are the implications of stopping 'the journal getting updated'?.
 
Old 08-04-2004, 08:12 PM   #5
theapp
LQ Newbie
 
Registered: Aug 2004
Location: China
Posts: 8

Original Poster
Rep: Reputation: 0
Re: Re: why the light of my harddisk be lighted every 5 seconds?(I installed the FedoraCore2)

Quote:
Originally posted by HappyTux
That would be the journal getting updated on your file system(s) if you choose either ext3, reiserfs ... to stop it I believe you should add the noatime option to the line(s) for the file system(s) being used in the /etc/fstab.

Code:
/dev/hda2       /               reiserfs        defaults,noatime        0      1
/dev/hda1       none            swap    sw                      0       0
#/dev/hdb1      none            swap    sw                      0       0
#/dev/hdd1      none            swap    sw                      0       0
/dev/hda3       /home           reiserfs        defaults,noatime,nosuid 0      2
/dev/hda5       /music          reiserfs        defaults,noatime,nosuid 0      2
I try it with your method, but it can't resolve that problem.
 
Old 08-04-2004, 08:17 PM   #6
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Re: Re: Re: why the light of my harddisk be lighted every 5 seconds?(I installed the FedoraCore2)

Quote:
Originally posted by theapp
I try it with your method, but it can't resolve that problem.
I think I'm out of ideas then that is what stopped it on mine, perhaps it is only with reiserfs ...
 
Old 08-05-2004, 09:03 PM   #7
theapp
LQ Newbie
 
Registered: Aug 2004
Location: China
Posts: 8

Original Poster
Rep: Reputation: 0
Re: Re: Re: Re: why the light of my harddisk be lighted every 5 seconds?(I installed the FedoraCore2

Quote:
Originally posted by HappyTux
I think I'm out of ideas then that is what stopped it on mine, perhaps it is only with reiserfs ...
ohh,it's my wrong ----i forgot to reboot the PC when i had modified /ect/fstab
Your method is correct, it is the same with ext3 file system .

Problem was solved !

Thanks very much !
 
Old 08-05-2004, 09:39 PM   #8
Harryc
Member
 
Registered: Dec 2002
Location: New York, USA
Distribution: OpenSUSE 10.0
Posts: 220

Rep: Reputation: 32
HappyTux, here's my fstab. I tried to insert noatime into / and /boot, and Fedora would not boot. How would I change it?

LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
/dev/sda1 /mnt/winxp_c vfat defaults 0 0
/dev/sdb5 /mnt/winxp_d vfat defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/hdd3 swap swap defaults 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0

Last edited by Harryc; 08-05-2004 at 09:46 PM.
 
Old 08-09-2004, 03:56 AM   #9
mr666white
Member
 
Registered: Jun 2004
Location: Leeds, England
Distribution: Gentoo, IPCop
Posts: 54

Rep: Reputation: 15
The hard disk light flashing every 5 seconds is most likely the way the write behind cache works under linux.
If you run 'free' you'll see that a big chunk of your ram is being used as disk cache. (K System Guard illustrates this nicely). If you have a facility for watching the drive access (i sometimes use the disk perfomance plugin for the xfce taskbar) you'll see that instead of almost constanly writing to your hard drive like windows, linux does it a big chunk at a time.

Translated into english: "It's quite normal".

Also note the noatime does not disable journalling. It just disables the recording of the last time you accessed a file. This is VERY essential if you're running an os from read only media, or media that it's best not to write to frequently. It' will increase performance, but can caue problems, for example if you have a script that backs up files you've changed in the last week, it won't be happy.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
convert total no of seconds in the format hour minutes and seconds suchi_s Programming 15 03-15-2011 11:34 AM
Can a Harddisk-installed Debian(not a Live CD) be used on different server? Akhran Debian 5 09-15-2005 02:59 PM
can RHEL- 3 can be installed on the PC having Serial ATA Harddisk Tushar Bhopi Linux - Hardware 2 08-13-2005 07:16 PM
why the light of my harddisk be lighted every 5 seconds?(I installed the FedoraCore2) theapp Linux - Hardware 22 04-10-2005 09:02 AM
When i run Linux, the red light on the casing which shows harddisk access becomes on Kashif Ahmed Linux - Newbie 3 12-14-2002 10:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 07:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration