Welcome, Guest. Please login or register.
April 18, 2014, 05:14:12 AM
Home Help Search Calendar Login Register
Show unread posts since last visit.
News: Let Pardus-Anka become #1: Pardus-Anka Bug ReportPardus-Anka World Google+ | The Pardus wiki  | Visit Pardus-Anka official website  | Register as forum member?  Email the moderator!

+  Pardus Worldforum
|-+  General
| |-+  Wish list
| | |-+  [Solved]gsmartcontrol
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: [Solved]gsmartcontrol  (Read 881 times)
Jagdeesh
Newbie
*
Gender: Male
Posts: 28



View Profile
« on: November 21, 2011, 12:15:35 PM »

Name of program:-gsmartcontrol
Homepage:-http://gsmartcontrol.berlios.de/home/index.php/en/Home
Source:-http://gsmartcontrol.berlios.de/home/index.php/en/Downloads
Description:-GSmartControl is a graphical user interface for smartctl (from smartmontools package), which is a tool for querying and controlling SMART (Self-Monitoring, Analysis, and Reporting Technology) data on modern hard disk drives. It allows you to inspect the drive's SMART data to determine its health, as well as run various tests on it.

We already have 'smartmontools', which I am not able to use Huh?.  GUI to it will be of very much help to the novice users like me.
Thanks in anticipation.

-Jagdeesh.
« Last Edit: November 23, 2011, 18:37:39 PM by Jagdeesh » Logged
atolboo
Pardus Guru
****
Posts: 2317



View Profile
« Reply #1 on: November 21, 2011, 12:55:47 PM »

I
Software Requirements:
Quote
  pcre
   Smartmontools
   GTK+
   Gtkmm
   libglademm
For Pardus it's
Quote
libpcre
gtk2
gtkmm
libglademm
My first assessment is that it should not be too difficult to create build files and a PiSi-package for it.
A great and very fine tool to do this is PiSiDo  (available from pardususer.de)
Right now I am busy writing a How-To Repairing a crashed LVM based Pardus system Preview.
You can start playing with PiSiDo to find out how it goes Wink
Logged
Lisa
Pardus Guru
****
Posts: 841



View Profile
« Reply #2 on: November 22, 2011, 22:01:04 PM »

Hi jagdeesh,
This how-to helped me:
http://blog.shadypixel.com/monitoring-hard-drive-health-on-linux-with-smartmontools/

Also, I can choose to enable s.m.a.r.t. in my computer's bios.

I haven't tried the daemon yet, but manually using it works:
Code:
me@pard2011 ~ $ sudo smartctl -i /dev/sda
Password:
smartctl 5.40 2010-10-16 r3189 [x86_64-pc-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Caviar Blue Serial ATA family
Device Model:     WDC WD1600AAJS-22PSA0
Serial Number:    WD-WMAP9E273715
Firmware Version: 05.06H05
User Capacity:    160,041,885,696 bytes
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   7
ATA Standard is:  Exact ATA specification draft version not indicated
Local Time is:    Tue Nov 22 11:44:24 2011 CST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

me@pard2011 ~ $ sudo smartctl -i /dev/sdb
smartctl 5.40 2010-10-16 r3189 [x86_64-pc-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital RE2 Serial ATA family
Device Model:     WDC WD3201ABYS-01B9A0
Serial Number:    WD-WCARW4214216
Firmware Version: 13.01C02
User Capacity:    320,072,933,376 bytes
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   8
ATA Standard is:  Exact ATA specification draft version not indicated
Local Time is:    Tue Nov 22 11:44:53 2011 CST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

me@pard2011 ~ $ sudo smartctl -H /dev/sda
smartctl 5.40 2010-10-16 r3189 [x86_64-pc-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

me@pard2011 ~ $ sudo smartctl -t short /dev/sda
smartctl 5.40 2010-10-16 r3189 [x86_64-pc-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
Sending command: "Execute SMART Short self-test routine immediately in off-line mode".
Drive command "Execute SMART Short self-test routine immediately in off-line mode" successful.
Testing has begun.
Please wait 2 minutes for test to complete.
Test will complete after Tue Nov 22 12:00:03 2011

Use smartctl -X to abort test.
me@pard2011 ~ $ sudo smartctl -l selftest /dev/sda
smartctl 5.40 2010-10-16 r3189 [x86_64-pc-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%      9506         -
# 2  Conveyance offline  Completed without error       00%      7453         -

Then there is this how-to (Fedora) that shows an example of using the smartmontool daemon.  I don't have this enabled in service as I'd rather do a manual check:
http://wiki.amahi.org/index.php/Disk_Error_Alerts

I see atolboo gives us a challenge to make a pisi package.   Cheesy 
Logged
atolboo
Pardus Guru
****
Posts: 2317



View Profile
« Reply #3 on: November 22, 2011, 22:04:17 PM »

I see atolboo gives us a challenge to make a pisi package.   Cheesy  
Somebody was faster and as I didn't received a reaction.
And as the package was already uploaded before your post.
Thanks for the additional information.

  to a.palius for  the build files
It's now available from 2. Additional (non-official) package source: pardususer.de


* GSmartControl.png (40 KB, 497x348 - viewed 70 times.)
« Last Edit: November 22, 2011, 22:07:48 PM by atolboo » Logged
Lisa
Pardus Guru
****
Posts: 841



View Profile
« Reply #4 on: November 23, 2011, 18:02:09 PM »

My thanks to a.palius for such a fast pisi package!  Nice!  And thanks atolboo for listing the ingredients for making that package.  I wanted to give it a try to see if I could do it.  I've been procrastinating too long about tackling a pisi package.
L
Logged
Jagdeesh
Newbie
*
Gender: Male
Posts: 28



View Profile
« Reply #5 on: November 23, 2011, 18:21:36 PM »

Thanks Lisa for the links.
Thanks a.palius & atolboo.
Just now I have installed it, have to try yet.

-Jagdeesh
Logged
atolboo
Pardus Guru
****
Posts: 2317



View Profile
« Reply #6 on: November 23, 2011, 19:32:22 PM »

I wanted to give it a try to see if I could do it. 
Everybody is still encouraged to with PiSiDo and learn from it.
The difference is that you can now (what was/is forbidden at school) crib in the existing build files.
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!