Results 1 to 13 of 13
  1. #1
    Join Date
    Mar 2009
    Posts
    3,700

    any way to scan /check hd health under centos ?

    Hi,

    i install three server with the same hd/board/ram...etc,

    and i try to copy centos.iso to test the speed,

    the copy speed of one server is slower than another two server,

    but i check the /var/log/messages,there is no hd error warming,

    is any way i can use to can /check hd health under centos ?

    i hope i may use any way to burn to test the server harddriver and other hardware health and stability.


    thanx

  2. #2
    Join Date
    Jun 2011
    Location
    KUWAIT
    Posts
    45
    Hey ,

    You can check your hd status using the following commands on the command prompt

    root#> hdparm -t <filesystem>

    eg : /dev/sda1 , /dev/hda1


    root#> dumpe2fs <filesystem>

  3. #3
    Join Date
    May 2009
    Location
    /dev/null
    Posts
    171

    *

    Google for hdsentinel.

    Alternatively you can install the 'smarmontools' package and run 'smartctl -a /dev/sda1'.
    NiX API - A powerful Anti-Proxy/Anti-Fraud and IP Reputation Lookup API
    nixapi.com

  4. #4
    Join Date
    Feb 2004
    Location
    UK
    Posts
    1,431
    Also are the servers 100% identical ?

    ie Firewall / network port speed.

    Thanks

  5. #5
    Join Date
    Mar 2009
    Posts
    3,700
    Hi,

    i run grep EXT /var/log/messages and get the similar messages on the three servers


    Jun 13 18:56:39 serverzz kernel: EXT3-fs: mounted filesystem with ordered data mode.
    Jun 13 18:56:39 serverzz kernel: EXT3 FS on sda6, internal journal
    Jun 13 18:56:39 serverzz kernel: EXT3 FS on sda8, internal journal
    Jun 13 18:56:39 serverzz kernel: EXT3-fs: mounted filesystem with ordered data mode.
    Jun 13 18:56:39 serverzz kernel: EXT3 FS on sdb1, internal journal
    Jun 13 18:56:39 serverzz kernel: EXT3-fs: mounted filesystem with ordered data mode.
    Jun 13 18:56:39 serverzz kernel: EXT3 FS on sda7, internal journal
    Jun 13 18:56:39 serverzz kernel: EXT3-fs: mounted filesystem with ordered data mode.
    Jun 13 18:56:39 serverzz kernel: EXT3 FS on sda3, internal journal
    Jun 13 18:56:39 serverzz kernel: EXT3-fs: mounted filesystem with ordered data mode.
    Jun 13 18:56:39 serverzz kernel: EXT3 FS on sda2, internal journal
    Jun 13 18:56:39 serverzz kernel: EXT3-fs: mounted filesystem with ordered data mode.
    Jun 13 18:56:39 serverzz kernel: EXT3 FS on sda1, internal journal
    Jun 13 18:56:39 serverzz kernel: EXT3-fs: mounted filesystem with ordered data mode.


    thanx

  6. #6
    Join Date
    Apr 2004
    Location
    Florida
    Posts
    291
    If the drive is smart compatible then use smartctl

    smartctl -a /dev/hda

    smartd...

  7. #7
    Join Date
    Jan 2011
    Posts
    453

    Exclamation

    Quote Originally Posted by ttgt View Post
    Hi,

    i run grep EXT /var/log/messages and get the similar messages on the three servers


    Jun 13 18:56:39 serverzz kernel: EXT3 FS on sda2, internal journal
    Jun 13 18:56:39 serverzz kernel: EXT3-fs: mounted filesystem with ordered data mode.
    Jun 13 18:56:39 serverzz kernel: EXT3 FS on sda1, internal journal
    Jun 13 18:56:39 serverzz kernel: EXT3-fs: mounted filesystem with ordered data mode.

    thanx
    Hello,

    This is normal and nothing to worry about this. Try hdparm for checking the writing speed and smartctl for checking the health of HDD.
    Last edited by cptechie; 06-14-2011 at 01:38 PM. Reason: Added Info
    " Your work is to discover your work and then with all your heart to give yourself to it. "

    That's the mark of a true professional !

  8. #8
    Join Date
    Apr 2004
    Location
    Florida
    Posts
    291
    Quote Originally Posted by ttgt View Post
    Hi,

    i run grep EXT /var/log/messages and get the similar messages on the three servers


    Jun 13 18:56:39 serverzz kernel: EXT3-fs: mounted filesystem with ordered data mode.
    Jun 13 18:56:39 serverzz kernel: EXT3 FS on sda6, internal journal
    Jun 13 18:56:39 serverzz kernel: EXT3 FS on sda8, internal journal
    Jun 13 18:56:39 serverzz kernel: EXT3-fs: mounted filesystem with ordered data mode.
    Jun 13 18:56:39 serverzz kernel: EXT3 FS on sdb1, internal journal
    Jun 13 18:56:39 serverzz kernel: EXT3-fs: mounted filesystem with ordered data mode.
    Jun 13 18:56:39 serverzz kernel: EXT3 FS on sda7, internal journal
    Jun 13 18:56:39 serverzz kernel: EXT3-fs: mounted filesystem with ordered data mode.
    Jun 13 18:56:39 serverzz kernel: EXT3 FS on sda3, internal journal
    Jun 13 18:56:39 serverzz kernel: EXT3-fs: mounted filesystem with ordered data mode.
    Jun 13 18:56:39 serverzz kernel: EXT3 FS on sda2, internal journal
    Jun 13 18:56:39 serverzz kernel: EXT3-fs: mounted filesystem with ordered data mode.
    Jun 13 18:56:39 serverzz kernel: EXT3 FS on sda1, internal journal
    Jun 13 18:56:39 serverzz kernel: EXT3-fs: mounted filesystem with ordered data mode.


    thanx
    You may want to run an fsck.

    Force FSCK on reboot

    # shutdown -rF now

  9. #9
    Join Date
    Mar 2009
    Posts
    3,700
    but those are new hd,should i run fsck ? thanx

  10. #10
    Join Date
    Jan 2011
    Posts
    453
    Hello,

    I really thinks you don't have to run FSCK for that messages. Did you check the logs today?
    " Your work is to discover your work and then with all your heart to give yourself to it. "

    That's the mark of a true professional !

  11. #11
    Join Date
    Mar 2009
    Posts
    3,700
    Quote Originally Posted by cptechie View Post
    Hello,

    This is normal and nothing to worry about this. Try hdparm for checking the writing speed and smartctl for checking the health of HDD.
    Hi,if it is normal,how can i know what info those message want to say ? thanx

  12. #12
    Join Date
    Mar 2009
    Posts
    3,700
    Quote Originally Posted by cptechie View Post
    Hello,

    I really thinks you don't have to run FSCK for that messages. Did you check the logs today?
    Hi,no,i shutdown the three server yesterday and reboot after i find the way to check and fix it.thanx

  13. #13
    Join Date
    Apr 2004
    Location
    Florida
    Posts
    291
    Quote Originally Posted by cptechie View Post
    Hello,

    I really thinks you don't have to run FSCK for that messages. Did you check the logs today?
    You may not believe it but I have seen this problem before it was due to a server crashing and an FSCK fixed the issue. It may not always be the fix but when it happened to me the drive needed an FSCK of course it may have not been the exact same problem even though the errors are similar. There is a lot of discussions on the web about similar issues.

Similar Threads

  1. Tool for stress test , check disk i/o and health of drives in array
    By turbovps in forum Colocation, Data Centers, IP Space and Networks
    Replies: 2
    Last Post: 11-17-2010, 03:47 PM
  2. any way to check hardware health ?
    By ttgt in forum Colocation, Data Centers, IP Space and Networks
    Replies: 5
    Last Post: 10-31-2010, 03:58 AM
  3. Logs I should always check for health
    By smashrc in forum Hosting Security and Technology
    Replies: 11
    Last Post: 12-23-2009, 03:26 PM
  4. Unix: Check for disk health
    By Tomcatf14 in forum Hosting Security and Technology
    Replies: 7
    Last Post: 10-11-2007, 08:00 AM
  5. How do you scan a website to check for a virus?
    By Jeff Smith in forum Hosting Security and Technology
    Replies: 11
    Last Post: 03-10-2006, 12:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •