separate packaging and source build system

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht
2023-05-24 16:20:27 +02:00
parent f5e87de606
commit a2242b41fc
213 changed files with 66 additions and 47 deletions

15
src/test/Makefile Normal file
View File

@ -0,0 +1,15 @@
all: test
test: test_zfspoolplugin test_disklist test_bwlimit test_plugin
test_zfspoolplugin: run_test_zfspoolplugin.pl
./run_test_zfspoolplugin.pl
test_disklist: run_disk_tests.pl
./run_disk_tests.pl
test_bwlimit: run_bwlimit_tests.pl
./run_bwlimit_tests.pl
test_plugin: run_plugin_tests.pl
./run_plugin_tests.pl

View File

@ -0,0 +1,198 @@
package PVE::Storage::TestArchiveInfo;
use strict;
use warnings;
use lib qw(..);
use PVE::Storage;
use Test::More;
my $vmid = 16110;
my $LOG_EXT = PVE::Storage::Plugin::LOG_EXT;
my $NOTES_EXT = PVE::Storage::Plugin::NOTES_EXT;
# an array of test cases, each test is comprised of the following keys:
# description => to identify a single test
# archive => the input filename for archive_info
# expected => the hash that archive_info returns
#
# most of them are created further below
my $tests = [
# backup archives
{
description => 'Backup archive, lxc, tgz, future millenium',
archive => "backup/vzdump-lxc-$vmid-3070_01_01-00_00_00.tgz",
expected => {
'filename' => "vzdump-lxc-$vmid-3070_01_01-00_00_00.tgz",
'logfilename' => "vzdump-lxc-$vmid-3070_01_01-00_00_00".$LOG_EXT,
'notesfilename'=> "vzdump-lxc-$vmid-3070_01_01-00_00_00.tgz".$NOTES_EXT,
'type' => 'lxc',
'format' => 'tar',
'decompressor' => ['tar', '-z'],
'compression' => 'gz',
'vmid' => $vmid,
'ctime' => 60*60*24 * (365*1100 + 267),
'is_std_name' => 1,
},
},
{
description => 'Backup archive, lxc, tgz, very old',
archive => "backup/vzdump-lxc-$vmid-1970_01_01-02_00_30.tgz",
expected => {
'filename' => "vzdump-lxc-$vmid-1970_01_01-02_00_30.tgz",
'logfilename' => "vzdump-lxc-$vmid-1970_01_01-02_00_30".$LOG_EXT,
'notesfilename'=> "vzdump-lxc-$vmid-1970_01_01-02_00_30.tgz".$NOTES_EXT,
'type' => 'lxc',
'format' => 'tar',
'decompressor' => ['tar', '-z'],
'compression' => 'gz',
'vmid' => $vmid,
'ctime' => 60*60*2 + 30,
'is_std_name' => 1,
},
},
{
description => 'Backup archive, lxc, tgz',
archive => "backup/vzdump-lxc-$vmid-2020_03_30-21_39_30.tgz",
expected => {
'filename' => "vzdump-lxc-$vmid-2020_03_30-21_39_30.tgz",
'logfilename' => "vzdump-lxc-$vmid-2020_03_30-21_39_30".$LOG_EXT,
'notesfilename'=> "vzdump-lxc-$vmid-2020_03_30-21_39_30.tgz".$NOTES_EXT,
'type' => 'lxc',
'format' => 'tar',
'decompressor' => ['tar', '-z'],
'compression' => 'gz',
'vmid' => $vmid,
'ctime' => 1585604370,
'is_std_name' => 1,
},
},
{
description => 'Backup archive, openvz, tgz',
archive => "backup/vzdump-openvz-$vmid-2020_03_30-21_39_30.tgz",
expected => {
'filename' => "vzdump-openvz-$vmid-2020_03_30-21_39_30.tgz",
'logfilename' => "vzdump-openvz-$vmid-2020_03_30-21_39_30".$LOG_EXT,
'notesfilename'=> "vzdump-openvz-$vmid-2020_03_30-21_39_30.tgz".$NOTES_EXT,
'type' => 'openvz',
'format' => 'tar',
'decompressor' => ['tar', '-z'],
'compression' => 'gz',
'vmid' => $vmid,
'ctime' => 1585604370,
'is_std_name' => 1,
},
},
{
description => 'Backup archive, custom dump directory, qemu, tgz',
archive => "/here/be/Back-ups/vzdump-qemu-$vmid-2020_03_30-21_39_30.tgz",
expected => {
'filename' => "vzdump-qemu-$vmid-2020_03_30-21_39_30.tgz",
'logfilename' => "vzdump-qemu-$vmid-2020_03_30-21_39_30".$LOG_EXT,
'notesfilename'=> "vzdump-qemu-$vmid-2020_03_30-21_39_30.tgz".$NOTES_EXT,
'type' => 'qemu',
'format' => 'tar',
'decompressor' => ['tar', '-z'],
'compression' => 'gz',
'vmid' => $vmid,
'ctime' => 1585604370,
'is_std_name' => 1,
},
},
{
description => 'Backup archive, none, tgz',
archive => "backup/vzdump-qemu-$vmid-whatever-the-name_is_here.tgz",
expected => {
'filename' => "vzdump-qemu-$vmid-whatever-the-name_is_here.tgz",
'type' => 'qemu',
'format' => 'tar',
'decompressor' => ['tar', '-z'],
'compression' => 'gz',
'is_std_name' => 0,
},
},
];
# add new compression fromats to test
my $decompressor = {
tar => {
gz => ['tar', '-z'],
lzo => ['tar', '--lzop'],
zst => ['tar', '--zstd'],
},
vma => {
gz => ['zcat'],
lzo => ['lzop', '-d', '-c'],
zst => ['zstd', '-q', '-d', '-c'],
},
};
my $bkp_suffix = {
qemu => [ 'vma', $decompressor->{vma}, ],
lxc => [ 'tar', $decompressor->{tar}, ],
openvz => [ 'tar', $decompressor->{tar}, ],
};
# create more test cases for backup files matches
for my $virt (sort keys %$bkp_suffix) {
my ($format, $decomp) = $bkp_suffix->{$virt}->@*;
my $archive_name = "vzdump-$virt-$vmid-2020_03_30-21_12_40";
for my $suffix (sort keys %$decomp) {
push @$tests, {
description => "Backup archive, $virt, $format.$suffix",
archive => "backup/$archive_name.$format.$suffix",
expected => {
'filename' => "$archive_name.$format.$suffix",
'logfilename' => $archive_name.$LOG_EXT,
'notesfilename'=> "$archive_name.$format.$suffix".$NOTES_EXT,
'type' => "$virt",
'format' => "$format",
'decompressor' => $decomp->{$suffix},
'compression' => "$suffix",
'vmid' => $vmid,
'ctime' => 1585602760,
'is_std_name' => 1,
},
};
}
}
# add compression formats to test failed matches
my $non_bkp_suffix = {
'openvz' => [ 'zip', 'tgz.lzo', 'tar.bz2', 'zip.gz', '', ],
'lxc' => [ 'zip', 'tgz.lzo', 'tar.bz2', 'zip.gz', '', ],
'qemu' => [ 'vma.xz', 'vms.gz', 'vmx.zst', '', ],
'none' => [ 'tar.gz', ],
};
# create tests for failed matches
for my $virt (sort keys %$non_bkp_suffix) {
my $suffix = $non_bkp_suffix->{$virt};
for my $s (@$suffix) {
my $archive = "backup/vzdump-$virt-$vmid-2020_03_30-21_12_40.$s";
push @$tests, {
description => "Failed match: Backup archive, $virt, $s",
archive => $archive,
expected => "ERROR: couldn't determine archive info from '$archive'\n",
};
}
}
plan tests => scalar @$tests;
for my $tt (@$tests) {
my $got = eval { PVE::Storage::archive_info($tt->{archive}) };
$got = $@ if $@;
is_deeply($got, $tt->{expected}, $tt->{description}) || diag(explain($got));
}
done_testing();
1;

View File

@ -0,0 +1 @@
LOGICAL_VOLUME

View File

@ -0,0 +1 @@
HP

View File

@ -0,0 +1 @@
1

View File

@ -0,0 +1 @@
10

View File

@ -0,0 +1,32 @@
P: /devices/pci0000:40/0000:40:13.0/0000:45:00.0/cciss0/c0d0/block/cciss!c0d0
N: cciss/c0d0
S: disk/by-id/cciss-SERIAL111
S: disk/by-id/wwn-0x00000000000000000000000000000000
S: disk/by-path/pci-0000:45:00.0-cciss-disk0
E: DEVLINKS=/dev/disk/by-id/cciss-000000000000000000000000000000000 /dev/disk/by-id/wwn-0x000000000000000000000000000000000/dev/disk/by-path/pci-0000:45:00.0-cciss-disk0
E: DEVNAME=/dev/cciss/c0d0
E: DEVPATH=/devices/pci0000:40/0000:40:13.0/0000:45:00.0/cciss0/c0d0/block/cciss!c0d0
E: DEVTYPE=disk
E: ID_BUS=cciss
E: ID_MODEL=LOGICAL_VOLUME
E: ID_MODEL_ENC=LOGICAL\x20VOLUME\x20\x20
E: ID_PART_TABLE_TYPE=gpt
E: ID_PART_TABLE_UUID=cfe72deb-65d1-487c-bdfa-8af66dc1a969
E: ID_PATH=pci-0000:45:00.0-cciss-disk0
E: ID_PATH_TAG=pci-0000_45_00_0-cciss-disk0
E: ID_REVISION=7.24
E: ID_SCSI=1
E: ID_SCSI_SERIAL=SERIAL1
E: ID_SERIAL=SERIAL111
E: ID_SERIAL_SHORT=SER111
E: ID_TYPE=disk
E: ID_VENDOR=HP
E: ID_VENDOR_ENC=HP\x20\x20\x20\x20\x20\x20
E: ID_WWN=0x0000000000000000
E: ID_WWN_VENDOR_EXTENSION=0x0000000000000000
E: ID_WWN_WITH_EXTENSION=0x00000000000000000000000000000000
E: MAJOR=104
E: MINOR=0
E: SUBSYSTEM=block
E: TAGS=:systemd:
E: USEC_INITIALIZED=2247

View File

@ -0,0 +1 @@
cciss!c0d0

View File

@ -0,0 +1,16 @@
{
"cciss/c0d0" : {
"wearout" : "N/A",
"vendor" : "HP",
"rpm" : -1,
"type" : "unknown",
"serial" : "SER111",
"osdid" : -1,
"health" : "UNKNOWN",
"model" : "LOGICAL_VOLUME",
"size" : 5120,
"wwn" : "0x0000000000000000",
"gpt" : 1,
"devpath" : "/dev/cciss/c0d0"
}
}

View File

@ -0,0 +1,2 @@
sda
sdb

View File

