Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #205332
| From | Claudio Kuenzler <ck@claudiokuenzler.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: OT: Current_Pending_Sector on /dev/sd? |
| Date | 2019-02-14 13:00 +0100 |
| Message-ID | <xrnQm-6ag-3@gated-at.bofh.it> (permalink) |
| References | <xr2LU-1wL-17@gated-at.bofh.it> <xr8eB-5ai-11@gated-at.bofh.it> <xrnnj-60w-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
> ./check_smart.pl -g /dev/sd[a-z] -i ata > OK: [/dev/sda] - Device is clean| > > Is it ok that is only return one drive? > you have to use double-quotes because it's a regular expression within the perl plugin: ./check_smart -g "/dev/sd[a-z]" -i ata OK: [/dev/sda] - Device is clean --- [/dev/sdb] - Device is clean --- [/dev/sdc] - Device is clean --- [/dev/sdd] - Device is clean| But this is the variant for "lazy admins". ;-) I suggest you use it on a single drive to obtain more information (performance data). Example: ./check_smart -d "/dev/sda" -i ata OK: no SMART errors detected. |Raw_Read_Error_Rate=0 Spin_Up_Time=4000 Start_Stop_Count=30 Reallocated_Sector_Ct=0 Seek_Error_Rate=0 Power_On_Hours=18183 Spin_Retry_Count=0 Calibration_Retry_Count=0 Power_Cycle_Count=30 Power-Off_Retract_Count=20 Load_Cycle_Count=249397 Temperature_Celsius=32 Reallocated_Event_Count=0 Current_Pending_Sector=0 Offline_Uncorrectable=0 UDMA_CRC_Error_Count=0 Multi_Zone_Error_Rate=0 You can now parse these values and save it wherever you need to create a history of the drive's SMART values.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
OT: Current_Pending_Sector on /dev/sd? basti <mailinglist@unix-solution.de> - 2019-02-13 14:30 +0100
Re: OT: Current_Pending_Sector on /dev/sd? Dan Ritter <dsr@randomstring.org> - 2019-02-13 15:10 +0100
Re: OT: Current_Pending_Sector on /dev/sd? Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-02-13 23:00 +0100
Re: OT: Current_Pending_Sector on /dev/sd? "Alexander V. Makartsev" <avbetev@gmail.com> - 2019-02-13 15:10 +0100
Re: OT: Current_Pending_Sector on /dev/sd? Dan Ritter <dsr@randomstring.org> - 2019-02-13 15:30 +0100
Re: OT: Current_Pending_Sector on /dev/sd? Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-02-13 23:00 +0100
Re: OT: Current_Pending_Sector on /dev/sd? Claudio Kuenzler <ck@claudiokuenzler.com> - 2019-02-13 20:20 +0100
Re: OT: Current_Pending_Sector on /dev/sd? basti <mailinglist@unix-solution.de> - 2019-02-14 12:30 +0100
Re: OT: Current_Pending_Sector on /dev/sd? Claudio Kuenzler <ck@claudiokuenzler.com> - 2019-02-14 13:00 +0100
Re: OT: Current_Pending_Sector on /dev/sd? Greg Wooledge <wooledg@eeg.ccf.org> - 2019-02-14 14:50 +0100
csiph-web