Computing.Net > Forums > Linux > housekeeping in Linux

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

housekeeping in Linux

Reply to Message Icon

Name: Johnny0305
Date: January 15, 2004 at 13:40:01 Pacific
OS: Red Hat 9
CPU/Ram: P4/ 512
Comment:

Hi all,

I have a dual boot Win98/RH9. I just got
done doing the usual scandisk/defrag and clearing out temp files. Should I be doing something equivalent in Linux on a regular basis to keep things running smoothly?

Thanks for any advice.



Sponsored Link
Ads by Google

Response Number 1
Name: Jake
Date: January 15, 2004 at 16:13:45 Pacific
Reply:

Linux filesystems don't fragment much, so you won't have to worry about defragmenting. You don't really have to worry about temp files either. Another advantage is there's no registry to decay over time and slow down or break the system.


0

Response Number 2
Name: 3Dave
Date: January 16, 2004 at 02:23:08 Pacific
Reply:

You might want to add some cron jobs if they are not already there (cron is a bit like windoze task scheduler).

1) /usr/bin/updatedb
This keeps your locate database up to date.

2) find / -name core -exec rm {} \;
Removes core files.

3) Rotate log files and clear things like squid cache etc.

4) You can probably also safely delete the contents of /tmp on each boot.


0

Response Number 3
Name: dieymir
Date: January 16, 2004 at 06:47:56 Pacific
Reply:

There is a defragmentation tool for Linux. It's in development and I suppose when finished it'll cost you $24(maybe they let you download a Free personal edition). You can download it here:
http://www.oo-software.com/en/products/oodlinux/index.html

I've tried it on a unused FS without problems, but I'm not brave enought to do the same on a 'production' FS.

Hope this helps.


0

Response Number 4
Name: heart_debian
Date: January 16, 2004 at 12:07:23 Pacific
Reply:

What!!! A defragmentation tool which isn't even "free"?
Btw, what filesystem does it work on? Linux (the kernel) has reiser4, reiserfs, ext3, ext2, XFS, JFS etc etc...
Believe me, this is absolute crap.

Anyway, all Linux filesystems are designed so they don't fragment much (and so the performance never degrades), and so, YOU DON'T NEED TO DEFRAGMENT YOUR FILESYSTEM. In other words, you don't need to do anything that your distro doesn't already have in your crontab.
You people coming from windows should keep in mind that all systems are not as brain-damaged as windows is.

Btw, I think XFS, ext3 and reiser4 are all very good filesystems.


0

Response Number 5
Name: Ronald
Date: January 17, 2004 at 20:13:59 Pacific
Reply:

Like Audiofile said GNU/Linux dont need defragging. I have had improper shutdowns before and when it runs the disk check .03% is the most non contiguis file I have ever had.That is no fragmentation to speak of at all.


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon

Mounting a vfat partition mandrake 9.2 and kppp dia...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: housekeeping in Linux

How to mount cdrom in Linux from windows www.computing.net/answers/linux/how-to-mount-cdrom-in-linux-from-windows/30379.html

Laptop Power Management in Linux www.computing.net/answers/linux/laptop-power-management-in-linux/24675.html

Monitor power off in linux env www.computing.net/answers/linux/monitor-power-off-in-linux-env/21291.html