@ -0,0 +1,30 @@
{
"sdb" : {
"devpath" : "/dev/sdb",
"size" : 1024000,
"gpt" : 1,
"osdid" : -1,
"rpm" : 7200,
"model" : "ST4000NM0033-9ZM170",
"vendor" : "ATA",
"health" : "PASSED",
"type" : "hdd",
"wwn" : "0x0000000000000000",
"wearout" : "N/A",
"serial" : "00000000"
},
"sda" : {
"osdid" : -1,
"size" : 1024000,
"gpt" : 1,
"devpath" : "/dev/sda",
"model" : "ST4000DM000-1F2168",
"rpm" : 5900,
"type" : "hdd",
"health" : "PASSED",
"vendor" : "ATA",
"serial" : "00000000",
"wearout" : "N/A",
"wwn" : "0x0000000000000000"
}
}

View File

@ -0,0 +1 @@
ATA

View File

@ -0,0 +1 @@
1

View File

@ -0,0 +1 @@
2000

View File

@ -0,0 +1,5 @@
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.4.21-1-pve] (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

View File

@ -0,0 +1,40 @@
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.4.21-1-pve] (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
SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAGS VALUE WORST THRESH FAIL RAW_VALUE
1 Raw_Read_Error_Rate POSR-- 117 099 006 - 158983656
3 Spin_Up_Time PO---- 092 091 000 - 0
4 Start_Stop_Count -O--CK 100 100 020 - 189
5 Reallocated_Sector_Ct PO--CK 100 100 010 - 0
7 Seek_Error_Rate POSR-- 075 060 030 - 30779387
9 Power_On_Hours -O--CK 099 099 000 - 1250
10 Spin_Retry_Count PO--C- 100 100 097 - 0
12 Power_Cycle_Count -O--CK 100 100 020 - 190
183 Runtime_Bad_Block -O--CK 100 100 000 - 0
184 End-to-End_Error -O--CK 100 100 099 - 0
187 Reported_Uncorrect -O--CK 100 100 000 - 0
188 Command_Timeout -O--CK 100 100 000 - 0 0 0
189 High_Fly_Writes -O-RCK 100 100 000 - 0
190 Airflow_Temperature_Cel -O---K 069 061 045 - 31 (Min/Max 20/33)
191 G-Sense_Error_Rate -O--CK 100 100 000 - 0
192 Power-Off_Retract_Count -O--CK 100 100 000 - 43
193 Load_Cycle_Count -O--CK 100 100 000 - 201
194 Temperature_Celsius -O---K 031 040 000 - 31 (0 17 0 0 0)
197 Current_Pending_Sector -O--C- 100 100 000 - 0
198 Offline_Uncorrectable ----C- 100 100 000 - 0
199 UDMA_CRC_Error_Count -OSRCK 200 200 000 - 0
240 Head_Flying_Hours ------ 100 253 000 - 1259h+06m+33.546s
241 Total_LBAs_Written ------ 100 253 000 - 24013587236
242 Total_LBAs_Read ------ 100 253 000 - 66916845706732
||||||_ K auto-keep
|||||__ C event count
||||___ R error rate
|||____ S speed/performance
||_____ O updated online
|______ P prefailure warning

View File

@ -0,0 +1,270 @@
{
"attributes" : [
{
"threshold" : 6,
"fail" : "-",
"flags" : "POSR--",
"normalized" : 117,
"value" : 117,
"id" : " 1",
"raw" : "158983656",
"name" : "Raw_Read_Error_Rate",
"worst" : 99
},
{
"flags" : "PO----",
"normalized" : 92,
"value" : 92,
"raw" : "0",
"name" : "Spin_Up_Time",
"worst" : 91,
"id" : " 3",
"fail" : "-",
"threshold" : 0
},
{
"normalized" : 100,
"value" : 100,
"flags" : "-O--CK",
"id" : " 4",
"name" : "Start_Stop_Count",
"worst" : 100,
"raw" : "189",
"threshold" : 20,
"fail" : "-"
},
{
"normalized" : 100,
"value" : 100,
"flags" : "PO--CK",
"id" : " 5",
"name" : "Reallocated_Sector_Ct",
"worst" : 100,
"raw" : "0",
"threshold" : 10,
"fail" : "-"
},
{
"flags" : "POSR--",
"normalized" : 75,
"value" : 75,
"raw" : "30779387",
"worst" : 60,
"name" : "Seek_Error_Rate",
"id" : " 7",
"fail" : "-",
"threshold" : 30
},
{
"raw" : "1250",
"worst" : 99,
"name" : "Power_On_Hours",
"id" : " 9",
"flags" : "-O--CK",
"normalized" : 99,
"value" : 99,
"fail" : "-",
"threshold" : 0
},
{
"normalized" : 100,
"value" : 100,
"flags" : "PO--C-",
"id" : " 10",
"name" : "Spin_Retry_Count",
"worst" : 100,
"raw" : "0",
"threshold" : 97,
"fail" : "-"
},
{
"flags" : "-O--CK",
"normalized" : 100,
"value" : 100,
"id" : " 12",
"raw" : "190",
"worst" : 100,
"name" : "Power_Cycle_Count",
"threshold" : 20,
"fail" : "-"
},
{
"threshold" : 0,
"fail" : "-",
"flags" : "-O--CK",
"normalized" : 100,
"value" : 100,
"id" : "183",
"raw" : "0",
"worst" : 100,
"name" : "Runtime_Bad_Block"
},
{
"fail" : "-",
"threshold" : 99,
"flags" : "-O--CK",
"normalized" : 100,
"value" : 100,
"raw" : "0",
"worst" : 100,
"name" : "End-to-End_Error",
"id" : "184"
},
{
"worst" : 100,
"name" : "Reported_Uncorrect",
"raw" : "0",
"id" : "187",
"normalized" : 100,
"value" : 100,
"flags" : "-O--CK",
"fail" : "-",
"threshold" : 0
},
{
"flags" : "-O--CK",
"normalized" : 100,
"value" : 100,
"raw" : "0 0 0",
"worst" : 100,
"name" : "Command_Timeout",
"id" : "188",
"fail" : "-",
"threshold" : 0
},
{
"threshold" : 0,
"fail" : "-",
"flags" : "-O-RCK",
"normalized" : 100,
"value" : 100,
"id" : "189",
"raw" : "0",
"name" : "High_Fly_Writes",
"worst" : 100
},
{
"worst" : 61,
"name" : "Airflow_Temperature_Cel",
"raw" : "31 (Min/Max 20/33)",
"id" : "190",
"normalized" : 69,
"value" : 69,
"flags" : "-O---K",
"fail" : "-",
"threshold" : 45
},
{
"fail" : "-",
"threshold" : 0,
"worst" : 100,
"name" : "G-Sense_Error_Rate",
"raw" : "0",
"id" : "191",
"normalized" : 100,
"value" : 100,
"flags" : "-O--CK"
},
{
"id" : "192",
"raw" : "43",
"name" : "Power-Off_Retract_Count",
"worst" : 100,
"flags" : "-O--CK",
"normalized" : 100,
"value" : 100,
"threshold" : 0,
"fail" : "-"
},
{
"flags" : "-O--CK",
"normalized" : 100,
"value" : 100,
"raw" : "201",
"worst" : 100,
"name" : "Load_Cycle_Count",
"id" : "193",
"fail" : "-",
"threshold" : 0
},
{
"fail" : "-",
"threshold" : 0,
"normalized" : 31,
"value" : 31,
"flags" : "-O---K",
"name" : "Temperature_Celsius",
"worst" : 40,
"raw" : "31 (0 17 0 0 0)",
"id" : "194"
},
{
"normalized" : 100,
"value" : 100,
"flags" : "-O--C-",
"id" : "197",
"worst" : 100,
"name" : "Current_Pending_Sector",
"raw" : "0",
"threshold" : 0,
"fail" : "-"
},
{
"worst" : 100,
"name" : "Offline_Uncorrectable",
"raw" : "0",
"id" : "198",
"normalized" : 100,
"value" : 100,
"flags" : "----C-",
"fail" : "-",
"threshold" : 0
},
{
"threshold" : 0,
"fail" : "-",
"normalized" : 200,
"value" : 200,
"flags" : "-OSRCK",
"id" : "199",
"worst" : 200,
"name" : "UDMA_CRC_Error_Count",
"raw" : "0"
},
{
"raw" : "1259h+06m+33.546s",
"name" : "Head_Flying_Hours",
"worst" : 253,
"id" : "240",
"flags" : "------",
"normalized" : 100,
"value" : 100,
"fail" : "-",
"threshold" : 0
},
{
"fail" : "-",
"threshold" : 0,
"name" : "Total_LBAs_Written",
"worst" : 253,
"raw" : "24013587236",
"id" : "241",
"normalized" : 100,
"value" : 100,
"flags" : "------"
},
{
"flags" : "------",
"normalized" : 100,
"value" : 100,
"id" : "242",
"raw" : "66916845706732",
"worst" : 253,
"name" : "Total_LBAs_Read",
"threshold" : 0,
"fail" : "-"
}
],
"health" : "PASSED",
"type" : "ata"
}

View File

@ -0,0 +1,11 @@
E: DEVNAME=/dev/sda
E: DEVTYPE=disk
E: ID_ATA_ROTATION_RATE_RPM=5900
E: ID_BUS=ata
E: ID_MODEL=ST4000DM000-1F2168
E: ID_PART_TABLE_TYPE=gpt
E: ID_PART_TABLE_UUID=4f2e07a6-5437-2b4e-b6e8-9cba98639324
E: ID_SERIAL_SHORT=00000000
E: ID_TYPE=disk
E: ID_WWN=0x0000000000000000
E: ID_WWN_WITH_EXTENSION=0x0000000000000000

View File

@ -0,0 +1 @@
ATA

View File

@ -0,0 +1 @@
1

View File

@ -0,0 +1 @@
2000

View File

@ -0,0 +1,5 @@
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.4.21-1-pve] (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

View File

@ -0,0 +1,36 @@
smartctl 6.4 2014-10-07 r4002 [x86_64-linux-4.4.10-1-pve] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH FAIL RAW_VALUE
1 Raw_Read_Error_Rate POSR-- 083 063 044 - 215697022
3 Spin_Up_Time PO---- 092 091 000 - 0
4 Start_Stop_Count -O--CK 100 100 020 - 265
5 Reallocated_Sector_Ct PO--CK 100 100 010 - 0
7 Seek_Error_Rate POSR-- 091 060 030 - 1572375006
9 Power_On_Hours -O--CK 089 089 000 - 9885
10 Spin_Retry_Count PO--C- 100 100 097 - 0
12 Power_Cycle_Count -O--CK 100 100 020 - 265
184 End-to-End_Error -O--CK 100 100 099 - 0
187 Reported_Uncorrect -O--CK 100 100 000 - 0
188 Command_Timeout -O--CK 100 100 000 - 0
189 High_Fly_Writes -O--CK 100 100 000 - 0
190 Airflow_Temperature_Cel -O-RCK 045 036 045 NOW 55 (147 229 55 24 0)
191 G-Sense_Error_Rate -O---K 100 100 000 - 0
192 Power-Off_Retract_Count -O--CK 100 100 000 - 57
193 Load_Cycle_Count -O--CK 100 100 000 - 265
194 Temperature_Celsius -O--CK 055 064 000 - 55 (0 16 0 0 0)
195 Hardware_ECC_Recovered -O---K 023 013 000 - 215697022
197 Current_Pending_Sector -O--C- 100 100 000 - 0
198 Offline_Uncorrectable ----C- 100 100 000 - 0
199 UDMA_CRC_Error_Count -OSRCK 200 200 000 - 0
||||||_ K auto-keep
|||||__ C event count
||||___ R error rate
|||____ S speed/performance
||_____ O updated online
|______ P prefailure warning

View File

@ -0,0 +1,237 @@
{
"attributes" : [
{
"threshold" : 44,
"fail" : "-",
"id" : " 1",
"name" : "Raw_Read_Error_Rate",
"worst" : 63,
"raw" : "215697022",
"normalized" : 83,
"value" : 83,
"flags" : "POSR--"
},
{
"flags" : "PO----",
"normalized" : 92,
"value" : 92,
"id" : " 3",
"raw" : "0",
"worst" : 91,
"name" : "Spin_Up_Time",
"threshold" : 0,
"fail" : "-"
},
{
"fail" : "-",
"threshold" : 20,
"normalized" : 100,
"value" : 100,
"flags" : "-O--CK",
"worst" : 100,
"name" : "Start_Stop_Count",
"raw" : "265",
"id" : " 4"
},
{
"flags" : "PO--CK",
"normalized" : 100,
"value" : 100,
"id" : " 5",
"raw" : "0",
"name" : "Reallocated_Sector_Ct",
"worst" : 100,
"threshold" : 10,
"fail" : "-"
},
{
"id" : " 7",
"raw" : "1572375006",
"name" : "Seek_Error_Rate",
"worst" : 60,
"flags" : "POSR--",
"normalized" : 91,
"value" : 91,
"threshold" : 30,
"fail" : "-"
},
{
"raw" : "9885",
"name" : "Power_On_Hours",
"worst" : 89,
"id" : " 9",
"flags" : "-O--CK",
"normalized" : 89,
"value" : 89,
"fail" : "-",
"threshold" : 0
},
{
"fail" : "-",
"threshold" : 97,
"normalized" : 100,
"value" : 100,
"flags" : "PO--C-",
"worst" : 100,
"name" : "Spin_Retry_Count",
"raw" : "0",
"id" : " 10"
},
{
"threshold" : 20,
"fail" : "-",
"id" : " 12",
"raw" : "265",
"name" : "Power_Cycle_Count",
"worst" : 100,
"flags" : "-O--CK",
"normalized" : 100,
"value" : 100
},
{
"name" : "End-to-End_Error",
"worst" : 100,
"raw" : "0",
"id" : "184",
"normalized" : 100,
"value" : 100,
"flags" : "-O--CK",
"fail" : "-",
"threshold" : 99
},
{
"threshold" : 0,
"fail" : "-",
"id" : "187",
"raw" : "0",
"name" : "Reported_Uncorrect",
"worst" : 100,
"flags" : "-O--CK",
"normalized" : 100,
"value" : 100
},
{
"threshold" : 0,
"fail" : "-",
"id" : "188",
"raw" : "0",
"name" : "Command_Timeout",
"worst" : 100,
"flags" : "-O--CK",
"normalized" : 100,
"value" : 100
},
{
"fail" : "-",
"threshold" : 0,
"raw" : "0",
"worst" : 100,
"name" : "High_Fly_Writes",
"id" : "189",
"flags" : "-O--CK",
"normalized" : 100,
"value" : 100
},
{
"flags" : "-O-RCK",
"normalized" : 45,
"value" : 45,
"raw" : "55 (147 229 55 24 0)",
"worst" : 36,
"name" : "Airflow_Temperature_Cel",
"id" : "190",
"fail" : "NOW",
"threshold" : 45
},
{
"fail" : "-",
"threshold" : 0,
"raw" : "0",
"worst" : 100,
"name" : "G-Sense_Error_Rate",
"id" : "191",
"flags" : "-O---K",
"normalized" : 100,
"value" : 100
},
{
"threshold" : 0,
"fail" : "-",
"id" : "192",
"raw" : "57",
"worst" : 100,
"name" : "Power-Off_Retract_Count",
"flags" : "-O--CK",
"normalized" : 100,
"value" : 100
},
{
"fail" : "-",
"threshold" : 0,
"normalized" : 100,
"value" : 100,
"flags" : "-O--CK",
"name" : "Load_Cycle_Count",
"worst" : 100,
"raw" : "265",
"id" : "193"
},
{
"threshold" : 0,
"fail" : "-",
"flags" : "-O--CK",
"normalized" : 55,
"value" : 55,
"id" : "194",
"raw" : "55 (0 16 0 0 0)",
"name" : "Temperature_Celsius",
"worst" : 64
},
{
"threshold" : 0,
"fail" : "-",
"id" : "195",
"name" : "Hardware_ECC_Recovered",
"worst" : 13,
"raw" : "215697022",
"normalized" : 23,
"value" : 23,
"flags" : "-O---K"
},
{
"worst" : 100,
"name" : "Current_Pending_Sector",
"raw" : "0",
"id" : "197",
"normalized" : 100,
"value" : 100,
"flags" : "-O--C-",
"fail" : "-",
"threshold" : 0
},
{
"worst" : 100,
"name" : "Offline_Uncorrectable",
"raw" : "0",
"id" : "198",
"normalized" : 100,
"value" : 100,
"flags" : "----C-",
"fail" : "-",
"threshold" : 0
},
{
"fail" : "-",
"threshold" : 0,
"normalized" : 200,
"value" : 200,
"flags" : "-OSRCK",
"worst" : 200,
"name" : "UDMA_CRC_Error_Count",
"raw" : "0",
"id" : "199"
}
],
"type" : "ata",
"health" : "PASSED"
}

View File

@ -0,0 +1,11 @@
E: DEVNAME=/dev/sdb
E: DEVTYPE=disk
E: ID_ATA_ROTATION_RATE_RPM=7200
E: ID_BUS=ata
E: ID_MODEL=ST4000NM0033-9ZM170
E: ID_PART_TABLE_TYPE=gpt
E: ID_PART_TABLE_UUID=4f2e07a6-5437-2b4e-b6e8-9cba98639324
E: ID_SERIAL_SHORT=00000000
E: ID_TYPE=disk
E: ID_WWN=0x0000000000000000
E: ID_WWN_WITH_EXTENSION=0x0000000000000000

View File

@ -0,0 +1 @@
nvme0n1

View File

@ -0,0 +1,16 @@
{
"nvme0n1" : {
"wearout" : 69,
"vendor" : "unknown",
"size" : 512000,
"health" : "PASSED",
"serial" : "unknown",
"model" : "NVME MODEL 1",
"rpm" : 0,
"osdid" : -1,
"devpath" : "/dev/nvme0n1",
"gpt" : 0,
"wwn" : "unknown",
"type" : "nvme"
}
}

View File

@ -0,0 +1 @@
NVME MODEL 1

View File

@ -0,0 +1 @@
0

View File

@ -0,0 +1 @@
1000

View File

@ -0,0 +1,22 @@
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.4.19-1-pve] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
SMART/Health Information (NVMe Log 0x02, NSID 0xffffffff)
Critical Warning: 0x00
Temperature: 32 Celsius
Available Spare: 100%
Available Spare Threshold: 10%
Percentage Used: 31%
Data Units Read: 1,299,288 [665 GB]
Data Units Written: 5,592,478 [2.86 TB]
Host Read Commands: 30,360,807
Host Write Commands: 470,356,196
Controller Busy Time: 12
Power Cycles: 98
Power On Hours: 687
Unsafe Shutdowns: 21
Media and Data Integrity Errors: 0
Error Information Log Entries: 0

