Hard Disk Sentinel run

Hello,

Can you help me how can I run Hard Disk Sentinel on openSUSE 12.2-64bit version!

Here is the link for the program:

Hard Disk Sentinel - Free Linux version

Thx Hugo

DId you see the project is not exactly “active”? It’s supposed to work with openSUSE 10.2 and 10.3, which have passed their EOL ages ago. Last update on the site is from march 2012. Plus, openSUSE has more than enough means (read software) that would deliver the same output.

Ok, Thanks.

Please tell me few of those apps which can do the same or better?!

Thx H

Here’s what I did:

Downloaded the 64bit zipfile from the site
Unzipped it to some folder
Went into that folder, did


chmod 755 HDSentinel

than ran it


su -c HDSentinel

and got this output:


Hard Disk Sentinel for LINUX console 0.08 (c) 2008-2011 info@hdsentinel.com                                                                                  
Start with -r [reportfile] to save data to report, -h for help                                                                                               
                                                                                                                                                             
Examining hard disk configuration ...                                                                                                                        
                                                                                                                                                             
HDD Device  0: /dev/sda                                                                                                                                      
HDD Model ID : ADATA SSD S511 120GB                                                                                                                          
HDD Serial No: 22002979000000000103
HDD Revision : 320ABBF0
HDD Size     : 114473 MB
Interface    : S-ATA II
Temperature  : Unknown °C
Highest Temp.: Unknown °C
Health       : 97 %
Performance  : 100 %
Power on time: 277 days, 2 hours
Est. lifetime: more than 1000 days

Looks fine, exept for the temperatures, which is the same after installing “sensors” and running sensor-detect to enable the lm-sensors service. Might be my hardware though.

BTW, I had an extra look, since you seem to be used to the program and I couldn’t imagine such basic software wouldn’t work.

Thanks a Lot!

What is Code: 755 ?

(chmod 755 HDSentinel)

It didn’t work for me

says :

bash : HDSentinel : command not found

It’s not a “code”. It’s a command to change the permissions of HDSentinel. Once unzipped it has permissions


-rw-r--r-- 1 glosscomputer users  2470406  3 sep  2011 HDSentinel

the -rw- stuff represents the permissions. The first dash is for setting other stuff, it’s followed by three blocks of three bits. Where --x would be “1” (2^0), rw- would be “6” ( 2^2 + 2^1 + 0). r-- would be “4”. The “r” is for read, the “w” for write, the “x” for executable (file) or access (folder). So, chmod (changemode) 755 means rwx for the owner, r-x for the group, r-x for the rest of the world.
In short, what the command does is changing the permissions from non-executable to executable. :


-rwxr-xr-x 1 glosscomputer users 2470406  3 sep  2011 HDSentinel

I’m aware of the fact that this can still seem quite cryptic, but I hope you’ll get an idea about what it does.

On 2013-05-26 22:26, hugox4 wrote:
>
> It didn’t work for me
>
> says :
>
> bash : HDSentinel : command not found

Assuming you did the chmod command, and assuming you expanded the zip to
a random directory, you have to prepend the path.

But you can get that data from the hard disk, and more, with smartctl
and hdparm.


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

It works

i extracted the zip file (Hard Disk Sentinel 64-bit Linux console version - [b]executable, zip-compressed) using file-roller

right clicked and went to properties and then ==>Permission==Marked it executable and then ran the following commands

dartmouth@linux-8zs1:~/Downloads> sudo ./HDSentinel -solid
root's password:
/dev/sda 42 100 1582 Hitachi_HDS721050DLE630 MSK423Y224561G 476940
dartmouth@linux-8zs1:~/Downloads> sudo ./HDSentinel -r
Hard Disk Sentinel for LINUX console 0.08 (c) 2008-2011 info@hdsentinel.com
Start with -r [reportfile] to save data to report, -h for help

Examining hard disk configuration ...

HDD Device  0: /dev/sda
HDD Model ID : Hitachi HDS721050DLE630
HDD Serial No: MSK423Y224561G
HDD Revision : MS1OA650
HDD Size     : 476940 MB
Interface    : S-ATA II
Temperature  : 42 °C
Highest Temp.: 45 °C
Health       : 100 %
Performance  : 100 %
Power on time: 65 days, 22 hours
Est. lifetime: more than 1000 days

Report file saved as: report.txt

dartmouth@linux-8zs1:~/Downloads> 

