Skocz do zawartości
Zaloguj się, aby obserwować  
ArabSmall

Smartctl - not support SMART (błąd)

Polecane posty

Mam problem z programem Smartctl, a dokładnie nie mogę wykonać testu smartctl. Po wpisaniu komendy:

root@mefisto:~# smartctl -a /dev/sda
smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.2.0-4-amd64] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
 
Vendor:               Dell
Product:              Virtual Disk
Revision:             1028
User Capacity:        999,653,638,144 bytes [999 GB]
Logical block size:   512 bytes
Logical Unit id:      0x600508e000000000b68093aeb07fac0f
Device type:          disk
Local Time is:        Sun Dec 15 14:24:49 2013 CET
Device does not support SMART
 
Error Counter logging not supported
Device does not support Self Test logging
smartctl -i /dev/sda
smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.2.0-4-amd64] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
 
Vendor:               Dell
Product:              Virtual Disk
Revision:             1028
User Capacity:        999,653,638,144 bytes [999 GB]
Logical block size:   512 bytes
Logical Unit id:      0x600508e000000000b68093aeb07fac0f
Device type:          disk
Local Time is:        Sun Dec 15 14:25:35 2013 CET
Device does not support SMART
smartctl -x -d auto /dev/sda
smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.2.0-4-amd64] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
 
Vendor:               Dell
Product:              Virtual Disk
Revision:             1028
User Capacity:        999,653,638,144 bytes [999 GB]
Logical block size:   512 bytes
Logical Unit id:      0x600508e000000000b68093aeb07fac0f
Device type:          disk
Local Time is:        Sun Dec 15 14:26:22 2013 CET
Device does not support SMART
 
Error Counter logging not supported
Device does not support Self Test logging
Device does not support Background scan results logging
scsiPrintSasPhy Log Sense Failed [badly formed scsi parameters]
oraz bez parametru -x
root@mefisto:~# smartctl -d auto /dev/sda
smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.2.0-4-amd64] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
 
SCSI device successfully opened
root@mefisto:~# fdisk -l
 
Dysk /dev/sda: 999.7 GB, bajtów: 999653638144
głowic: 255, sektorów/ścieżkę: 63, cylindrów: 121534, w sumie sektorów: 1952448512
Jednostka = sektorów, czyli 1 * 512 = 512 bajtów
Rozmiar sektora (logiczny/fizyczny) w bajtach: 512 / 512
Rozmiar we/wy (minimalny/optymalny) w bajtach: 512 / 512
Identyfikator dysku: 0x0007f1e8
 
Urządzenie Rozruch   Początek      Koniec   Bloków   ID  System
/dev/sda1   *        2048      391167      194560   83  Linux
/dev/sda2          391168  1462167551   730888192   83  Linux
/dev/sda3      1462167552  1470167039     3999744   82  Linux swap / Solaris
/dev/sda4      1470167040  1952446463   241139712   83  Linux
Przeszukałem google i nic nie pomaga. I teraz pytanie czy jedyne wyjście to wejść do biosu i tam zmienić odpowiednie parametry? Jeśli tak to w jaki sposób ponieważ nie mam fizycznego dostępu do serwera (firma online.net). Dyski są w raidzie.

Udostępnij ten post


Link to postu
Udostępnij na innych stronach
Też próbowałem i tak samo błąd. Tutaj jeszcze z parametrem -T
root@mefisto:~# smartctl -a -d ata /dev/sda
smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.2.0-4-amd64] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
 
Smartctl: Device Read Identity Failed: Invalid argument
 
A mandatory SMART command failed: exiting. To continue, add one or more '-T perm  issive' options.
root@mefisto:~# smartctl -a -T permissive -d ata /dev/sda
smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.2.0-4-amd64] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
 
Smartctl: Device Read Identity Failed: Invalid argument
 
=== START OF INFORMATION SECTION ===
Device Model:     [No Information Found]
Serial Number:    [No Information Found]
Firmware Version: [No Information Found]
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   [No Information Found]
ATA Standard is:  [No Information Found]
Local Time is:    Sun Dec 15 14:34:07 2013 CET
SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 82-83 don't show if SMART supported.
SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 85-87 don't show if SMART is enabled.
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
root@mefisto:~#
Czyli zostanie jedynie kontakt z supportem tak? I w razie czego to o co pytać? Prosić o włączenie funkcji w biosie? Czy tylko spytać ich co może być spowodowane takimi błędami?
Edytowano przez ArabSmall (zobacz historię edycji)

Udostępnij ten post


Link to postu
Udostępnij na innych stronach
Gość patrys