View File

@ -0,0 +1,6 @@
{
"text" : "\nSMART/Health Information (NVMe Log 0x02, NSID 0xffffffff)\nCritical Warning: 0x00\nTemperature: 32 Celsius\nAvailable Spare: 100%\nAvailable Spare Threshold: 10%\nPercentage Used: 31%\nData Units Read: 1,299,288 [665 GB]\nData Units Written: 5,592,478 [2.86 TB]\nHost Read Commands: 30,360,807\nHost Write Commands: 470,356,196\nController Busy Time: 12\nPower Cycles: 98\nPower On Hours: 687\nUnsafe Shutdowns: 21\nMedia and Data Integrity Errors: 0\nError Information Log Entries: 0\n",
"health" : "PASSED",
"type" : "text",
"wearout": 69
}

View File

@ -0,0 +1,18 @@
P: /devices/pci0000:00/0000:00:01.1/0000:02:00.0/nvme/nvme0/nvme0n1
N: nvme0n1
S: disk/by-id/lvm-pv-uuid-Py4eod-qfzj-i8Q3-Dxu6-xf0Q-H3Wr-w5Fo8V
E: DEVLINKS=/dev/disk/by-id/lvm-pv-uuid-Py4eod-qfzj-i8Q3-Dxu6-xf0Q-H3Wr-w5Fo8V
E: DEVNAME=/dev/nvme0n1
E: DEVPATH=/devices/pci0000:00/0000:00:01.1/0000:02:00.0/nvme/nvme0/nvme0n1
E: DEVTYPE=disk
E: ID_FS_TYPE=LVM2_member
E: ID_FS_USAGE=raid
E: ID_FS_UUID=Py4eod-qfzj-i8Q3-Dxu6-xf0Q-H3Wr-w5Fo8V
E: ID_FS_UUID_ENC=Py4eod-qfzj-i8Q3-Dxu6-xf0Q-H3Wr-w5Fo8V
E: ID_FS_VERSION=LVM2 001
E: MAJOR=259
E: MINOR=0
E: SUBSYSTEM=block
E: TAGS=:systemd:
E: USEC_INITIALIZED=3842

View File

@ -0,0 +1 @@
sda

View File

@ -0,0 +1,17 @@
{
"sda" : {
"gpt" : 1,
"devpath" : "/dev/sda",
"type" : "unknown",
"model" : "MODEL1",
"health" : "UNKNOWN",
"osdid" : -1,
"wwn" : "0x0000000000000000",
"vendor" : "VENDOR1",
"rpm" : -1,
"size" : 5120000,
"serial" : "SER2",
"wearout" : "N/A",
"by_id_link" : "/dev/disk/by-id/scsi-00000000000000000"
}
}

View File

@ -0,0 +1 @@
MODEL1

View File

@ -0,0 +1 @@
VENDOR1

View File

@ -0,0 +1 @@
1

View File

@ -0,0 +1 @@
10000

View File

@ -0,0 +1,20 @@
=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK
Percentage used endurance indicator: 0%
Current Drive Temperature: 20 C
Drive Trip Temperature: 70 C
Manufactured in week 47 of year 2012
Specified cycle count over device lifetime: 0
Accumulated start-stop cycles: 0
Specified load-unload count over device lifetime: 0
Accumulated load-unload cycles: 0
Elements in grown defect list: 0
Vendor (Seagate) cache information
Blocks sent to initiator = 1286675833552896
Vendor (Seagate/Hitachi) factory information
number of hours powered up = 7127.12
number of minutes until next internal SMART test = 0

