Mandriva Expert
The place where your Mandriva Linux system finds support

Basic maintenance

+/- details
User ebateman
Incident Number 47663
Date 2003/01/02 00:10
Status Incident closed
Paid No

Product 9.0 (Dolphin)
Architecture x86_32
Scope Administration

Products owned
Community Support question - to convert into a paid question, click here

Lines in bold below have not yet been seen by the customer - those in blue are from the customer

Username : Date : Action : Comments [ close all ]    
 
ebateman : 02/01/03 12:10 AM : Incident created
-   I've been searching everywhere:
How do I do the equivalent of a scan disk or chkdsk?
What other stuff should I be doing once I've had linux running for a month?
defrag?
Thanks, and Happy New Year!! :)

 
Linegod_7611 : 02/01/03 02:25 AM : Reply received
-   Although ext2 and ext3 filesystems do fragment, they do not do so at the
frequency that FAT16 and FAT32 filesystems do, so manual checking is not
needed. If you are in the habit of rebooting your system, the checking
program (fsck) will be run during boot after 20 reboots or every 180 days,
whichever comes first, or if the system detects a situation that requires it (a
power failure or improper reboot). Fragmentation in ext2/ext3 is usually
between 0 and 3%, hardly enough to worry about.

If you _really_ want to check your filesystem, you can run 'fsck' against your
partitions after you unmount them. Do 'man fsck' to learn how.

Everything else should be automated (check '/etc/cron.*' and '/etc/logrotate.d/'
for some things that are done automatically).

Checking the size of the various logs (/var/log) , temp directorys (/tmp and
/home/username/tmp) and any 'spool' files should be sufficient.

There are other things that you may want to check, but this would be
dependant on if you are running any servers or not.

--------
Note: If this answer resolves your problem, please remember to close this
incident.

 
ebateman : 02/01/03 02:03 PM : More info provided
-   Other than making sure everything is update, what is needed under a server? I'm running Apache to test my web sites, and have ssh on too. (ldap is currently on, but that is a temporary measure so that I can grab my outlook mail)

 
Linegod_7611 : 02/01/03 07:44 PM : Reply received
-   The logs for apache are in '/var/log/httpd' and are rotated automatically, but if
you add virtual domains, and store the log files for those domains seperately,
you'll want to add them to logrotate. Otherwise, checking the 'errors' log
occasionally should be all you need to do.

sshd is fairly self-sufficient, you should only have to check '/var/log/secure'
occasionally.

--------
Note: If this answer resolves your problem, please remember to close this
incident.

 
 
ebateman : 02/01/03 09:51 PM : Incident closed
-  



This Incident is closed. It can not be edited anymore. You can create a new one by signing up/logging in your Mandriva Expert account.

  Mandriva  |  Contact  |  Legal  |  Privacy  |  Careers