สอบถามเรื่องทั่วไป กับ การใช้คอมพิวเตอร์โดยทั่วไป แนะนำข่าวสารไวรัสคอม เทคนิคเล็กน้อยๆ กับ การใช้ คอมพิวเตอร์ ให้มีประสิทธิภาพมากที่สุด ฝากคำถามไว้ได้นะค่ะ
Moderator: mindphp , ผู้ดูแลกระดาน
MBMoo
PHP VIP Members
โพสต์: 25635 ลงทะเบียนเมื่อ: 04/06/2020 10:05 am
โพสต์ที่ยังไม่ได้อ่าน
โดย MBMoo » 17/04/2023 4:36 pm
ตรวจสอบอายุการใช้งาน ssd ยังไงคะบน os ubuntu 16.04
ตัวกล่อง ssd ที่ซื้อมาก็ไม่มีบอก
TBW (Terabytes Written) สำหรับตรวจสอบอายุของ SSD คืออะไร ?
จากลิ้งด้านบนเหมือนจะตรวจสอบจาก tbw แต่ลองใช้คำสั่ง smartctl ดูข้อมูลในเครื่องแล้วไม่มีอะไรเกี่ยวกับ tbw เลย
ในเครื่องจะติตตั้ง ssd ทั้งหมด 2 ตัว
โค้ด: เลือกทั้งหมด
root@com015-Inspiron-5570:/home/com015# sudo smartctl -i /dev/sda1
smartctl 6.5 2016-01-24 r4214 [x86_64-linux-4.15.0-142-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Device Model: Lexar SSD NS100 512GB
Serial Number: MMV052Q0119470S302
LU WWN Device Id: 5 3a5a27 0520227f8
Firmware Version: SN11035
User Capacity: 512,110,190,592 bytes [512 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
Form Factor: 2.5 inches
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: Unknown(0x0bf8) (minor revision not indicated)
SATA Version is: SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Mon Apr 17 16:27:50 2023 +07
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
root@com015-Inspiron-5570:/home/com015# sudo smartctl -i /dev/sdb1
smartctl 6.5 2016-01-24 r4214 [x86_64-linux-4.15.0-142-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Device Model: TOSHIBA KSG60ZMV256G M.2 2280 256GB
Serial Number: 682F70F8F5WP
LU WWN Device Id: 5 00080d 8001d8626
Firmware Version: ABDA4102
User Capacity: 256,060,514,304 bytes [256 GB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: Solid State Device
Form Factor: M.2
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: Unknown(0x0ff8) (minor revision not indicated)
SATA Version is: SATA >3.2 (0x1ff), 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Mon Apr 17 16:29:01 2023 +07
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
มีคำสั่งอื่นแนะนำไหมคะ
MBMoo
PHP VIP Members
โพสต์: 25635 ลงทะเบียนเมื่อ: 04/06/2020 10:05 am
โพสต์ที่ยังไม่ได้อ่าน
โดย MBMoo » 17/04/2023 4:46 pm
สามารถใช้ smartctl ทดสอบสุขภาพ ssd ได้
โค้ด: เลือกทั้งหมด
root@com015-Inspiron-5570:/home/com015# sudo smartctl -d ata -H /dev/sdb1
smartctl 6.5 2016-01-24 r4214 [x86_64-linux-4.15.0-142-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
MBMoo
PHP VIP Members
โพสต์: 25635 ลงทะเบียนเมื่อ: 04/06/2020 10:05 am
โพสต์ที่ยังไม่ได้อ่าน
โดย MBMoo » 17/04/2023 4:49 pm
ทดสอบแล้วมีขึ้นมาหมดเลย
แต่ไม่แน่ใจว่าคือตัวไหรค่ะ
โค้ด: เลือกทั้งหมด
root@com015-Inspiron-5570:/home/com015# sudo smartctl --all /dev/sda
smartctl 6.5 2016-01-24 r4214 [x86_64-linux-4.15.0-142-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Device Model: Lexar SSD NS100 512GB
Serial Number: MMV052Q0119470S302
LU WWN Device Id: 5 3a5a27 0520227f8
Firmware Version: SN11035
User Capacity: 512,110,190,592 bytes [512 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
Form Factor: 2.5 inches
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: Unknown(0x0bf8) (minor revision not indicated)
SATA Version is: SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Mon Apr 17 16:47:00 2023 +07
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
General SMART Values:
Offline data collection status: (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
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: ( 33) seconds.
Offline data collection
capabilities: (0x7b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
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: ( 85) minutes.
Conveyance self-test routine
recommended polling time: ( 2) minutes.
SCT capabilities: (0x0031) SCT Status supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 20
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
5 Reallocated_Sector_Ct 0x0013 100 100 010 Pre-fail Always - 0
9 Power_On_Hours 0x0012 100 100 000 Old_age Always - 81
12 Power_Cycle_Count 0x0012 100 100 000 Old_age Always - 30
164 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 12885164035
165 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 4
166 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 3
167 Unknown_Attribute 0x0022 100 100 000 Old_age Always - 3
194 Temperature_Celsius 0x0022 037 037 000 Old_age Always - 37 (Min/Max 19/40)
199 UDMA_CRC_Error_Count 0x0012 100 100 000 Old_age Always - 0
241 Total_LBAs_Written 0x0032 100 100 000 Old_age Always - 292
242 Total_LBAs_Read 0x0032 100 100 000 Old_age Always - 130
SMART Error Log Version: 1
No Errors Logged
SMART Self-test log structure revision number 1
No self-tests have been logged. [To run self-tests, use: smartctl -t]
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.
eange08
PHP VIP Members
โพสต์: 16209 ลงทะเบียนเมื่อ: 22/12/2020 10:09 am
โพสต์ที่ยังไม่ได้อ่าน
โดย eange08 » 17/04/2023 5:18 pm
ค่า Power_On_Hours จะเป็นชม. ที่ใช้ไป ให้เอาเลขในคอลลัม RAW_VALUE เอามาหาร 24 ก็จะได้จำนวนวันมาอีกทีค่ะ
โค้ด: เลือกทั้งหมด
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
9 Power_On_Hours 0x0012 100 100 000 Old_age Always - 81
1 ตอบกลับ
1662 แสดง
โพสต์ล่าสุด โดย mindphp
30/10/2020 3:12 pm
0 ตอบกลับ
5445 แสดง
โพสต์ล่าสุด โดย nuattawoot
06/06/2017 5:12 pm
0 ตอบกลับ
7133 แสดง
โพสต์ล่าสุด โดย M030
30/09/2015 10:06 pm
0 ตอบกลับ
924 แสดง
โพสต์ล่าสุด โดย icefast
20/04/2022 5:48 pm
0 ตอบกลับ
6979 แสดง
โพสต์ล่าสุด โดย Four
17/01/2018 4:03 pm
0 ตอบกลับ
4052 แสดง
โพสต์ล่าสุด โดย offing
09/09/2014 5:18 pm
สมาชิกกำลังดูบอร์ดนี้: ไม่มีสมาชิกใหม่ และบุคลทั่วไป 5