우분투 lsblk 드라이브 크기

우분투 lsblk 드라이브 크기

Ubuntu 18을 사용하고 저장용 하드 드라이브 8개를 사용하여 ZFS NAS를 설정하고 있습니다. sudo lsblk -P드라이브 이름을 확인하는 데 사용할 때 sdb-sdh크기가 0인 드라이브를 건너뛰기 때문이라는 것을 알고 있습니다. 나는 그렇게 했고 sudo lsblk -Pa, sda그러나 SIZE="". 제 질문은 이것이 SIZE=""드라이브가 불량해서 교체해야 한다는 뜻인가요, 아니면 제가 알지 못하는 드라이브에 수행해야 할 다른 작업이 있다는 것입니다. 당신의 도움을 주셔서 감사합니다.

영상lsblk -Pa

여기에 이미지 설명을 입력하세요.

고쳐 쓰다 입력 후 출력은 sudo smartctl -iHAf brief -l error -l xerror /dev/sda다음과 같습니다.

smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-52-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               SEAGATE
Product:              DKS2D-H3R0SS
Revision:             4F09
User Capacity:        2,983,000,009,600 bytes [2.98 TB]
Logical block size:   520 bytes
Rotation Rate:        7200 rpm
Form Factor:          3.5 inches
Logical Unit id:      0x5000c50056efa9cf
Serial number:        Z2987NX20000C3515M22
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Sun Jun 23 13:46:00 2019 UTC
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Enabled

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK

Current Drive Temperature:     46 C
Drive Trip Temperature:        68 C

Manufactured in week 29 of year 2013
Specified cycle count over device lifetime:  10000
Accumulated start-stop cycles:  191
Specified load-unload count over device lifetime:  300000
Accumulated load-unload cycles:  191
Elements in grown defect list: 1

Vendor (Seagate) cache information
  Blocks sent to initiator = 815387184
  Blocks received from initiator = 128354709
  Blocks read from cache and sent to initiator = 0
  Number of read and write commands whose size <= segment size = 3123587
  Number of read and write commands whose size > segment size = 0

Vendor (Seagate/Hitachi) factory information
  number of hours powered up = 16529.18
  number of minutes until next internal SMART test = 47

Error counter log:
           Errors Corrected by           Total   Correction     Gigabytes    Total
               ECC          rereads/    errors   algorithm      processed    uncorrected
           fast | delayed   rewrites  corrected  invocations   [10^9 bytes]  errors
read:   1509905219        0         0  1509905219          0        424.001           0
write:         0        0         0         0          0         66.846           0
verify:   306677        0         0    306677          0          0.000           0

Non-medium error count:       89


[GLTSD (Global Logging Target Save Disable) set. Enable Save with '-S on']

답변1

예, 이는 드라이브가 불량하다는 것을 의미할 가능성이 높습니다. 일부 디스크 드라이브는 크기를 0으로 보고하여 내부 진단이 실패했음을 나타내는 반면, 다른 디스크 드라이브는 동일한 상황에서 "미디어가 삽입되지 않음" 오류 코드로 명령에 응답할 수 있습니다.

디스크의 SMART 상태를 확인해야 합니다. smartctl -iHAf brief -l error -l xerror /dev/sda가장 중요한 SMART 디스크 상태 정보에 대한 간략한 보고서가 출력되어야 합니다.

dmesg -H또한 오류 메시지의 출력을 보고 싶을 수도 있습니다 .

관련 정보