View File

@ -0,0 +1,6 @@
{
"health" : "OK",
"text" : "\nPercentage used endurance indicator: 0%\nCurrent Drive Temperature: 20 C\nDrive Trip Temperature: 70 C\n\nManufactured in week 47 of year 2012\nSpecified cycle count over device lifetime: 0\nAccumulated start-stop cycles: 0\nSpecified load-unload count over device lifetime: 0\nAccumulated load-unload cycles: 0\nElements in grown defect list: 0\n\nVendor (Seagate) cache information\n Blocks sent to initiator = 1286675833552896\n\nVendor (Seagate/Hitachi) factory information\n number of hours powered up = 7127.12\n number of minutes until next internal SMART test = 0\n",
"type" : "text",
"wearout": 100
}

View File

@ -0,0 +1,31 @@
P: /devices/pci0000:00/0000:00:03.0/0000:02:00.0/host4/port-4:0/end_device-4:0/target4:0:0/4:0:0:0/block/sda
N: sda
S: disk/by-id/scsi-00000000000000000
S: disk/by-id/wwn-0x0000000000000000
S: disk/by-path/pci-0000:02:00.0-sas-0x0000000000000000-lun-0
E: DEVLINKS=/dev/disk/by-id/scsi-00000000000000000 /dev/disk/by-id/wwn-0x0000000000000000 /dev/disk/by-path/pci-0000:02:00.0-sas-0x0000000000000000-lun-0
E: DEVNAME=/dev/sda
E: DEVPATH=/devices/pci0000:00/0000:00:03.0/0000:02:00.0/host4/port-4:0/end_device-4:0/target4:0:0/4:0:0:0/block/sda
E: DEVTYPE=disk
E: ID_BUS=scsi
E: ID_MODEL=MODEL1
E: ID_MODEL_ENC=MODEL1\x20\x20\x20\x20\x20\x20
E: ID_PART_TABLE_TYPE=gpt
E: ID_PART_TABLE_UUID=605740f0-44a1-4dc5-9fea-bde166df963e
E: ID_PATH=pci-0000:02:00.0-sas-0x0000000000000000-lun-0
E: ID_PATH_TAG=pci-0000_02_00_0-sas-0x0000000000000000-lun-0
E: ID_REVISION=ES64
E: ID_SCSI=1
E: ID_SCSI_SERIAL=SERIAL
E: ID_SERIAL=SERIAL2
E: ID_SERIAL_SHORT=SER2
E: ID_TYPE=disk
E: ID_VENDOR=VENDOR1
E: ID_VENDOR_ENC=VENDOR1\x20
E: ID_WWN=0x0000000000000000
E: ID_WWN_WITH_EXTENSION=0x0000000000000000
E: MAJOR=8
E: MINOR=0
E: SUBSYSTEM=block
E: TAGS=:systemd:
E: USEC_INITIALIZED=667541

View File

@ -0,0 +1 @@
sda

View File

@ -0,0 +1,17 @@
{
"sda" : {
"gpt" : 1,
"devpath" : "/dev/sda",
"type" : "ssd",
"model" : "MODEL1",
"health" : "OK",
"osdid" : -1,
"wwn" : "0x0000000000000000",
"vendor" : "VENDOR1",
"rpm" : 0,
"size" : 5120000,
"serial" : "SER2",
"wearout" : 100,
"by_id_link" : "/dev/disk/by-id/scsi-00000000000000000"
}
}

View File

@ -0,0 +1 @@
MODEL1

View File

@ -0,0 +1 @@
VENDOR1

View File

@ -0,0 +1 @@
0

View File

@ -0,0 +1 @@
10000

View File

@ -0,0 +1,20 @@
=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK
Percentage used endurance indicator: 0%
Current Drive Temperature: 20 C
Drive Trip Temperature: 70 C
Manufactured in week 47 of year 2012
Specified cycle count over device lifetime: 0
Accumulated start-stop cycles: 0
Specified load-unload count over device lifetime: 0
Accumulated load-unload cycles: 0
Elements in grown defect list: 0
Vendor (Seagate) cache information
Blocks sent to initiator = 1286675833552896
Vendor (Seagate/Hitachi) factory information
number of hours powered up = 7127.12
number of minutes until next internal SMART test = 0

View File

@ -0,0 +1,6 @@
{
"health" : "OK",
"text" : "\nPercentage used endurance indicator: 0%\nCurrent Drive Temperature: 20 C\nDrive Trip Temperature: 70 C\n\nManufactured in week 47 of year 2012\nSpecified cycle count over device lifetime: 0\nAccumulated start-stop cycles: 0\nSpecified load-unload count over device lifetime: 0\nAccumulated load-unload cycles: 0\nElements in grown defect list: 0\n\nVendor (Seagate) cache information\n Blocks sent to initiator = 1286675833552896\n\nVendor (Seagate/Hitachi) factory information\n number of hours powered up = 7127.12\n number of minutes until next internal SMART test = 0\n",
"type" : "text",
"wearout": 100
}

View File

@ -0,0 +1,31 @@
P: /devices/pci0000:00/0000:00:03.0/0000:02:00.0/host4/port-4:0/end_device-4:0/target4:0:0/4:0:0:0/block/sda
N: sda
S: disk/by-id/scsi-00000000000000000
S: disk/by-id/wwn-0x0000000000000000
S: disk/by-path/pci-0000:02:00.0-sas-0x0000000000000000-lun-0
E: DEVLINKS=/dev/disk/by-id/scsi-00000000000000000 /dev/disk/by-id/wwn-0x0000000000000000 /dev/disk/by-path/pci-0000:02:00.0-sas-0x0000000000000000-lun-0
E: DEVNAME=/dev/sda
E: DEVPATH=/devices/pci0000:00/0000:00:03.0/0000:02:00.0/host4/port-4:0/end_device-4:0/target4:0:0/4:0:0:0/block/sda
E: DEVTYPE=disk
E: ID_BUS=scsi
E: ID_MODEL=MODEL1
E: ID_MODEL_ENC=MODEL1\x20\x20\x20\x20\x20\x20
E: ID_PART_TABLE_TYPE=gpt
E: ID_PART_TABLE_UUID=605740f0-44a1-4dc5-9fea-bde166df963e
E: ID_PATH=pci-0000:02:00.0-sas-0x0000000000000000-lun-0
E: ID_PATH_TAG=pci-0000_02_00_0-sas-0x0000000000000000-lun-0
E: ID_REVISION=ES64
E: ID_SCSI=1
E: ID_SCSI_SERIAL=SERIAL
E: ID_SERIAL=SERIAL2
E: ID_SERIAL_SHORT=SER2
E: ID_TYPE=disk
E: ID_VENDOR=VENDOR1
E: ID_VENDOR_ENC=VENDOR1\x20
E: ID_WWN=0x0000000000000000
E: ID_WWN_WITH_EXTENSION=0x0000000000000000
E: MAJOR=8
E: MINOR=0
E: SUBSYSTEM=block
E: TAGS=:systemd:
E: USEC_INITIALIZED=667541

View File

@ -0,0 +1,5 @@
sda
sdb
sdc
sdd
sde

View File

@ -0,0 +1,72 @@
{
"sda" : {
"serial" : "000000000000",
"vendor" : "ATA",
"rpm" : 0,
"gpt" : 1,
"health" : "PASSED",
"wearout" : "100",
"osdid" : -1,
"size" : 512000,
"type" : "ssd",
"devpath" : "/dev/sda",
"model" : "Crucial_CT500MX200SSD1",
"wwn" : "0x0000000000000000"
},
"sdb" : {
"model" : "INTEL_SSDSC2BB080G6",
"devpath" : "/dev/sdb",
"osdid" : -1,
"type" : "ssd",
"size" : 512000,
"wwn" : "0x0000000000000000",
"gpt" : 1,
"rpm" : 0,
"vendor" : "ATA",
"serial" : "000000000000000000",
"wearout" : "97",
"health" : "PASSED"
},
"sdc" : {
"wwn" : "0x0000000000000000",
"devpath" : "/dev/sdc",
"model" : "Samsung SSD 850 PRO 512GB",
"osdid" : -1,
"type" : "ssd",
"size" : 512000,
"wearout" : "99",
"health" : "PASSED",
"gpt" : 1,
"rpm" : 0,
"vendor" : "ATA",
"serial" : "000000000000"
},
"sdd" : {
"rpm" : 0,
"gpt" : 1,
"serial" : "000000000000",
"vendor" : "ATA",
"wearout" : "100",
"health" : "PASSED",
"devpath" : "/dev/sdd",
"model" : "SanDisk SD8SB8U1T001122",
"size" : 512000,
"osdid" : -1,
"type" : "ssd",
"wwn" : "0x0000000000000000"
},
"sde" : {
"type" : "ssd",
"osdid" : -1,
"size" : 512000,
"model" : "KINGSTON SHFS37A120G",
"devpath" : "/dev/sde",
"wwn" : "0x0000000000000000",
"vendor" : "ATA",
"serial" : "000000000000",
"gpt" : 1,
"rpm" : 0,
"health" : "PASSED",
"wearout" : "91"
}
}

View File

@ -0,0 +1 @@
ATA

View File

@ -0,0 +1 @@
0

View File

@ -0,0 +1 @@
1000

View File

