Christian Franke | 1 Jun 2007 13:08
Picon
Favicon

Re: smartctl can't run

Tim Richert wrote:
> Hello,
>
> I installed smartctl for windows (native) but can't get it run.
>
> Perhaps you can tell me, what to do ;)
>
> I try to run it via
>
>  
>> smartctl -i hdb,1
>>    
> but i get this error
>
>  
>> Cannot open device \\.\PhysicalDrive1, Error=2
>> Smartctl open device: hdb,1 failed: No such file or directory
>>    
>
> It is a 3ware Raid with 2 harddrives.
>
> Do you have any idea what i can do?
>  

The (logical) drive 1 doesn't exists. The RAID "unit" likely appears
as drive 0 in Windows device manager.

Did you try "hda" or "hda,1" ?

Or use smartd to scan for available devices:
(Continue reading)

Myung-Jwa Kim | 2 Jun 2007 01:35

Failed in second segment

Any advice? file system is working.
OS : 2.6.9-55.ELsmp

[root <at> olympus RPMS]# smartctl -a /dev/sdb
smartctl version 5.33 [i686-redhat-linux-gnu] Copyright (C) 2002-4 Bruce 
Allen
Home page is http://smartmontools.sourceforge.net/

Device: MAXTOR   ATLAS10K4_36SCA  Version: DFM0
Serial number: B2BH5VWM
Device type: disk
Transport protocol: Parallel SCSI (SPI-4)
Local Time is: Fri Jun  1 16:20:53 2007 PDT
Device supports SMART and is Enabled
Temperature Warning Disabled or Not Supported
SMART Health Status: OK

Current Drive Temperature:     29 C
Manufactured in week 15 of year 2002
Current start stop count:      79 times
Recommended maximum start stop count:  4294967295 times

Error counter log:
           Errors Corrected by           Total   Correction     
Gigabytes    Total
               EEC          rereads/    errors   algorithm      
processed    uncorrected
           fast | delayed   rewrites  corrected  invocations   [10^9 
bytes]  errors
read:    1025401       40       681         0          0     
(Continue reading)

Michel Lespinasse | 3 Jun 2007 02:41

SATA hotswap support ?

Hi,

I'm running smartmontools on a small homebuilt NAS server with
several SATA hot-swap bays. The server is running debian etch,
which includes smartmontools version 5.36.

Does anyone know of a convenient way to support hot-swap configurations ?
Here is what I tried so far:

* Using DEVICESCAN kinda works, if I add "-d ata". However in this
  configuration, smartd will not start if I add any USB-key drives,
  which are recognised as scsi under linux but do not have smart support.

* I can list my drives in smartd.conf, but then the issue is to keep this
  file up to date. If I forget to add new drives they won't be monitored,
  and smartd will not start if the config file includes drives that are
  not present in the server.

I think it would be ideal if drives could be listed by regexp in smartd.conf,
such as /dev/disk/by-path/pci-0000:00:1f.2-scsi-[0-9:]* for example, followed
by whatever parameters one wants to assign to these drives.

Even better would be if the resolution of that regexp into actual drive names
was done at regular intervals in smartd (whenever it wants to look at drive
attributes), rather than just once at smartd init time.

Or is there a better way to support hotswap configurations ???

Thanks for any advice,

(Continue reading)

Jim Paris | 3 Jun 2007 03:30
Gravatar

Re: SATA hotswap support ?

> I'm running smartmontools on a small homebuilt NAS server with
> several SATA hot-swap bays. The server is running debian etch,
> which includes smartmontools version 5.36.
> 
> Does anyone know of a convenient way to support hot-swap configurations ?
> Here is what I tried so far:
..
> * I can list my drives in smartd.conf, but then the issue is to keep this
>   file up to date. If I forget to add new drives they won't be monitored,
>   and smartd will not start if the config file includes drives that are
>   not present in the server.

That's what I do, but there's nothing to update.  List each possible
disk in smartd.conf.  For example, from my system:

/dev/sata/e1b1 -d ata -d removable -a -o on -S on -s (S/../.././00|L/../../1/01)
/dev/sata/e1b2 -d ata -d removable -a -o on -S on -s (S/../.././04|L/../../2/05)
/dev/sata/e1b3 -d ata -d removable -a -o on -S on -s (S/../.././08|L/../../3/09)
/dev/sata/e1b4 -d ata -d removable -a -o on -S on -s (S/../.././12|L/../../4/13)
/dev/sata/e1b5 -d ata -d removable -a -o on -S on -s (S/../.././16|L/../../5/17)
/dev/sata/e1b6 -d ata -d removable -a -o on -S on -s (S/../.././20|L/../../6/21)

Those paths might be something like /dev/disk/by-path for you.  Disks
that are not present are ignored.  I also have a udev rule that
reloads the configuration any time a new disk is added:

  ACTION=="add", SUBSYSTEM=="block", KERNEL=="sd*[!0-9]",
          RUN+="/etc/init.d/smartmontools reload"

-jim
(Continue reading)