Przecież to Perc, załaduj sterownik megaraid i wywołaj smartctl z nim.

np.

smartctl -a -d sat+megaraid,0 /dev/sda

Udostępnij ten post


Link to postu
Udostępnij na innych stronach


root@mefisto:~# smartctl -a -d sat+megaraid,0 /dev/sda
smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.2.0-4-amd64] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

Smartctl: Device Read Identity Failed: megadev_cmd result: 0.0 = 22/0

A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.


root@mefisto:~# lsmod |grep ata
libata 140630 2 libahci,ahci
scsi_mod 162269 6 scsi_transport_sas,raid_class,mpt2sas,libata,sd_mod,sg
Edytowano przez Gość (zobacz historię edycji)

Udostępnij ten post


Link to postu
Udostępnij na innych stronach
Gość patrys
scsi_mod 162269 6 scsi_transport_sas,raid_class,mpt2sas,libata,sd_mod,sg

 

Edytowałeś ;)

 

Daj tak:

smartctl -a /dev/sg1

Udostępnij ten post


Link to postu
Udostępnij na innych stronach
lspci -v | grep raid
 
root@mefisto:~# lspci -v | grep raid
root@mefisto:~#
@Dentarg:

Serwer dedykowany: firma online.net

@patrys:

Jak dam więcej niż 1 code to nie łapie mi go przy wysyłaniu.

root@mefisto:~# smartctl -a /dev/sg1
smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.2.0-4-amd64] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
 
Vendor:               Dell
Product:              Virtual Disk
Revision:             1028
User Capacity:        999,653,638,144 bytes [999 GB]
Logical block size:   512 bytes
Logical Unit id:      0x600508e000000000b68093aeb07fac0f
Device type:          disk
Local Time is:        Sun Dec 15 15:24:27 2013 CET
Device does not support SMART
 
Error Counter logging not supported
Device does not support Self Test logging
Ale sg0 już coś tam jest :)

root@mefisto:~# smartctl -a /dev/sg0
smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.2.0-4-amd64] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
 
=== START OF INFORMATION SECTION ===
Device Model:     TOSHIBA MG03ACA100
Serial Number:    73SAK2VCF
LU WWN Device Id: 5 000039 4ebb811b4
Firmware Version: FL1D
User Capacity:    1,000,204,886,016 bytes [1,00 TB]
Sector Size:      512 bytes logical/physical
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   8
ATA Standard is:  Exact ATA specification draft version not indicated
Local Time is:    Sun Dec 15 15:24:51 2013 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
 
=== START OF READ SMART DATA SECTION ===
SMART STATUS RETURN: incomplete response, ATA output registers missing
SMART overall-health self-assessment test result: PASSED
Warning: This result is based on an Attribute check.
 
General SMART Values:
Offline data collection status:  (0x80) Offline data collection activity
                                        was never started.
                                        Auto Offline Data Collection: Enabled.
Self-test execution status:      (   0) The previous self-test routine completed
                                        without error or no self-test has ever
                                        been run.
Total time to complete Offline
data collection:                (  120) seconds.
Offline data collection
capabilities:                    (0x5b) SMART execute Offline immediate.
                                        Auto Offline data collection on/off support.
                                        Suspend Offline collection upon new
                                        command.
                                        Offline surface scan supported.
                                        Self-test supported.
                                        No Conveyance Self-test supported.
                                        Selective Self-test supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
                                        power-saving mode.
                                        Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
                                        General Purpose Logging supported.
Short self-test routine
recommended polling time:        (   2) minutes.
Extended self-test routine
recommended polling time:        ( 163) minutes.
SCT capabilities:              (0x003d) SCT Status supported.
                                        SCT Error Recovery Control supported.
                                        SCT Feature Control supported.
                                        SCT Data Table supported.
 
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000b   100   100   050    Pre-fail  Always       -       0
  2 Throughput_Performance  0x0004   100   100   000    Old_age   Offline      -       0
  3 Spin_Up_Time            0x0027   100   100   001    Pre-fail  Always       -       4369
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       6
  5 Reallocated_Sector_Ct   0x0033   100   100   050    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000a   100   100   000    Old_age   Always       -       0
  8 Seek_Time_Performance   0x0004   100   100   000    Old_age   Offline      -       0
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       316
 10 Spin_Retry_Count        0x0032   100   100   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       6
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       5
193 Load_Cycle_Count        0x0032   100   100   000    Old_age   Always       -       9
194 Temperature_Celsius     0x0022   100   100   000    Old_age   Always       -       33 (Min/Max 19/36)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0
241 Total_LBAs_Written      0x0032   100   100   000    Old_age   Always       -       2245439109
242 Total_LBAs_Read         0x0032   100   100   000    Old_age   Always       -       7165671453
 