@ -0,0 +1,39 @@
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.4.21-1-pve] (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
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAGS VALUE WORST THRESH FAIL RAW_VALUE
1 Raw_Read_Error_Rate POSR-K 100 100 000 - 0
5 Reallocate_NAND_Blk_Cnt -O--CK 100 100 010 - 0
9 Power_On_Hours -O--CK 100 100 000 - 1309
12 Power_Cycle_Count -O--CK 100 100 000 - 200
171 Program_Fail_Count -O--CK 100 100 000 - 0
172 Erase_Fail_Count -O--CK 100 100 000 - 0
173 Ave_Block-Erase_Count -O--CK 100 100 000 - 12
174 Unexpect_Power_Loss_Ct -O--CK 100 100 000 - 53
180 Unused_Reserve_NAND_Blk PO--CK 000 000 000 - 5565
183 SATA_Interfac_Downshift -O--CK 100 100 000 - 0
184 Error_Correction_Count -O--CK 100 100 000 - 0
187 Reported_Uncorrect -O--CK 100 100 000 - 0
194 Temperature_Celsius -O---K 068 054 000 - 32 (Min/Max 22/46)
196 Reallocated_Event_Count -O--CK 100 100 000 - 0
197 Current_Pending_Sector -O--CK 100 100 000 - 0
198 Offline_Uncorrectable ----CK 100 100 000 - 0
199 UDMA_CRC_Error_Count -O--CK 100 100 000 - 0
202 Percent_Lifetime_Used ----CK 100 100 001 - 0
206 Write_Error_Rate -OSR-- 100 100 000 - 0
210 Success_RAIN_Recov_Cnt -O--CK 100 100 000 - 0
246 Total_Host_Sector_Write -O--CK 100 100 000 - 6751830403
247 Host_Program_Page_Count -O--CK 100 100 000 - 211228065
248 Bckgnd_Program_Page_Cnt -O--CK 100 100 000 - 253276904
||||||_ K auto-keep
|||||__ C event count
||||___ R error rate
|||____ S speed/performance
||_____ O updated online
|______ P prefailure warning

View File

@ -0,0 +1,259 @@
{
"type" : "ata",
"health" : "PASSED",
"attributes" : [
{
"worst" : 100,
"threshold" : 0,
"name" : "Raw_Read_Error_Rate",
"id" : " 1",
"flags" : "POSR-K",
"raw" : "0",
"fail" : "-",
"normalized" : 100,
"value" : 100
},
{
"worst" : 100,
"threshold" : 10,
"name" : "Reallocate_NAND_Blk_Cnt",
"id" : " 5",
"flags" : "-O--CK",
"raw" : "0",
"fail" : "-",
"normalized" : 100,
"value" : 100
},
{
"name" : "Power_On_Hours",
"threshold" : 0,
"worst" : 100,
"normalized" : 100,
"value" : 100,
"fail" : "-",
"raw" : "1309",
"flags" : "-O--CK",
"id" : " 9"
},
{
"threshold" : 0,
"name" : "Power_Cycle_Count",
"worst" : 100,
"raw" : "200",
"flags" : "-O--CK",
"fail" : "-",
"id" : " 12",
"normalized" : 100,
"value" : 100
},
{
"normalized" : 100,
"value" : 100,
"raw" : "0",
"flags" : "-O--CK",
"fail" : "-",
"id" : "171",
"threshold" : 0,
"name" : "Program_Fail_Count",
"worst" : 100
},
{
"normalized" : 100,
"value" : 100,
"id" : "172",
"raw" : "0",
"flags" : "-O--CK",
"fail" : "-",
"worst" : 100,
"threshold" : 0,
"name" : "Erase_Fail_Count"
},
{
"threshold" : 0,
"name" : "Ave_Block-Erase_Count",
"worst" : 100,
"raw" : "12",
"flags" : "-O--CK",
"fail" : "-",
"id" : "173",
"normalized" : 100,
"value" : 100
},
{
"name" : "Unexpect_Power_Loss_Ct",
"threshold" : 0,
"worst" : 100,
"normalized" : 100,
"value" : 100,
"fail" : "-",
"raw" : "53",
"flags" : "-O--CK",
"id" : "174"
},
{
"raw" : "5565",
"flags" : "PO--CK",
"fail" : "-",
"id" : "180",
"normalized" : 0,
"value" : 0,
"threshold" : 0,
"name" : "Unused_Reserve_NAND_Blk",
"worst" : 0
},
{
"name" : "SATA_Interfac_Downshift",
"threshold" : 0,
"worst" : 100,
"fail" : "-",
"raw" : "0",
"flags" : "-O--CK",
"id" : "183",
"normalized" : 100,
"value" : 100
},
{
"worst" : 100,
"threshold" : 0,
"name" : "Error_Correction_Count",
"id" : "184",
"flags" : "-O--CK",
"raw" : "0",
"fail" : "-",
"normalized" : 100,
"value" : 100
},
{
"name" : "Reported_Uncorrect",
"threshold" : 0,
"worst" : 100,
"normalized" : 100,
"value" : 100,
"fail" : "-",
"flags" : "-O--CK",
"raw" : "0",
"id" : "187"
},
{
"worst" : 54,
"name" : "Temperature_Celsius",
"threshold" : 0,
"id" : "194",
"fail" : "-",
"flags" : "-O---K",
"raw" : "32 (Min/Max 22/46)",
"normalized" : 68,
"value" : 68
},
{
"raw" : "0",
"flags" : "-O--CK",
"fail" : "-",
"id" : "196",
"normalized" : 100,
"value" : 100,
"threshold" : 0,
"name" : "Reallocated_Event_Count",
"worst" : 100
},
{
"id" : "197",
"fail" : "-",
"flags" : "-O--CK",
"raw" : "0",
"normalized" : 100,
"value" : 100,
"worst" : 100,
"name" : "Current_Pending_Sector",
"threshold" : 0
},
{
"threshold" : 0,
"name" : "Offline_Uncorrectable",
"worst" : 100,
"flags" : "----CK",
"raw" : "0",
"fail" : "-",
"id" : "198",
"normalized" : 100,
"value" : 100
},
{
"worst" : 100,
"name" : "UDMA_CRC_Error_Count",
"threshold" : 0,
"id" : "199",
"fail" : "-",
"raw" : "0",
"flags" : "-O--CK",
"normalized" : 100,
"value" : 100
},
{
"normalized" : 100,
"value" : 100,
"id" : "202",
"flags" : "----CK",
"raw" : "0",
"fail" : "-",
"worst" : 100,
"threshold" : 1,
"name" : "Percent_Lifetime_Used"
},
{
"name" : "Write_Error_Rate",
"threshold" : 0,
"worst" : 100,
"normalized" : 100,
"value" : 100,
"fail" : "-",
"raw" : "0",
"flags" : "-OSR--",
"id" : "206"
},
{
"name" : "Success_RAIN_Recov_Cnt",
"threshold" : 0,
"worst" : 100,
"fail" : "-",
"raw" : "0",
"flags" : "-O--CK",
"id" : "210",
"normalized" : 100,
"value" : 100
},
{
"normalized" : 100,
"value" : 100,
"id" : "246",
"fail" : "-",
"raw" : "6751830403",
"flags" : "-O--CK",
"worst" : 100,
"name" : "Total_Host_Sector_Write",
"threshold" : 0
},
{
"name" : "Host_Program_Page_Count",
"threshold" : 0,
"worst" : 100,
"fail" : "-",
"raw" : "211228065",
"flags" : "-O--CK",
"id" : "247",
"normalized" : 100,
"value" : 100
},
{
"normalized" : 100,
"value" : 100,
"fail" : "-",
"raw" : "253276904",
"flags" : "-O--CK",
"id" : "248",
"name" : "Bckgnd_Program_Page_Cnt",
"threshold" : 0,
"worst" : 100
}
]
}

View File

@ -0,0 +1,11 @@
E: DEVNAME=/dev/sda
E: DEVTYPE=disk
E: ID_ATA_ROTATION_RATE_RPM=0
E: ID_BUS=ata
E: ID_MODEL=Crucial_CT500MX200SSD1
E: ID_PART_TABLE_TYPE=gpt
E: ID_SERIAL=Crucial_CT500MX200SSD1_000000000000
E: ID_SERIAL_SHORT=000000000000
E: ID_TYPE=disk
E: ID_WWN=0x0000000000000000

View File

@ -0,0 +1 @@
ATA

View File

@ -0,0 +1 @@
0

View File

@ -0,0 +1 @@
1000

View File

@ -0,0 +1,41 @@
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.4.21-1-pve] (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
SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAGS VALUE WORST THRESH FAIL RAW_VALUE
5 Reallocated_Sector_Ct -O--CK 100 100 000 - 0
9 Power_On_Hours -O--CK 100 100 000 - 1259
12 Power_Cycle_Count -O--CK 100 100 000 - 191
170 Available_Reservd_Space PO--CK 100 100 010 - 0
171 Program_Fail_Count -O--CK 100 100 000 - 0
172 Erase_Fail_Count -O--CK 100 100 000 - 0
174 Unsafe_Shutdown_Count -O--CK 100 100 000 - 164
175 Power_Loss_Cap_Test PO--CK 100 100 010 - 5670 (1 343)
183 SATA_Downshift_Count -O--CK 100 100 000 - 0
184 End-to-End_Error PO--CK 100 100 090 - 0
187 Reported_Uncorrect -O--CK 100 100 000 - 0
190 Temperature_Case -O---K 072 071 000 - 28 (Min/Max 21/30)
192 Unsafe_Shutdown_Count -O--CK 100 100 000 - 164
194 Temperature_Internal -O---K 100 100 000 - 28
197 Current_Pending_Sector -O--C- 100 100 000 - 0
199 CRC_Error_Count -OSRCK 100 100 000 - 0
225 Host_Writes_32MiB -O--CK 100 100 000 - 296600
226 Workld_Media_Wear_Indic -O--CK 100 100 000 - 3747
227 Workld_Host_Reads_Perc -O--CK 100 100 000 - 0
228 Workload_Minutes -O--CK 100 100 000 - 75111
232 Available_Reservd_Space PO--CK 100 100 010 - 0
233 Media_Wearout_Indicator -O--CK 097 097 000 - 0
234 Thermal_Throttle -O--CK 100 100 000 - 0/0
241 Host_Writes_32MiB -O--CK 100 100 000 - 296600
242 Host_Reads_32MiB -O--CK 100 100 000 - 1207
||||||_ K auto-keep
|||||__ C event count
||||___ R error rate
|||____ S speed/performance
||_____ O updated online
|______ P prefailure warning

View File

@ -0,0 +1,281 @@
{
"health" : "PASSED",
"type" : "ata",
"attributes" : [
{
"name" : "Reallocated_Sector_Ct",
"threshold" : 0,
"worst" : 100,
"fail" : "-",
"flags" : "-O--CK",
"raw" : "0",
"id" : " 5",
"normalized" : 100,
"value" : 100
},
{
"worst" : 100,
"name" : "Power_On_Hours",
"threshold" : 0,
"id" : " 9",
"fail" : "-",
"raw" : "1259",
"flags" : "-O--CK",
"normalized" : 100,
"value" : 100
},
{
"normalized" : 100,
"value" : 100,
"id" : " 12",
"raw" : "191",
"flags" : "-O--CK",
"fail" : "-",
"worst" : 100,
"threshold" : 0,
"name" : "Power_Cycle_Count"
},
{
"id" : "170",
"raw" : "0",
"flags" : "PO--CK",
"fail" : "-",
"normalized" : 100,
"value" : 100,
"worst" : 100,
"threshold" : 10,
"name" : "Available_Reservd_Space"
},
{
"threshold" : 0,
"name" : "Program_Fail_Count",
"worst" : 100,
"normalized" : 100,
"value" : 100,
"raw" : "0",
"flags" : "-O--CK",
"fail" : "-",
"id" : "171"
},
{
"worst" : 100,
"name" : "Erase_Fail_Count",
"threshold" : 0,
"id" : "172",
"fail" : "-",
"flags" : "-O--CK",
"raw" : "0",
"normalized" : 100,
"value" : 100
},
{
"worst" : 100,
"threshold" : 0,
"name" : "Unsafe_Shutdown_Count",
"normalized" : 100,
"value" : 100,
"id" : "174",
"raw" : "164",
"flags" : "-O--CK",
"fail" : "-"
},
{
"normalized" : 100,
"value" : 100,
"fail" : "-",
"flags" : "PO--CK",
"raw" : "5670 (1 343)",
"id" : "175",
"name" : "Power_Loss_Cap_Test",
"threshold" : 10,
"worst" : 100
},
{
"worst" : 100,
"threshold" : 0,
"name" : "SATA_Downshift_Count",
"normalized" : 100,
"value" : 100,
"id" : "183",
"raw" : "0",
"flags" : "-O--CK",
"fail" : "-"
},
{
"worst" : 100,
"name" : "End-to-End_Error",
"threshold" : 90,
"normalized" : 100,
"value" : 100,
"id" : "184",
"fail" : "-",
"raw" : "0",
"flags" : "PO--CK"
},
{
"worst" : 100,
"name" : "Reported_Uncorrect",
"threshold" : 0,
"normalized" : 100,
"value" : 100,
"id" : "187",
"fail" : "-",
"raw" : "0",
"flags" : "-O--CK"
},
{
"worst" : 71,
"name" : "Temperature_Case",
"threshold" : 0,
"id" : "190",
"fail" : "-",
"raw" : "28 (Min/Max 21/30)",
"flags" : "-O---K",
"normalized" : 72,
"value" : 72
},
{
"worst" : 100,
"threshold" : 0,
"name" : "Unsafe_Shutdown_Count",
"normalized" : 100,
"value" : 100,
"id" : "192",
"raw" : "164",
"flags" : "-O--CK",
"fail" : "-"
},
{
"id" : "194",
"fail" : "-",
"raw" : "28",
"flags" : "-O---K",
"normalized" : 100,
"value" : 100,
"worst" : 100,
"name" : "Temperature_Internal",
"threshold" : 0
},
{
"worst" : 100,
"threshold" : 0,
"name" : "Current_Pending_Sector",
"normalized" : 100,
"value" : 100,
"id" : "197",
"raw" : "0",
"flags" : "-O--C-",
"fail" : "-"
},
{
"worst" : 100,
"threshold" : 0,
"name" : "CRC_Error_Count",
"normalized" : 100,
"value" : 100,
"id" : "199",
"flags" : "-OSRCK",
"raw" : "0",
"fail" : "-"
},
{
"worst" : 100,
"name" : "Host_Writes_32MiB",
"threshold" : 0,
"id" : "225",
"fail" : "-",
"flags" : "-O--CK",
"raw" : "296600",
"normalized" : 100,
"value" : 100
},
{
"normalized" : 100,
"value" : 100,
"id" : "226",
"raw" : "3747",
"flags" : "-O--CK",
"fail" : "-",
"worst" : 100,
"threshold" : 0,
"name" : "Workld_Media_Wear_Indic"
},
{
"worst" : 100,
"threshold" : 0,
"name" : "Workld_Host_Reads_Perc",
"id" : "227",
"raw" : "0",
"flags" : "-O--CK",
"fail" : "-",
"normalized" : 100,
"value" : 100
},
{
"threshold" : 0,
"name" : "Workload_Minutes",
"worst" : 100,
"raw" : "75111",
"flags" : "-O--CK",
"fail" : "-",
"id" : "228",
"normalized" : 100,
"value" : 100
},
{
"fail" : "-",
"raw" : "0",
"flags" : "PO--CK",
"id" : "232",
"normalized" : 100,
"value" : 100,
"name" : "Available_Reservd_Space",
"threshold" : 10,
"worst" : 100
},
{
"normalized" : 97,
"value" : 97,
"fail" : "-",
"flags" : "-O--CK",
"raw" : "0",
"id" : "233",
"name" : "Media_Wearout_Indicator",
"threshold" : 0,
"worst" : 97
},
{
"normalized" : 100,
"value" : 100,
"fail" : "-",
"raw" : "0/0",
"flags" : "-O--CK",
"id" : "234",
"name" : "Thermal_Throttle",
"threshold" : 0,
"worst" : 100
},
{
"worst" : 100,
"name" : "Host_Writes_32MiB",
"threshold" : 0,
"id" : "241",
"fail" : "-",
"raw" : "296600",
"flags" : "-O--CK",
"normalized" : 100,
"value" : 100
},
{
"normalized" : 100,
"value" : 100,
"id" : "242",
"fail" : "-",
"raw" : "1207",
"flags" : "-O--CK",
"worst" : 100,
"name" : "Host_Reads_32MiB",
"threshold" : 0
}
]
}

View File

@ -0,0 +1,12 @@
E: DEVNAME=/dev/sdb
E: DEVTYPE=disk
E: ID_ATA_ROTATION_RATE_RPM=0
E: ID_BUS=ata
E: ID_MODEL=INTEL_SSDSC2BB080G6
E: ID_PART_TABLE_TYPE=gpt
E: ID_PART_TABLE_UUID=21c18951-8568-488c-a2a8-24441eb4b165
E: ID_SERIAL=INTEL_SSDSC2BB080G6_000000000000000000
E: ID_SERIAL_SHORT=000000000000000000
E: ID_TYPE=disk
E: ID_WWN=0x0000000000000000
E: ID_WWN_WITH_EXTENSION=0x0000000000000000

View File

@ -0,0 +1 @@
ATA

View File

@ -0,0 +1 @@
0

View File

@ -0,0 +1 @@
1000

View File

@ -0,0 +1,16 @@
smartctl 6.4 2014-10-07 r4002 [x86_64-linux-4.4.8-1-pve] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAGS VALUE WORST THRESH FAIL RAW_VALUE
177 Wear_Leveling_Count PO--CK 099 099 000 - 34
||||||_ K auto-keep
|||||__ C event count
||||___ R error rate
|||____ S speed/performance
||_____ O updated onlinie
|______ P prefailure warning

View File

@ -0,0 +1,17 @@
{
"type" : "ata",
"health" : "PASSED",
"attributes" : [
{
"normalized" : 99,
"value" : 99,
"fail" : "-",
"raw" : "34",
"flags" : "PO--CK",
"id" : "177",
"name" : "Wear_Leveling_Count",
"threshold" : 0,
"worst" : 99
}
]
}

View File

@ -0,0 +1,11 @@
E: DEVNAME=/dev/sdc
E: DEVTYPE=disk
E: ID_ATA_ROTATION_RATE_RPM=0
E: ID_BUS=ata
E: ID_MODEL=Samsung SSD 850 PRO 512GB
E: ID_PART_TABLE_TYPE=gpt
E: ID_SERIAL=SAMSUNG_00000000
E: ID_SERIAL_SHORT=000000000000
E: ID_TYPE=disk
E: ID_WWN=0x0000000000000000

View File

@ -0,0 +1 @@
ATA

View File

@ -0,0 +1 @@
0

View File

@ -0,0 +1 @@
1000

View File

@ -0,0 +1,40 @@
smartctl 6.4 2014-10-07 r4002 [x86_64-linux-4.4.19-1-pve] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
SMART Attributes Data Structure revision number: 4
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAGS VALUE WORST THRESH FAIL RAW_VALUE
5 Reallocated_Sector_Ct -O--CK 100 100 --- - 0
9 Power_On_Hours -O--CK 100 100 --- - 799
12 Power_Cycle_Count -O--CK 100 100 --- - 92
165 Unknown_Attribute -O--CK 100 100 --- - 9699447
166 Unknown_Attribute -O--CK 100 100 --- - 1
167 Unknown_Attribute -O--CK 100 100 --- - 46
168 Unknown_Attribute -O--CK 100 100 --- - 5
169 Unknown_Attribute -O--CK 100 100 --- - 1079
170 Unknown_Attribute -O--CK 100 100 --- - 0
171 Unknown_Attribute -O--CK 100 100 --- - 0
172 Unknown_Attribute -O--CK 100 100 --- - 0
173 Unknown_Attribute -O--CK 100 100 --- - 1
174 Unknown_Attribute -O--CK 100 100 --- - 22
184 End-to-End_Error -O--CK 100 100 --- - 0
187 Reported_Uncorrect -O--CK 100 100 --- - 0
188 Command_Timeout -O--CK 100 100 --- - 0
194 Temperature_Celsius -O---K 073 064 --- - 27 (Min/Max 23/64)
199 UDMA_CRC_Error_Count -O--CK 100 100 --- - 0
230 Unknown_SSD_Attribute -O--CK 100 100 --- - 146029805602
232 Available_Reservd_Space PO--CK 100 100 004 - 100
233 Media_Wearout_Indicator -O--CK 100 100 --- - 1574
234 Unknown_Attribute -O--CK 100 100 --- - 2303
241 Total_LBAs_Written ----CK 253 253 --- - 2111
242 Total_LBAs_Read ----CK 253 253 --- - 1542
244 Unknown_Attribute -O--CK 000 100 --- - 0
||||||_ K auto-keep
|||||__ C event count
||||___ R error rate
|||____ S speed/performance
||_____ O updated online
|______ P prefailure warning

View File

@ -0,0 +1,281 @@
{
"attributes" : [
{
"id" : " 5",
"flags" : "-O--CK",
"fail" : "-",
"worst" : 100,
"raw" : "0",
"threshold" : 0,
"normalized" : 100,
"value" : 100,
"name" : "Reallocated_Sector_Ct"
},
{
"worst" : 100,
"fail" : "-",
"flags" : "-O--CK",
"id" : " 9",
"name" : "Power_On_Hours",
"threshold" : 0,
"normalized" : 100,
"value" : 100,
"raw" : "799"
},
{
"name" : "Power_Cycle_Count",
"raw" : "92",
"threshold" : 0,
"normalized" : 100,
"value" : 100,
"fail" : "-",
"worst" : 100,
"id" : " 12",
"flags" : "-O--CK"
},
{
"worst" : 100,
"fail" : "-",
"flags" : "-O--CK",
"id" : "165",
"name" : "Unknown_Attribute",
"threshold" : 0,
"normalized" : 100,
"value" : 100,
"raw" : "9699447"
},
{
"normalized" : 100,
"value" : 100,
"threshold" : 0,
"raw" : "1",
"name" : "Unknown_Attribute",
"flags" : "-O--CK",
"id" : "166",
"worst" : 100,
"fail" : "-"
},
{
"id" : "167",
"flags" : "-O--CK",
"fail" : "-",
"worst" : 100,
"raw" : "46",
"normalized" : 100,
"value" : 100,
"threshold" : 0,
"name" : "Unknown_Attribute"
},
{
"name" : "Unknown_Attribute",
"raw" : "5",
"normalized" : 100,
"value" : 100,
"threshold" : 0,
"fail" : "-",
"worst" : 100,
"id" : "168",
"flags" : "-O--CK"
},
{
"flags" : "-O--CK",
"id" : "169",
"worst" : 100,
"fail" : "-",
"normalized" : 100,
"value" : 100,
"threshold" : 0,
"raw" : "1079",
"name" : "Unknown_Attribute"
},
{
"raw" : "0",
"threshold" : 0,
"normalized" : 100,
"value" : 100,
"name" : "Unknown_Attribute",
"id" : "170",
"flags" : "-O--CK",
"fail" : "-",
"worst" : 100
},
{
"fail" : "-",
"worst" : 100,
"id" : "171",
"flags" : "-O--CK",
"name" : "Unknown_Attribute",
"raw" : "0",
"normalized" : 100,
"value" : 100,
"threshold" : 0
},
{
"name" : "Unknown_Attribute",
"raw" : "0",
"normalized" : 100,
"value" : 100,
"threshold" : 0,
"fail" : "-",
"worst" : 100,
"id" : "172",
"flags" : "-O--CK"
},
{
"name" : "Unknown_Attribute",
"threshold" : 0,
"normalized" : 100,
"value" : 100,
"raw" : "1",
"worst" : 100,
"fail" : "-",
"flags" : "-O--CK",
"id" : "173"
},
{
"name" : "Unknown_Attribute",
"normalized" : 100,
"value" : 100,
"threshold" : 0,
"raw" : "22",
"worst" : 100,
"fail" : "-",
"flags" : "-O--CK",
"id" : "174"
},
{
"worst" : 100,
"fail" : "-",
"flags" : "-O--CK",
"id" : "184",
"name" : "End-to-End_Error",
"normalized" : 100,
"value" : 100,
"threshold" : 0,
"raw" : "0"
},
{
"name" : "Reported_Uncorrect",
"normalized" : 100,
"value" : 100,
"threshold" : 0,
"raw" : "0",
"worst" : 100,
"fail" : "-",
"flags" : "-O--CK",
"id" : "187"
},
{
"name" : "Command_Timeout",
"raw" : "0",
"normalized" : 100,
"value" : 100,
"threshold" : 0,
"fail" : "-",
"worst" : 100,
"id" : "188",
"flags" : "-O--CK"
},
{
"threshold" : 0,
"normalized" : 73,
"value" : 73,
"raw" : "27 (Min/Max 23/64)",
"name" : "Temperature_Celsius",
"flags" : "-O---K",
"id" : "194",
"worst" : 64,
"fail" : "-"
},
{
"worst" : 100,
"fail" : "-",
"flags" : "-O--CK",
"id" : "199",
"name" : "UDMA_CRC_Error_Count",
"normalized" : 100,
"value" : 100,
"threshold" : 0,
"raw" : "0"
},
{
"name" : "Unknown_SSD_Attribute",
"threshold" : 0,
"normalized" : 100,
"value" : 100,
"raw" : "146029805602",
"worst" : 100,
"fail" : "-",
"flags" : "-O--CK",
"id" : "230"
},
{
"raw" : "100",
"normalized" : 100,
"value" : 100,
"threshold" : 4,
"name" : "Available_Reservd_Space",
"id" : "232",
"flags" : "PO--CK",
"fail" : "-",
"worst" : 100
},
{
"threshold" : 0,
"normalized" : 100,
"value" : 100,
"raw" : "1574",
"name" : "Media_Wearout_Indicator",
"flags" : "-O--CK",
"id" : "233",
"worst" : 100,
"fail" : "-"
},
{
"id" : "234",
"flags" : "-O--CK",
"fail" : "-",
"worst" : 100,
"raw" : "2303",
"normalized" : 100,
"value" : 100,
"threshold" : 0,
"name" : "Unknown_Attribute"
},
{
"fail" : "-",
"worst" : 253,
"id" : "241",
"flags" : "----CK",
"name" : "Total_LBAs_Written",
"raw" : "2111",
"normalized" : 253,
"value" : 253,
"threshold" : 0
},
{
"worst" : 253,
"fail" : "-",
"flags" : "----CK",
"id" : "242",
"name" : "Total_LBAs_Read",
"threshold" : 0,
"normalized" : 253,
"value" : 253,
"raw" : "1542"
},
{
"name" : "Unknown_Attribute",
"normalized" : 0,
"value" : 0,
"threshold" : 0,
"raw" : "0",
"worst" : 100,
"fail" : "-",
"flags" : "-O--CK",
"id" : "244"
}
],
"type" : "ata",
"health" : "PASSED"
}

View File

@ -0,0 +1,11 @@
E: DEVNAME=/dev/sdd
E: DEVTYPE=disk
E: ID_ATA_ROTATION_RATE_RPM=0
E: ID_BUS=ata
E: ID_MODEL=SanDisk SD8SB8U1T001122
E: ID_PART_TABLE_TYPE=gpt
E: ID_SERIAL=SANDISK_00000000000
E: ID_SERIAL_SHORT=000000000000
E: ID_TYPE=disk
E: ID_WWN=0x0000000000000000

View File

@ -0,0 +1 @@
ATA

View File

@ -0,0 +1 @@
0

View File

@ -0,0 +1 @@
1000

View File

@ -0,0 +1,40 @@
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.65-1-pve] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAGS VALUE WORST THRESH FAIL RAW_VALUE
1 Raw_Read_Error_Rate -O--CK 120 120 050 - 0/0
5 Retired_Block_Count PO--CK 100 100 003 - 0
9 Power_On_Hours_and_Msec -O--CK 091 091 000 - 7963h+07m+54.620s
12 Power_Cycle_Count -O--CK 099 099 000 - 1153
171 Program_Fail_Count -O-R-- 100 100 000 - 0
172 Erase_Fail_Count -O--CK 100 100 000 - 0
174 Unexpect_Power_Loss_Ct ----CK 000 000 000 - 113
177 Wear_Range_Delta ------ 000 000 000 - 1
181 Program_Fail_Count -O-R-- 100 100 000 - 0
182 Erase_Fail_Count -O--CK 100 100 000 - 0
187 Reported_Uncorrect -O--C- 100 100 000 - 0
189 Airflow_Temperature_Cel ------ 027 049 000 - 27 (Min/Max 2/49)
194 Temperature_Celsius -O---K 027 049 000 - 27 (Min/Max 2/49)
195 ECC_Uncorr_Error_Count --SRC- 120 120 000 - 0/0
196 Reallocated_Event_Count PO--CK 100 100 003 - 0
201 Unc_Soft_Read_Err_Rate --SRC- 120 120 000 - 0/0
204 Soft_ECC_Correct_Rate --SRC- 120 120 000 - 0/0
230 Life_Curve_Status PO--C- 100 100 000 - 100
231 SSD_Life_Left ------ 091 091 011 - 4294967296
233 SandForce_Internal -O--CK 000 000 000 - 6317
234 SandForce_Internal -O--CK 000 000 000 - 4252
241 Lifetime_Writes_GiB -O--CK 000 000 000 - 4252
242 Lifetime_Reads_GiB -O--CK 000 000 000 - 34599
244 Unknown_Attribute ------ 099 099 010 - 4063273
||||||_ K auto-keep
|||||__ C event count
||||___ R error rate
|||____ S speed/performance
||_____ O updated online
|______ P prefailure warning