Milo Thurston | 3 Jun 2007 19:37
Picon

Clicking disk with no obvious fault

I have a Fujitsu MHV2120AH disk installed in a Mac Mini that makes an
annoying "click-clack" noise approximately every 5 seconds, unless the
system is under load e.g. compilation or running a smartctl self-test.
The results of the self-tests, both long and short, are a pass. The -A
option reveals values that are not near the failure thresholds. There
are no errors relating to this disk in the system log and there does
not seem to be any effect upon system performance. So, other than the
click, the drive seems fine.
Can anyone suggest what the cause of the click might be, and if not
serious whether it may be "tuned" out somehow?
I have, of course, already got a full backup of the disk.
Thanks,
Milo.

--

-- 
"One of the greatest delusions in the world is the hope that the evils in this
world are to be cured by legislation." - Thomas B. Reed 1886
http://www.sirwilliamhope.org

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
Evren Yurtesen | 4 Jun 2007 02:02
Favicon

smartd is complaining about -d even though it is in smartd.conf

When I am starting smartd I am receiving the following notices:

smartd: Use the `-d' option to access drives behind ciss0. See 
smartctl(8) manual page.
smartd: Use the `-d' option to access drives behind ciss0. See 
smartctl(8) manual page.
smartd: Use the `-d' option to access drives behind ciss0. See 
smartctl(8) manual page.
smartd: Use the `-d' option to access drives behind ciss0. See 
smartctl(8) manual page.

However I have these entries in my conf:

/dev/ciss0 -d cciss,0 -n standby -a -o on -S on -s 
(S/../.././02|L/../../6/03) \
         -m e-mail <at> domain.com -M test -M daily

/dev/ciss0 -d cciss,1 -n standby -a -o on -S on -s 
(S/../.././02|L/../../6/03) \
         -m e-mail <at> domain.com -M test -M daily

/dev/ciss0 -d cciss,2 -n standby -a -o on -S on -s 
(S/../.././02|L/../../6/03) \
         -m e-mail <at> domain.com -M test -M daily

/dev/ciss0 -d cciss,3 -n standby -a -o on -S on -s 
(S/../.././02|L/../../6/03) \
         -m e-mail <at> domain.com -M test -M daily

The lines might be wrapped, each entry is 2 lines and first line ends with \
(Continue reading)

Michel Lespinasse | 4 Jun 2007 03:07

Re: SATA hotswap support ?

On Sat, Jun 02, 2007 at 09:30:29PM -0400, Jim Paris wrote:
> That's what I do, but there's nothing to update.  List each possible
> disk in smartd.conf.  For example, from my system:
> 
> /dev/sata/e1b1 -d ata -d removable -a -o on -S on -s (S/../.././00|L/../../1/01)

Nice, this does solve my problem. Thanks for the tip ! It had not
occured to me that one might use more than one -d option like this :)

--

-- 
Michel "Walken" Lespinasse
"Bill Gates is a monocle and a Persian cat away from being the villain
in a James Bond movie." -- Dennis Miller

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
Ivan Carey | 4 Jun 2007 09:26
Picon

Disc Errors Help please

Hello,
I have just installed 2 new 500Gb HDD's in a raid 1 server using gmirror 
and freebsd 6.2
the disks are at /dev/ad4 and /dev/ad6

After setting up the gmirror I received an error when testing the main 
HDD and smartd also gives and error.
I also had to run fsck on one of the partitions to repair a SUPERBLOCK 
error.

I did not see any problems occur with the system.

Are these errors indicating I have a faulty new HDD and how may I repair 
this error?

I have included the smartctl output below and the smartd output below that

*****************************************************************
server# smartctl -a /dev/ad4
smartctl version 5.36 [i386-portbld-freebsd6.2] Copyright (C) 2002-6 
Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Device Model:     WDC WD5000AAKS-65TMA0
Serial Number:    WD-WCAPW1675560
Firmware Version: 12.01C01
User Capacity:    500,107,862,016 bytes
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   7
(Continue reading)

Evren Yurtesen | 4 Jun 2007 09:54
Favicon

Re: Disc Errors Help please

Ivan Carey wrote:

> Are these errors indicating I have a faulty new HDD and how may I repair 
> this error?
> 
> I have included the smartctl output below and the smartd output below that
> SMART Self-test log structure revision number 1
> Num  Test_Description    Status                  Remaining  
> LifeTime(hours)  LBA_of_first_error
> # 1  Extended offline    Completed: read failure       90%        
> 53         90554776
> # 2  Short offline       Completed: read failure       90%        
> 53         90554776
> # 3  Short offline       Completed: read failure       90%        
> 52         90554776
> # 4  Short offline       Completed: read failure       90%        
> 52         90554776
> # 5  Short offline       Completed without error       00%        
> 37         -

Your disk is faulty, both freebsd and the smart logs show that it cant 
read a certain sector or you kicked it accidentally perhaps.

I believe you should get a replacement disk.

Thanks
Evren

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
(Continue reading)


Gmane