Kupiłem używany dysk i muszę go przetestować. Robię tym co mam a mam GSmartControl.
Program pokazuje mi że dysk/pragram? nie ma wsparcia dla SMART "SMART not supported" i nie ma żadnych dostępnych opcji
I nie mogę go przetestować.
Czyli jak dysk nie ma SMARTA czy jest uszkodzony?
To jest zewznętrzny WD Elements.
Muszę go przetestować na błędy a nie mam Windowsa. Macie pomysły?
Pokaż cały log. Jeśli jednak SMART nie łapie dysku to nie oznacza, że jest uszkodzony. Z odpowiedzi wynika, że ten dysk nie ma wsparcia dla SMART. Nic więcej. Oprócz tego, że w takim przypadku dysk byłby cholernie stary. Może podaj dokładnie co wykonujesz i odpowiedź. Być może brakuje Ci jakiejś jeszcze paczki, która dostarcza informacji o dyskach, by SMART zadziałał prawidłowo.
I. Tutaj nic nie wykonuję bo wszystkie dostępne opcje są zablokowane:
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.9.0-12-amd64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Vendor: WD
Product: Elements 25A3
Revision: 1021
Compliance: SPC-4
User Capacity: 8,001,529,315,328 bytes [8.00 TB]
Logical block size: 512 bytes
Physical block size: 4096 bytes
LU is fully provisioned
Rotation Rate: 5400 rpm
Serial number: 2SGA3NPN
Device type: disk
Local Time is: Mon Jun 8 16:44:46 2020 CEST
SMART support is: Unavailable - device lacks SMART capability.
=== START OF READ SMART DATA SECTION ===
Current Drive Temperature: 0 C
Drive Trip Temperature: 0 C
Error Counter logging not supported
No self-tests have been logged
II. A może testdiskiem to wygląda tak:
TestDisk 7.0, Data Recovery Utility, April 2015
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
Disk /dev/sdi - 8001 GB / 7452 GiB - WD Elements 25A3
CHS 972797 255 63 - sector size=512
>[ Analyse ] Analyse current partition structure and search for lost partitions
[ Advanced ] Filesystem Utils
[ Geometry ] Change disk geometry
[ Options ] Modify options
[ MBR Code ] Write TestDisk MBR code to first sector
[ Delete ] Delete all data in the partition table
[ Quit ] Return to disk selection
[ Analyse ]
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
Disk /dev/sdi - 8001 GB / 7452 GiB - CHS 972797 255 63
Current partition structure:
Partition Start End Size in sectors
1 P EFI GPT 0 0 2 267349 89 4 4294967295
Warning: Bad ending head (CHS and LBA don't match)
No partition is bootable
Cóż... wygląda na to, że ten dysk nie wspiera SMART (i vice versa). Nie mam pomysłu jak sprawdzić jego kondycję (pomijam jakieś bad blocki, bo pewnie o to Ci nie chodzi).
A czy może być tak że ten dysk nie ma wsparcia dla Linuxa? Bo znalazłem takie coś:
https://community.wd.com/t/how-to-smart-self-test-on-wd-2tb-elements-desktop-usb-3-0/233097/1Ale jak to jest możliwe?
Nie wiem, o co Ci chodzi w przypadku "wsparcia przez dysk linuksa", ale S.M.A.R.T. jest niezależny od systemu. Zatem ów może po prostu nie być kompatybilny ze SMARTem. Dziwne by to byłe, ale niech tam. Mam dysk WD zewnętrzny i bez problemu go SMART łapie. Jeśli w istocie ten jest jak piszesz "windows-only", to musiałbyś jego kondycję sprawdzić pod Windows. Chyba, że znajdziemy jakieś narzędzie. Trzeba byłoby grzebnąć gdzieś po GITHUBie itp. Pytanie, czy jeśli nawet znajdziemy źródła, to dasz radę sobie poradzić z ich kompilacją itd.?
Cytat: pavbaranov w Czerwiec 08, 2020, 08:52:27 PMPytanie, czy jeśli nawet znajdziemy źródła, to dasz radę sobie poradzić z ich kompilacją itd.?
Ooo, co to to nie, predzej pozycze laptopa z windowsem. Mimo wszystko dzieki za poswiecony czas. :D
Cytat: Mamut w Czerwiec 08, 2020, 03:48:25 PM
Czyli jak dysk nie ma SMARTA czy jest uszkodzony?
teoretycznie tak, bo dyski bez SMARTu już raczej wyginęły, ale tu problem pewnie leży po stronie USB
Cytat: microsofter w Czerwiec 10, 2020, 07:40:54 AM
Teoretycznie tak, bo dyski bez SMARTu już raczej wyginęły, ale tu problem pewnie leży po stronie USB
Albo jakies problemy z duzymi dyskami ale nie jestem pewien. Przejechałem go łindoł i jak sie okazuje HD Tune widzial tylko 2.9TB
a reszte okreslil jako uszkodozne bloki ;-) to CristalDiskInfo nie zawiodł mnie i widzial go poprawnie. Takze SMART jest OK i dysk tez cały jest OK.
Przy okazji upewniłem sie ze dysk sie po kilku godzimach nie przegrzewa temp nie przekracza 40C. Mozna nim jechac...
Tu jest raczej problem z smartctl, który niepoprawnie wykrywa ten dysk.
Być może wystarczy przetestować parę opcji smartctl i też będzie widać tablicę SMART.
Cytat: arecki w Czerwiec 12, 2020, 08:49:29 AM
Tu jest raczej problem z smartctl, który niepoprawnie wykrywa ten dysk.
Być może wystarczy przetestować parę opcji smartctl i też będzie widać tablicę SMART.
To w takim razie wklejam wynik
smartctl -h /dev/sdi
root@neutron:~# smartctl -i /dev/sdi
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.9.0-12-amd64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
/dev/sdi: Unknown USB bridge [0x1058:0x25a3 (0x1021)]
Please specify device type with the -d option.smartctl -h /dev/sdi
Use smartctl -h to get a usage summary
root@neutron:~# smartctl -d /dev/sdi
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.9.0-12-amd64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
ERROR: smartctl requires a device name as the final command-line argument.
Use smartctl -h to get a usage summary
smartctl -h /dev/sdi
root@neutron:~# smartctl -h /dev/sdi
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.9.0-12-amd64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
Usage: smartctl [options] device
============================================ SHOW INFORMATION OPTIONS =====
-h, --help, --usage
Display this help and exit
-V, --version, --copyright, --license
Print license, copyright, and version information and exit
-i, --info
Show identity information for device
--identify[=[w][nvb]]
Show words and bits from IDENTIFY DEVICE data (ATA)
-g NAME, --get=NAME
Get device setting: all, aam, apm, lookahead, security, wcache, rcache, wcreorder
-a, --all
Show all SMART information for device
-x, --xall
Show all information for device
--scan
Scan for devices
--scan-open
Scan for devices and try to open each device
================================== SMARTCTL RUN-TIME BEHAVIOR OPTIONS =====
-q TYPE, --quietmode=TYPE (ATA)
Set smartctl quiet mode to one of: errorsonly, silent, noserial
-d TYPE, --device=TYPE
Specify device type to one of: ata, scsi, nvme[,NSID], sat[,auto][,N][+TYPE], usbcypress[,X], usbjmicron[,p][,x][,N], usbprolific, usbsunplus, marvell, areca,N/E, 3ware,N, hpt,L/M/N, megaraid,N, aacraid,H,L,ID, cciss,N, auto, test
-T TYPE, --tolerance=TYPE (ATA)
Tolerance: normal, conservative, permissive, verypermissive
-b TYPE, --badsum=TYPE (ATA)/etc/apt/sources.list.d/
Set action on bad checksum to one of: warn, exit, ignore
-r TYPE, --report=TYPE
Report transactions (see man page)
-n MODE, --nocheck=MODE (ATA)
No check if: never, sleep, standby, idle (see man page)
============================== DEVICE FEATURE ENABLE/DISABLE COMMANDS =====
-s VALUE, --smart=VALUE
Enable/disable SMART on device (on/off)
-o VALUE, --offlineauto=VALUE (ATA)
Enable/disable automatic offline testing on device (on/off)
-S VALUE, --saveauto=VALUE (ATA)
Enable/disable Attribute autosave on device (on/off)
root@neutron:~# smartctl -i /dev/sdi
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.9.0-12-amd64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
-s NAME[,VALUE], --set=NAME[,VALUE]
Enable/disable/change device setting: aam,[N|off], apm,[N|off],
lookahead,[on|off], security-freeze, standby,[N|off|now],
wcache,[on|off], rcache,[on|off], wcreorder,[on|off]
======================================= READ AND DISPLAY DATA OPTIONS =====
-H, --health
Show device SMART health status
-c, --capabilities (ATA, NVMe)
Show device SMART capabilities
-A, --attributes
Show device SMART vendor-specific Attributes and values
-f FORMAT, --format=FORMAT (ATA)
Set output format for attributes: old, brief, hex[,id|val]
-l TYPE, --log=TYPE
Show device log. TYPE: error, selftest, selective, directory[,g|s],
xerror[,N][,error], xselftest[,N][,selftest],
background, sasphy[,reset], sataphy[,reset],
scttemp[sts,hist], scttempint,N[,p],
scterc[,N,M], devstat[,N], ssd,
gplog,N[,RANGE], smartlog,N[,RANGE],
nvmelog,N,SIZE
-v N,OPTION , --vendorattribute=N,OPTION (ATA)
Set display OPTION for vendor Attribute N (see man page)
-F TYPE, --firmwarebug=TYPE (ATA)
Use firmware bug workaround:
none, nologdir, samsung, samsung2, samsung3, xerrorlba, swapid
-P TYPE, --presets=TYPE (ATA)
Drive-specific presets: use, ignore, show, showall
-B [+]FILE, --drivedb=[+]FILE (ATA)
Read and replace [add] drive database from FILE
[default is +/etc/smart_drivedb.h
and then /var/lib/smartmontools/drivedb/drivedb.h]
============================================ DEVICE SELF-TEST OPTIONS =====
-t TEST, --test=TEST
Run test. TEST: offline, short, long, conveyance, force, vendor,N,
select,M-N, pending,N, afterselect,[on|off]
-C, --captive
Do test in captive mode (along with -t)
-X, --abort
Abort any non-captive test on device
=================================================== SMARTCTL EXAMPLES =====
smartctl --all /dev/sda (Prints all SMART information)
smartctl --smart=on --offlineauto=on --saveauto=on /dev/sda
(Enables SMART on first disk)
smartctl --test=long /dev/sda (Executes extended disk self-test)
smartctl --attributes --log=selftest --quietmode=errorsonly /dev/sda
(Prints Self-Test & Attribute errors)Following command can be used to enable smart support for the disk
smartctl -s on /dev/sda
smartctl --all --device=3ware,2 /dev/sda
smartctl --all --device=3ware,2 /dev/twe0
smartctl --all --device=3ware,2 /dev/twa0
smartctl --all --device=3ware,2 /dev/twl0
(Prints all SMART info for 3rd ATA disk on 3ware RAID controller)
smartctl --all --device=hpt,1/1/3 /dev/sda
(Prints all SMART info for the SATA disk attached to the 3rd PMPort
of the 1st channel on the 1st HighPoint RAID controller)
smartctl --all --device=areca,3/1 /dev/sg2
(Prints all SMART info for 3rd ATA disk of the 1st enclosure
on Areca RAID controller)
Following command can be used to enable smart support for the disk
smartctl -s on /dev/sda
Following command can be used to enable smart support for the disk
smartctl -s on /dev/sdiwynik:
root@neutron:~# smartctl -s on /dev/sdi
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.9.0-12-amd64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
/dev/sdi: Unknown USB bridge [0x1058:0x25a3 (0x1021)]
Please specify device type with the -d option.
Use smartctl -h to get a usage summary
root@neutron:~#
https://www.quora.com/What-is-smartctl?share=1
Z tej podanej strony to tylko zainstalowalem smarttools + te komendy - nie robilem zadnych wpisow w /etc/apt/sources.list.d/.
Być może wystarczy zabawa z opcją:
-d TYPE, --device=TYPE
Specify device type to one of: ata, scsi, nvme[,NSID], sat[,auto][,N][+TYPE], usbcypress[,X], usbjmicron[,p][,x][,N], usbprolific, usbsunplus, marvell, areca,N/E, 3ware,N, hpt,L/M/N, megaraid,N, aacraid,H,L,ID, cciss,N, auto, test
i
-s VALUE, --smart=VALUE
Enable/disable SMART on device (on/off)
Cytat: arecki w Czerwiec 14, 2020, 07:47:01 AM
Specify device type to one of: ata, scsi, nvme[,NSID], sat[,auto][,N][+TYPE], usbcypress[,X], usbjmicron[,p][,x][,N], usbprolific, usbsunplus, marvell, areca,N/E, 3ware,N, hpt,L/M/N, megaraid,N, aacraid,H,L,ID, cciss,N, auto, test
Nie wiem czy dobrze zrozumiałem? A jaki wybrac typ dysku dla dysku sata w obudowie pod usb 3? Jak to wpisac?
root@neutron:~# smartctl -d /dev/sdi
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.9.0-12-amd64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
ERROR: smartctl requires a device name as the final command-line argument.
Use smartctl -h to get a usage summary