View File

@ -0,0 +1,270 @@
{
"health": "PASSED",
"type": "ata",
"attributes": [
{
"fail": "-",
"id": " 1",
"raw": "0/0",
"flags": "-O--CK",
"name": "Raw_Read_Error_Rate",
"threshold": 50,
"normalized": 120,
"value": 120,
"worst": 120
},
{
"id": " 5",
"fail": "-",
"normalized": 100,
"value": 100,
"worst": 100,
"threshold": 3,
"name": "Retired_Block_Count",
"flags": "PO--CK",
"raw": "0"
},
{
"fail": "-",
"id": " 9",
"raw": "7963h+07m+54.620s",
"flags": "-O--CK",
"worst": 91,
"normalized": 91,
"value": 91,
"name": "Power_On_Hours_and_Msec",
"threshold": 0
},
{
"id": " 12",
"fail": "-",
"threshold": 0,
"name": "Power_Cycle_Count",
"worst": 99,
"normalized": 99,
"value": 99,
"flags": "-O--CK",
"raw": "1153"
},
{
"flags": "-O-R--",
"raw": "0",
"worst": 100,
"normalized": 100,
"value": 100,
"threshold": 0,
"name": "Program_Fail_Count",
"fail": "-",
"id": "171"
},
{
"fail": "-",
"id": "172",
"flags": "-O--CK",
"raw": "0",
"name": "Erase_Fail_Count",
"threshold": 0,
"worst": 100,
"normalized": 100,
"value": 100
},
{
"fail": "-",
"id": "174",
"raw": "113",
"flags": "----CK",
"normalized": 0,
"value": 0,
"worst": 0,
"threshold": 0,
"name": "Unexpect_Power_Loss_Ct"
},
{
"id": "177",
"fail": "-",
"normalized": 0,
"value": 0,
"worst": 0,
"name": "Wear_Range_Delta",
"threshold": 0,
"flags": "------",
"raw": "1"
},
{
"flags": "-O-R--",
"raw": "0",
"threshold": 0,
"name": "Program_Fail_Count",
"worst": 100,
"normalized": 100,
"value": 100,
"fail": "-",
"id": "181"
},
{
"threshold": 0,
"name": "Erase_Fail_Count",
"normalized": 100,
"value": 100,
"worst": 100,
"flags": "-O--CK",
"raw": "0",
"id": "182",
"fail": "-"
},
{
"flags": "-O--C-",
"raw": "0",
"normalized": 100,
"value": 100,
"worst": 100,
"threshold": 0,
"name": "Reported_Uncorrect",
"fail": "-",
"id": "187"
},
{
"normalized": 27,
"value": 27,
"worst": 49,
"name": "Airflow_Temperature_Cel",
"threshold": 0,
"flags": "------",
"raw": "27 (Min/Max 2/49)",
"id": "189",
"fail": "-"
},
{
"threshold": 0,
"name": "Temperature_Celsius",
"worst": 49,
"normalized": 27,
"value": 27,
"flags": "-O---K",
"raw": "27 (Min/Max 2/49)",
"id": "194",
"fail": "-"
},
{
"id": "195",
"fail": "-",
"worst": 120,
"normalized": 120,
"value": 120,
"threshold": 0,
"name": "ECC_Uncorr_Error_Count",
"raw": "0/0",
"flags": "--SRC-"
},
{
"fail": "-",
"id": "196",
"raw": "0",
"flags": "PO--CK",
"threshold": 3,
"name": "Reallocated_Event_Count",
"normalized": 100,
"value": 100,
"worst": 100
},
{
"normalized": 120,
"value": 120,
"worst": 120,
"threshold": 0,
"name": "Unc_Soft_Read_Err_Rate",
"flags": "--SRC-",
"raw": "0/0",
"id": "201",
"fail": "-"
},
{
"raw": "0/0",
"flags": "--SRC-",
"normalized": 120,
"value": 120,
"worst": 120,
"threshold": 0,
"name": "Soft_ECC_Correct_Rate",
"fail": "-",
"id": "204"
},
{
"normalized": 100,
"value": 100,
"worst": 100,
"threshold": 0,
"name": "Life_Curve_Status",
"raw": "100",
"flags": "PO--C-",
"id": "230",
"fail": "-"
},
{
"id": "231",
"fail": "-",
"worst": 91,
"normalized": 91,
"value": 91,
"name": "SSD_Life_Left",
"threshold": 11,
"flags": "------",
"raw": "4294967296"
},
{
"raw": "6317",
"flags": "-O--CK",
"name": "SandForce_Internal",
"threshold": 0,
"normalized": 0,
"value": 0,
"worst": 0,
"fail": "-",
"id": "233"
},
{
"normalized": 0,
"value": 0,
"worst": 0,
"name": "SandForce_Internal",
"threshold": 0,
"flags": "-O--CK",
"raw": "4252",
"id": "234",
"fail": "-"
},
{
"worst": 0,
"normalized": 0,
"value": 0,
"name": "Lifetime_Writes_GiB",
"threshold": 0,
"flags": "-O--CK",
"raw": "4252",
"id": "241",
"fail": "-"
},
{
"flags": "-O--CK",
"raw": "34599",
"normalized": 0,
"value": 0,
"worst": 0,
"threshold": 0,
"name": "Lifetime_Reads_GiB",
"fail": "-",
"id": "242"
},
{
"threshold": 10,
"name": "Unknown_Attribute",
"worst": 99,
"normalized": 99,
"value": 99,
"flags": "------",
"raw": "4063273",
"id": "244",
"fail": "-"
}
]
}