SMART Error Log Version: 1
No Errors Logged
 
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%         3         -
# 2  Extended offline    Completed without error       00%         3         -
 
SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

Czyli dysk ma 4k godzin nabite tak?

Udostępnij ten post


Link to postu
Udostępnij na innych stronach
Gość patrys

To dedyk czy VPS?

Czy jesteś pewien, że dyski są lokalne?

 

Nie CLOUD by DELL ;)

 

Maszyna ma jeden dysk 1TB który przechodził 316 godzin.

 

Udostępnij ten post


Link to postu
Udostępnij na innych stronach

OK dzięki wielki Ci :) Jeszcze tylko to:

root@mefisto:~# smartctl -a /dev/sg2
smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.2.0-4-amd64] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
 
=== START OF INFORMATION SECTION ===
Device Model:     TOSHIBA MG03ACA100
Serial Number:    73SAK2VBF
LU WWN Device Id: 5 000039 4ebb811b3
Firmware Version: FL1D
User Capacity:    1,000,204,886,016 bytes [1,00 TB]
Sector Size:      512 bytes logical/physical
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   8
ATA Standard is:  Exact ATA specification draft version not indicated
Local Time is:    Sun Dec 15 15:35:44 2013 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
 
=== START OF READ SMART DATA SECTION ===
SMART STATUS RETURN: incomplete response, ATA output registers missing
SMART overall-health self-assessment test result: PASSED
Warning: This result is based on an Attribute check.
 
General SMART Values:
Offline data collection status:  (0x80) Offline data collection activity
                                        was never started.
                                        Auto Offline Data Collection: Enabled.
Self-test execution status:      (   0) The previous self-test routine completed
                                        without error or no self-test has ever
                                        been run.
Total time to complete Offline
data collection:                (  120) seconds.
Offline data collection
capabilities:                    (0x5b) SMART execute Offline immediate.
                                        Auto Offline data collection on/off support.
                                        Suspend Offline collection upon new
                                        command.
                                        Offline surface scan supported.
                                        Self-test supported.
                                        No Conveyance Self-test supported.
                                        Selective Self-test supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
                                        power-saving mode.
                                        Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
                                        General Purpose Logging supported.
Short self-test routine
recommended polling time:        (   2) minutes.
Extended self-test routine
recommended polling time:        ( 168) minutes.
SCT capabilities:              (0x003d) SCT Status supported.
                                        SCT Error Recovery Control supported.
                                        SCT Feature Control supported.
                                        SCT Data Table supported.
 
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000b   100   100   050    Pre-fail  Always       -       0
  2 Throughput_Performance  0x0004   100   100   000    Old_age   Offline      -       0
  3 Spin_Up_Time            0x0027   100   100   001    Pre-fail  Always       -       4418
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       6
  5 Reallocated_Sector_Ct   0x0033   100   100   050    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000a   100   100   000    Old_age   Always       -       0
  8 Seek_Time_Performance   0x0004   100   100   000    Old_age   Offline      -       0
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       317
 10 Spin_Retry_Count        0x0032   100   100   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       6
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       5
193 Load_Cycle_Count        0x0032   100   100   000    Old_age   Always       -       11
194 Temperature_Celsius     0x0022   100   100   000    Old_age   Always       -       28 (Min/Max 19/32)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0
241 Total_LBAs_Written      0x0032   100   100   000    Old_age   Always       -       4192998952
242 Total_LBAs_Read         0x0032   100   100   000    Old_age   Always       -       752791111
 
SMART Error Log Version: 1
No Errors Logged
 
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%         3         -
# 2  Extended offline    Completed without error       00%         3         -
 
SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
To jest 2 dysk twardy tak?
OK wszystko jasne dzięki za pomoc.
Edytowano przez ArabSmall (zobacz historię edycji)

Udostępnij ten post


Link to postu
Udostępnij na innych stronach

Mam takie pytanie dlaczego numeracja to
sg0/2
a nie

sg0/1?

sg1 jest zarezerwowany przez RAID? Czy to jest automatycznie numerowane i to nie ma żadnej różnicy?

Udostępnij ten post


Link to postu
Udostępnij na innych stronach

Bądź aktywny! Zaloguj się lub utwórz konto

Tylko zarejestrowani użytkownicy mogą komentować zawartość tej strony

Utwórz konto

Zarejestruj nowe konto, to proste!

Zarejestruj nowe konto

Zaloguj się

Posiadasz własne konto? Użyj go!

Zaloguj się

Zaloguj się, aby obserwować  

×