LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-07-2004, 04:35 PM   #1
hkl8324
Member
 
Registered: Aug 2003
Location: Hong Kong, China
Distribution: Ubuntu 10.04
Posts: 234

Rep: Reputation: 30
Hard disk continuously loads even i have logout??


my hard disk does occasionally load continuously without reason, maybe there is reason, but i have no idea. it only stop when i reboot the machine...
am i (my computer)hacked maliciously hacked by someboy or could something causing this.... because when i am in windows..the same situation aroses..

how can i know if my comp is hacked by someone..or can i spot the program accessing my HD...????

thanks

hkl8324

Last edited by hkl8324; 08-07-2004 at 04:37 PM.
 
Old 08-07-2004, 05:58 PM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
Hi.

It could be 'updatedb' running. This updates the locate database so you can find files using 'locate'. Next time your machine starts using the hard drive, check what is running with the 'top' command. Whichever program is causing the hard drive use will be at or near the top of the list.

It's probably 'updatedb' or 'prelink', and is nothing to worry about

Dave
 
Old 08-08-2004, 05:07 PM   #3
hkl8324
Member
 
Registered: Aug 2003
Location: Hong Kong, China
Distribution: Ubuntu 10.04
Posts: 234

Original Poster
Rep: Reputation: 30
you are right, but it is so annoying that the prelink and updatedb run every dat on my box...
what is the purpose of these two programs??? is it normal that my prelink takes my half an hour???because prelink render my box unuseable for that 0.5 hour..... and i scare my HD will die out soon because of this....

thanks again

Last edited by hkl8324; 08-09-2004 at 08:47 AM.
 
Old 08-08-2004, 06:40 PM   #4
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
Hi again.

prelink allows programs to start faster by 'pre-linking' shared libraries, so that this doesn't have to be done when a program starts up. You can switch this off if you like, it won't stop anything working. (I have prelink switched off, as it interferes with the win32 codecs in Xine)
On my system prelink takes about 7 or 8 minutes, so I suppose half an hour isn't outrageous.

updatedb goes through your directories adding each file it finds to a hash table so that files can be found very quickly by the 'locate' program. locate is a very useful utility, so I'd probably leave updatedb on. On the other hand, if you've never used locate and never intend to, you could switch off updatedb too.

If you want to switch off prelink, edit /etc/sysconfig/prelink and change PRELINKING=yes to PRELINKING=no.
If you want to switch off updatedb, remove /etc/cron.daily/slocate.cron

Both of these programs should run at a very low priority, and shouldn't interfere with you using your machine. I wouldn't worry about your hard drive dying - what tends to kill them is being swithed on and off all the time, not reading and writing to them.

Dave
 
Old 08-09-2004, 08:46 AM   #5
hkl8324
Member
 
Registered: Aug 2003
Location: Hong Kong, China
Distribution: Ubuntu 10.04
Posts: 234

Original Poster
Rep: Reputation: 30
understood...

but i am a last question about updatedb...will updatedb processes my windows partition if it is mounted as start up, how can i exclude this partition from updatedb....i think that is why updatedb need to take 0.5 hour to run...

the 3rd thanks

hkl8324
 
Old 08-09-2004, 11:59 AM   #6
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
If you look in /etc/updatedb.conf you'll see a line which starts with PRUNEPATHS. Add whatever directories you don't want to be scanned in that list.

Dave
 
  


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
Cloning 1 hard disk to smaller hard disk, dd or ghost? fireman949 Linux - Hardware 8 12-23-2012 12:51 AM
Reiser file system / Hard Disk/ Hard Drive Problems Oxyacetylene Linux - Software 4 10-10-2005 02:24 PM
Reclaim disk partition from hard disk installation EStester Linux - General 1 03-09-2005 11:25 AM
Hard drives spinning up and down continuously r_jensen11 Linux - Hardware 2 02-26-2004 04:45 PM
Hard Disk question - Making a big hard disk MrAnonym Linux - General 2 09-15-2003 06:08 PM

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

All times are GMT -5. The time now is 07:38 PM.

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