View File

@ -0,0 +1,11 @@
E: DEVNAME=/dev/sde
E: DEVTYPE=disk
E: ID_ATA_ROTATION_RATE_RPM=0
E: ID_BUS=ata
E: ID_MODEL=KINGSTON SHFS37A120G
E: ID_PART_TABLE_TYPE=gpt
E: ID_SERIAL=KINGSTON_00000000000
E: ID_SERIAL_SHORT=000000000000
E: ID_TYPE=disk
E: ID_WWN=0x0000000000000000

View File

@ -0,0 +1,14 @@
sda
sdb
sdc
sdd
sde
sdf
sdg
sdh
sdi
sdj
sdk
sdl
sdm
sdn

View File

@ -0,0 +1,223 @@
{
"sdf" : {
"gpt" : 1,
"rpm" : 0,
"size" : 1536000,
"type" : "hdd",
"osdencrypted": 0,
"osdid" : "444",
"bluestore" : "0",
"health" : "UNKNOWN",
"model" : "MODEL1",
"used" : "mounted",
"wearout" : "N/A",
"wwn" : "0x0000000000000000",
"devpath" : "/dev/sdf",
"vendor" : "ATA",
"serial" : "SERIAL1"
},
"sde" : {
"wwn" : "0x0000000000000000",
"devpath" : "/dev/sde",
"serial" : "SERIAL1",
"vendor" : "ATA",
"health" : "UNKNOWN",
"rpm" : 0,
"size" : 1536000,
"gpt" : 1,
"osdid" : -1,
"type" : "hdd",
"model" : "MODEL1",
"used" : "Device Mapper",
"wearout" : "N/A"
},
"sdb" : {
"serial" : "SERIAL1",
"vendor" : "ATA",
"wwn" : "0x0000000000000000",
"devpath" : "/dev/sdb",
"model" : "MODEL1",
"used" : "LVM",
"wearout" : "N/A",
"health" : "UNKNOWN",
"gpt" : 1,
"size" : 1536000,
"rpm" : 0,
"type" : "hdd",
"osdid" : -1
},
"sda" : {
"model" : "MODEL1",
"used" : "mounted",
"mounted": 1,
"wearout" : "N/A",
"health" : "UNKNOWN",
"gpt" : 1,
"size" : 1536000,
"rpm" : 0,
"type" : "hdd",
"osdid" : -1,
"serial" : "SERIAL1",
"vendor" : "ATA",
"wwn" : "0x0000000000000000",
"devpath" : "/dev/sda"
},
"sdc" : {
"serial" : "SERIAL1",
"vendor" : "ATA",
"devpath" : "/dev/sdc",
"wwn" : "0x0000000000000000",
"used" : "ZFS",
"wearout" : "N/A",
"model" : "MODEL1",
"health" : "UNKNOWN",
"type" : "hdd",
"osdid" : -1,
"gpt" : 1,
"rpm" : 0,
"size" : 1536000
},
"sdd" : {
"model" : "MODEL1",
"wearout" : "N/A",
"health" : "UNKNOWN",
"size" : 1536000,
"rpm" : 0,
"gpt" : 1,
"type" : "hdd",
"osdid" : -1,
"serial" : "SERIAL1",
"used": "ZFS",
"vendor" : "ATA",
"wwn" : "0x0000000000000000",
"devpath" : "/dev/sdd"
},
"sdg" : {
"serial" : "SERIAL1",
"vendor" : "ATA",
"wwn" : "0x0000000000000000",
"devpath" : "/dev/sdg",
"model" : "MODEL1",
"used" : "LVM",
"wearout" : "N/A",
"health" : "UNKNOWN",
"gpt" : 1,
"size" : 1536000,
"rpm" : 0,
"type" : "hdd",
"bluestore": 1,
"osdencrypted": 0,
"osdid" : 1
},
"sdh" : {
"serial" : "SERIAL1",
"vendor" : "ATA",
"wwn" : "0x0000000000000000",
"devpath" : "/dev/sdh",
"model" : "MODEL1",
"used" : "LVM",
"wearout" : "N/A",
"health" : "UNKNOWN",
"gpt" : 1,
"journals": 1,
"size" : 1536000,
"rpm" : 0,
"type" : "hdd",
"osdid" : -1
},
"sdi" : {
"serial" : "SERIAL1",
"vendor" : "ATA",
"wwn" : "0x0000000000000000",
"devpath" : "/dev/sdi",
"model" : "MODEL1",
"used" : "LVM",
"wearout" : "N/A",
"health" : "UNKNOWN",
"gpt" : 1,
"size" : 1536000,
"rpm" : 0,
"type" : "hdd",
"db": 1,
"osdid" : -1
},
"sdj" : {
"serial" : "SERIAL1",
"vendor" : "ATA",
"wwn" : "0x0000000000000000",
"devpath" : "/dev/sdj",
"model" : "MODEL1",
"used" : "LVM",
"wearout" : "N/A",
"health" : "UNKNOWN",
"gpt" : 1,
"size" : 1536000,
"rpm" : 0,
"bluestore": 0,
"type" : "hdd",
"osdencrypted": 1,
"osdid" : 0
},
"sdk" : {
"serial" : "SERIAL1",
"vendor" : "ATA",
"wwn" : "0x0000000000000000",
"devpath" : "/dev/sdk",
"model" : "MODEL1",
"used" : "LVM",
"wearout" : "N/A",
"health" : "UNKNOWN",
"gpt" : 1,
"size" : 1536000,
"rpm" : 0,
"bluestore": 0,
"type" : "hdd",
"osdencrypted": 0,
"osdid" : 230
},
"sdl" : {
"serial" : "SERIAL1",
"vendor" : "ATA",
"wwn" : "0x0000000000000000",
"devpath" : "/dev/sdl",
"model" : "MODEL1",
"used" : "LVM",
"wearout" : "N/A",
"health" : "UNKNOWN",
"gpt" : 1,
"size" : 1536000,
"rpm" : 0,
"type" : "hdd",
"osdid" : -1
},
"sdm" : {
"serial" : "SERIAL1",
"vendor" : "ATA",
"wwn" : "0x0000000000000000",
"devpath" : "/dev/sdm",
"model" : "MODEL1",
"used" : "ZFS",
"wearout" : "N/A",
"health" : "UNKNOWN",
"gpt" : 1,
"size" : 1536000,
"rpm" : 0,
"type" : "hdd",
"osdid" : -1
},
"sdn" : {
"serial" : "SERIAL1",
"vendor" : "ATA",
"wwn" : "0x0000000000000000",
"devpath" : "/dev/sdn",
"model" : "MODEL1",
"used" : "xfs",
"wearout" : "N/A",
"health" : "UNKNOWN",
"gpt" : 0,
"size" : 1536000,
"rpm" : 0,
"type" : "hdd",
"osdid" : -1
}
}