Also this is the report from “report.txt”



  -- General Information --

   Application Information
   -----------------------
    Installed Version . . . . . . . . . . . . . . . .  Hard Disk Sentinel 0.08
    Current Date And Time . . . . . . . . . . . . . .  27-5-13 08:31:56

   Computer Information
   --------------------
    Computer Name . . . . . . . . . . . . . . . . . .  linux-8zs1
    MAC Address . . . . . . . . . . . . . . . . . . .  EC:A8:6B:71:2D:40

   System Information
   ------------------
    OS Version. . . . . . . . . . . . . . . . . . . .  Linux : 3.7.10-1.4-desktop (#1 SMP PREEMPT Fri Apr 19 12:06:34 UTC 2013 (8ef74f8))
    Process ID. . . . . . . . . . . . . . . . . . . .  5647
    Uptime. . . . . . . . . . . . . . . . . . . . . .  2238 sec (0 days, 0 hours, 37 min, 18 sec)



  -- Physical Disk Information - Disk: #0: Hitachi HDS721050DLE630 --

   Hard Disk Summary
   -----------------
    Hard Disk Number. . . . . . . . . . . . . . . . .  0
    Hard Disk Device. . . . . . . . . . . . . . . . .  /dev/sda
    Interface . . . . . . . . . . . . . . . . . . . .  S-ATA II
    Hard Disk Model ID. . . . . . . . . . . . . . . .  Hitachi HDS721050DLE630
    Hard Disk Revision. . . . . . . . . . . . . . . .  MS1OA650
    Hard Disk Serial Number . . . . . . . . . . . . .  MSK423Y224561G
    Hard Disk Total Size. . . . . . . . . . . . . . .  476940 MB
    Current Temperature . . . . . . . . . . . . . . .  42 °C (108 °F)
    Maximum Temperature (during Entire Lifespan). . .  45 °C (113 °F)
    Power On Time . . . . . . . . . . . . . . . . . .  65 days, 22 hours
    Estimated Remaining Lifetime. . . . . . . . . . .  more than 1000 days
    Health. . . . . . . . . . . . . . . . . . . . . .  #################### 100 % (Excellent)
    Performance . . . . . . . . . . . . . . . . . . .  #################### 100 % (Excellent)

    The hard disk status is PERFECT. Problematic or weak sectors not found and there are no spin up or data transfer errors. 
      No actions needed.

   ATA Information
   ---------------
    Hard Disk Cylinders . . . . . . . . . . . . . . .  969021
    Hard Disk Heads . . . . . . . . . . . . . . . . .  16
    Hard Disk Sectors . . . . . . . . . . . . . . . .  63
    Total Sectors . . . . . . . . . . . . . . . . . .  976773168
    ATA Revision. . . . . . . . . . . . . . . . . . .  7
    Bytes Per Sector. . . . . . . . . . . . . . . . .  512
    Buffer Size . . . . . . . . . . . . . . . . . . .  23652 KB
    Multiple Sectors. . . . . . . . . . . . . . . . .  16
    Error Correction Bytes. . . . . . . . . . . . . .  56
    Unformatted Capacity. . . . . . . . . . . . . . .  476940 MB
    Maximum PIO Mode. . . . . . . . . . . . . . . . .  4
    Maximum Multiword DMA Mode. . . . . . . . . . . .  2
    Maximum UDMA Mode . . . . . . . . . . . . . . . .  150 MB/s (6)
    Active UDMA Mode. . . . . . . . . . . . . . . . .  150 MB/s (6)
    Minimum Multiword DMA Transfer Time . . . . . . .  120 ns
    Recommended Multiword DMA Transfer Time . . . . .  120 ns
    Minimum PIO Transfer Time Without IORDY . . . . .  120 ns
    Minimum PIO Transfer Time With IORDY. . . . . . .  120 ns
    ATA Control Byte. . . . . . . . . . . . . . . . .  Valid
    ATA Checksum Value. . . . . . . . . . . . . . . .  Valid

   Acoustic Management Configuration
   ---------------------------------
    Acoustic Management . . . . . . . . . . . . . . .  Not supported
    Acoustic Management . . . . . . . . . . . . . . .  Disabled
    Current Acoustic Level. . . . . . . . . . . . . .  Default (00h)
    Recommended Acoustic Level. . . . . . . . . . . .  Default (00h)

   EIDE Properties
   ---------------
    Read Ahead Buffer . . . . . . . . . . . . . . . .  Supported
    DMA . . . . . . . . . . . . . . . . . . . . . . .  Supported
    Ultra DMA . . . . . . . . . . . . . . . . . . . .  Supported
    S.M.A.R.T.. . . . . . . . . . . . . . . . . . . .  Supported
    Power Management. . . . . . . . . . . . . . . . .  Supported
    Write Cache . . . . . . . . . . . . . . . . . . .  Supported
    Host Protected Area . . . . . . . . . . . . . . .  Supported
    Advanced Power Management . . . . . . . . . . . .  Supported
    Power Up In Standby . . . . . . . . . . . . . . .  Supported
    48-bit LBA Addressing . . . . . . . . . . . . . .  Supported
    Device Configuration Overlay. . . . . . . . . . .  Supported
    IORDY Support . . . . . . . . . . . . . . . . . .  Supported
    Read/Write DMA Queue. . . . . . . . . . . . . . .  Not supported
    NOP Command . . . . . . . . . . . . . . . . . . .  Supported
    Trusted Computing . . . . . . . . . . . . . . . .  Not supported
    64-bit World Wide ID. . . . . . . . . . . . . . .  0050A3CCDE7FFE13
    Streaming . . . . . . . . . . . . . . . . . . . .  Supported
    Media Card Pass Through . . . . . . . . . . . . .  Not supported
    General Purpose Logging . . . . . . . . . . . . .  Supported
    Error Logging . . . . . . . . . . . . . . . . . .  Supported
    CFA Feature Set . . . . . . . . . . . . . . . . .  Not supported
    Long Physical Sectors (8) . . . . . . . . . . . .  Supported
    Long Logical Sectors. . . . . . . . . . . . . . .  Not supported
    Write-Read-Verify . . . . . . . . . . . . . . . .  Not supported
    NV Cache Feature. . . . . . . . . . . . . . . . .  Not supported
    NV Cache Power Mode . . . . . . . . . . . . . . .  Not supported
    NV Cache Size . . . . . . . . . . . . . . . . . .  Not supported
    Free-fall Control . . . . . . . . . . . . . . . .  Not supported
    Free-fall Control Sensitivity . . . . . . . . . .  Not supported
    Nominal Media Rotation Rate . . . . . . . . . . .  7200 RPM

   SSD Features
   ------------
    Data Set Management . . . . . . . . . . . . . . .  Not supported
    TRIM Command. . . . . . . . . . . . . . . . . . .  Not supported
    Deterministic Read After TRIM . . . . . . . . . .  Not supported

   S.M.A.R.T. Details
   ------------------
    Off-line Data Collection Status . . . . . . . . .  Suspended By Interrupting Command From Host
    Self Test Execution Status. . . . . . . . . . . .  Successfully Completed
    Total Time To Complete Off-line Data Collection .  4348 seconds
    Execute Off-line Immediate. . . . . . . . . . . .  Supported
    Abort/restart Off-line By Host. . . . . . . . . .  Not supported
    Off-line Read Scanning. . . . . . . . . . . . . .  Supported
    Short Self-test . . . . . . . . . . . . . . . . .  Supported
    Extended Self-test. . . . . . . . . . . . . . . .  Supported
    Conveyance Self-test. . . . . . . . . . . . . . .  Not supported
    Selective Self-Test . . . . . . . . . . . . . . .  Supported
    Save Data Before/After Power Saving Mode. . . . .  Supported
    Enable/Disable Attribute Autosave . . . . . . . .  Supported
    Error Logging Capability. . . . . . . . . . . . .  Supported
    Short Self-test Estimated Time. . . . . . . . . .  1 minutes
    Extended Self-test Estimated Time . . . . . . . .  73 minutes

   Security Mode
   -------------
    Security Mode . . . . . . . . . . . . . . . . . .  Supported
    Security Erase. . . . . . . . . . . . . . . . . .  Supported
    Security Erase Time . . . . . . . . . . . . . . .  48 minutes
    Security Enhanced Erase Feature . . . . . . . . .  Not supported
    Security Enhanced Erase Time. . . . . . . . . . .  Not supported
    Security Enabled. . . . . . . . . . . . . . . . .  No
    Security Locked . . . . . . . . . . . . . . . . .  No
    Security Frozen . . . . . . . . . . . . . . . . .  Yes
    Security Counter Expired. . . . . . . . . . . . .  No
    Security Level. . . . . . . . . . . . . . . . . .  High

   Serial ATA Features
   -------------------
    S-ATA Compliance. . . . . . . . . . . . . . . . .  Yes
    S-ATA I Signaling Speed (1.5 Gps) . . . . . . . .  Supported
    S-ATA II Signaling Speed (3 Gps). . . . . . . . .  Supported
    Receipt Of Power Management Requests From Host. .  Supported
    PHY Event Counters. . . . . . . . . . . . . . . .  Supported
    Non-Zero Buffer Offsets In DMA Setup FIS. . . . .  Supported, Disabled
    DMA Setup Auto-Activate Optimization. . . . . . .  Supported, Enabled
    Device Initiating Interface Power Management. . .  Supported, Disabled
    In-Order Data Delivery. . . . . . . . . . . . . .  Supported, Disabled
    Asynchronous Notification . . . . . . . . . . . .  Not supported
    Software Settings Preservation. . . . . . . . . .  Supported, Enabled
    Native Command Queuing (NCQ). . . . . . . . . . .  Supported
    Queue Length. . . . . . . . . . . . . . . . . . .  32

   S.M.A.R.T.
   ----------
No.  Attribute                Thre.. Value  Worst  Data                Status                   Flags                                                  
1    Raw Read Error Rate      16     100    100    000000000000        OK                       Error-Rate, Statistical, Critical
2    Throughput Performance   54     138    138    000000000055        OK                       Performance, Critical
3    Spin Up Time             24     117    117    000400C500C4        OK                       Performance, Statistical, Critical
4    Start/Stop Count         0      100    100    000000000181        OK (Always passing)      Event Count, Statistical
5    Reallocated Sectors Co.. 5      100    100    000000000000        OK                       Self Preserving, Event Count, Statistical, Critical
7    Seek Error Rate          67     100    100    000000000000        OK                       Error-Rate, Statistical, Critical
8    Seek Time Performance    20     118    118    000000000021        OK                       Performance, Critical
9    Power On Time Count      0      100    100    00000000062E        OK (Always passing)      Event Count, Statistical
10   Spin Retry Count         60     100    100    000000000000        OK                       Event Count, Statistical, Critical
12   Drive Power Cycle Count  0      100    100    000000000180        OK (Always passing)      Self Preserving, Event Count, Statistical
192  Power off Retract Cycl.. 0      100    100    000000000182        OK (Always passing)      Self Preserving, Event Count, Statistical
193  Load/Unload Cycle Count  0      100    100    000000000182        OK (Always passing)      Event Count, Statistical
194  Disk Temperature         0      142    142    002D0019002A        OK (Always passing)      Statistical
196  Reallocation Event Count 0      100    100    000000000000        OK (Always passing)      Self Preserving, Event Count, Statistical
197  Current Pending Sector.. 0      100    100    000000000000        OK (Always passing)      Self Preserving, Statistical
198  Off-Line Uncorrectable.. 0      100    100    000000000000        OK (Always passing)      Error-Rate
199  Ultra ATA CRC Error Co.. 0      200    200    000000000000        OK (Always passing)      Error-Rate, Statistical



  -- Partition Information --

Logical Drive                           Total Space         Free Space          Free Space               Used Space
    <Partition Drive="/" Total_Space="20,158 MB" Free_Space="14,576 MB" Free_Space_Percent=" 72 %" Disk="/" BlockSize="4096" Files="1313280" FileSystem="61267" />
    <Partition Drive="/ (Disk #0)" Total_Space="20,158 MB" Free_Space="14,576 MB" Free_Space_Percent=" 72 %" Disk="/dev/sda2" BlockSize="4096" Files="1313280" FileSystem="61267" />
    <Partition Drive="/home (Disk #0)" Total_Space="447,272 MB" Free_Space="433,000 MB" Free_Space_Percent=" 97 %" Disk="/dev/sda3" BlockSize="4096" Files="29089792" FileSystem="61267" />



@OP: this should work:


mkdir ~/HDSentinel
cd ~/HDSentinel
wget http://www.hdsentinel.com/hdslin/hdsentinel_008_x64.zip
unzip hdsentinel_008_x64.zip
chmod 755 HDSentinel
su -c 'cp HDSentinel /usr/bin'
cd

Now you just have to do this:


sudo HDSentinel

followed by whatever option you want it to use. You don’t have to enter the HDSentinel folder, just run the command from a terminal window.

Ok, Thanks. It/s working now, everything is all right!

Maybe my problem was I did not extract the zip file with unzip from terminal window, I have used Krusader to extract…

Thx a lot for your answers!

have a nice day everyone!

Hugo

On 2013-05-27 05:16, vazhavandan wrote:
> Also this is the report from “report.txt”

That’s a nice looking report…


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

I was surprised that the executable produced a report with very high level of details like sector count etc… And it’s size is a few kbs :slight_smile:

No. Krusader should have done the trick. You probably did not mark the file as a “executable” or did not set “execute” permissions properly

On 2013-05-27 15:26, vazhavandan wrote:

> I was surprised that the executable produced a report with very high
> level of details like sector count etc… And it’s size is a few kbs :slight_smile:

I think that the basic data extraction is very simple, they might even
be calling hdparm and smartctl for it. It could already be somewhere
under /proc or /sys, if we knew where. Then it is just a formatting job.


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

yeah you’re right I didn’t mark the file as ‘executable’…

Thx.