View File

@ -0,0 +1,8 @@
{
"blockdevices": [
{"path":"/dev/sdm", "parttype":null, "fstype":null},
{"path":"/dev/sdm1", "parttype":"6a898cc3-1dd2-11b2-99a6-080020736631", "fstype":"zfs_member"},
{"path":"/dev/sdm9", "parttype":"6a945a3b-1dd2-11b2-99a6-080020736631", "fstype":null},
{"path":"/dev/sdn", "parttype":null, "fstype":"xfs"}
]
}

View File

@ -0,0 +1,6 @@
/dev/sdg(0);osd-block-01234;ceph.osd_id=1
/dev/sdh(0);osd-journal-01234;ceph.osd_id=1
/dev/sdi(0);osd-db-01234;ceph.osd_id=1,dasdf
/dev/sdj(0);osd-data-01234;ceph.osd_id=0,asfd,ceph.encrypted=1
/dev/sdk(0);osd-data-231231;ceph.osd_id=230,ceph.fsid=test
/dev/sdl(0);osd-data-234132;ceph.osd_id=,bar

View File

@ -0,0 +1,2 @@
/dev/sda /mountpoint1
/dev/sdf1 /var/lib/ceph/osd/ceph-444

View File

@ -0,0 +1,6 @@
sdd1
sdd2
sde1
sdf1
sdm1
sdm9

View File

@ -0,0 +1,7 @@
/dev/sdb
/dev/sdg
/dev/sdh
/dev/sdi
/dev/sdj
/dev/sdk
/dev/sdl

View File

@ -0,0 +1 @@
ATA

View File

@ -0,0 +1 @@
1

View File

@ -0,0 +1 @@
3000

View File

@ -0,0 +1,12 @@
E: DEVNAME=/dev/sda
E: DEVTYPE=disk
E: ID_ATA_ROTATION_RATE_RPM=0
E: ID_BUS=ata
E: ID_MODEL=MODEL1
E: ID_PART_TABLE_TYPE=gpt
E: ID_PART_TABLE_UUID=8417b93f-eff9-4e8f-8d84-dc2e77fc07a2
E: ID_SERIAL=SERIAL1
E: ID_SERIAL_SHORT=SERIAL1
E: ID_TYPE=disk
E: ID_WWN=0x0000000000000000
E: ID_WWN_WITH_EXTENSION=0x0000000000000000

View File

@ -0,0 +1 @@
ATA

View File

@ -0,0 +1 @@
1

View File

@ -0,0 +1 @@
3000

View File

@ -0,0 +1,12 @@
E: DEVNAME=/dev/sdb
E: DEVTYPE=disk
E: ID_ATA_ROTATION_RATE_RPM=0
E: ID_BUS=ata
E: ID_MODEL=MODEL1
E: ID_PART_TABLE_TYPE=gpt
E: ID_PART_TABLE_UUID=8417b93f-eff9-4e8f-8d84-dc2e77fc07a2
E: ID_SERIAL=SERIAL1
E: ID_SERIAL_SHORT=SERIAL1
E: ID_TYPE=disk
E: ID_WWN=0x0000000000000000
E: ID_WWN_WITH_EXTENSION=0x0000000000000000

View File

@ -0,0 +1 @@
ATA

View File

@ -0,0 +1 @@
1

Some files were not shown because too many files have changed in this diff Show More