一台服务器,一块系统盘、一块Cache盘、N块机械盘:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
root@lthpc:~# df -h Filesystem Size Used Avail Use% Mounted on udev 189G 0 189G 0% /dev tmpfs 38G 2.6M 38G 1% /run /dev/sda4 375G 26G 331G 8% / tmpfs 189G 0 189G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 189G 0 189G 0% /sys/fs/cgroup /dev/sda2 976M 298M 611M 33% /boot /dev/loop0 56M 56M 0 100% /snap/core18/2246 /dev/loop1 68M 68M 0 100% /snap/lxd/21803 /dev/loop3 33M 33M 0 100% /snap/snapd/13640 /dev/loop2 43M 43M 0 100% /snap/snapd/13831 /dev/loop5 68M 68M 0 100% /snap/lxd/21835 /dev/loop7 56M 56M 0 100% /snap/core18/2253 /dev/loop4 62M 62M 0 100% /snap/core20/1169 /dev/loop6 62M 62M 0 100% /snap/core20/1242 /dev/sdb1 3.5T 89M 3.3T 1% /ssd /dev/sdc1 37T 6.0T 29T 18% /data tmpfs 38G 20K 38G 1% /run/user/0 |
使用hdparm查看不了。
由于用了RAID卡,直接用Mega的命令:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 |
root@lthpc:~# hdparm -I /dev/sdb1 /dev/sdb1: SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0f 00 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ATA device, with non-removable media Standards: Likely used: 1 Configuration: Logical max current cylinders 0 0 heads 0 0 sectors/track 0 0 -- Logical/Physical Sector size: 512 bytes device size with M = 1024*1024: 0 MBytes device size with M = 1000*1000: 0 MBytes cache/buffer size = unknown Capabilities: IORDY not likely Cannot perform double-word IO R/W multiple sector transfer: not supported DMA: not supported PIO: pio0 root@lthpc:~# apt install -y lsscsi Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: lsscsi 0 upgraded, 1 newly installed, 0 to remove and 101 not upgraded. Need to get 46.1 kB of archives. After this operation, 114 kB of additional disk space will be used. Get:1 http://cn.archive.ubuntu.com/ubuntu focal/main amd64 lsscsi amd64 0.30-0.1 [46.1 kB] Fetched 46.1 kB in 1s (32.8 kB/s) Selecting previously unselected package lsscsi. (Reading database ... 152822 files and directories currently installed.) Preparing to unpack .../lsscsi_0.30-0.1_amd64.deb ... Unpacking lsscsi (0.30-0.1) ... Setting up lsscsi (0.30-0.1) ... Processing triggers for man-db (2.9.1-1) ... root@lthpc:~# lsscsi [6:2:0:0] disk AVAGO MR9361-8i 4.68 /dev/sda [6:2:1:0] disk AVAGO MR9361-8i 4.68 /dev/sdb [6:2:2:0] disk AVAGO MR9361-8i 4.68 /dev/sdc root@lthpc:~# mega megacli megactl megasasctl megatrace root@lthpc:~# megacli -PDlist -aALL Adapter #0 Enclosure Device ID: 252 Slot Number: 0 Drive's position: DiskGroup: 0, Span: 0, Arm: 0 Enclosure position: N/A Device Id: 14 WWN: 55cd2e415338d711 Sequence Number: 2 Media Error Count: 0 Other Error Count: 0 Predictive Failure Count: 0 Last Predictive Failure Event Seq Number: 0 PD Type: SATA Raw Size: 447.130 GB [0x37e436b0 Sectors] Non Coerced Size: 446.630 GB [0x37d436b0 Sectors] Coerced Size: 446.625 GB [0x37d40000 Sectors] Sector Size: 512 Logical Sector Size: 512 Physical Sector Size: 4096 Firmware state: Online, Spun Up Commissioned Spare : No Emergency Spare : No Device Firmware Level: 0132 Shield Counter: 0 Successful diagnostics completion on : N/A SAS Address(0): 0x4433221100000000 Connected Port Number: 0(path0) Inquiry Data: PHYF110005D0480BGN INTEL SSDSC2KB480G8 XCV10132 FDE Capable: Not Capable FDE Enable: Disable Secured: Unsecured Locked: Unlocked Needs EKM Attention: No Foreign State: None Device Speed: 6.0Gb/s Link Speed: 6.0Gb/s Media Type: Solid State Device Drive: Not Certified Drive Temperature :32C (89.60 F) PI Eligibility: No Drive is formatted for PI information: No PI: No PI Drive's NCQ setting : Enabled Port-0 : Port status: Active Port's Linkspeed: 6.0Gb/s Drive has flagged a S.M.A.R.T alert : No Enclosure Device ID: 252 Slot Number: 1 Drive's position: DiskGroup: 1, Span: 0, Arm: 0 Enclosure position: N/A Device Id: 15 WWN: 55cd2e4153552831 Sequence Number: 2 Media Error Count: 0 Other Error Count: 0 Predictive Failure Count: 0 Last Predictive Failure Event Seq Number: 0 PD Type: SATA Raw Size: 3.492 TB [0x1bf1f72b0 Sectors] Non Coerced Size: 3.492 TB [0x1bf0f72b0 Sectors] Coerced Size: 3.492 TB [0x1bf0f0000 Sectors] Sector Size: 512 Logical Sector Size: 512 Physical Sector Size: 4096 Firmware state: Online, Spun Up Commissioned Spare : No Emergency Spare : No Device Firmware Level: 0132 Shield Counter: 0 Successful diagnostics completion on : N/A SAS Address(0): 0x4433221101000000 Connected Port Number: 1(path0) Inquiry Data: PHYF121605MH3P8EGN INTEL SSDSC2KB038T8 XCV10132 FDE Capable: Not Capable FDE Enable: Disable Secured: Unsecured Locked: Unlocked Needs EKM Attention: No Foreign State: None Device Speed: 6.0Gb/s Link Speed: 6.0Gb/s Media Type: Solid State Device Drive: Not Certified Drive Temperature :33C (91.40 F) PI Eligibility: No Drive is formatted for PI information: No PI: No PI Drive's NCQ setting : Enabled Port-0 : Port status: Active Port's Linkspeed: 6.0Gb/s Drive has flagged a S.M.A.R.T alert : No Enclosure Device ID: 252 Slot Number: 2 Drive's position: DiskGroup: 2, Span: 0, Arm: 0 Enclosure position: N/A Device Id: 13 WWN: 5000C500CAFCCD78 Sequence Number: 2 Media Error Count: 0 Other Error Count: 0 Predictive Failure Count: 0 Last Predictive Failure Event Seq Number: 0 PD Type: SAS Raw Size: 7.277 TB [0x3a3812ab0 Sectors] Non Coerced Size: 7.276 TB [0x3a3712ab0 Sectors] Coerced Size: 7.276 TB [0x3a3710000 Sectors] Sector Size: 512 Logical Sector Size: 512 Physical Sector Size: 4096 Firmware state: Online, Spun Up Commissioned Spare : No Emergency Spare : No Device Firmware Level: E004 Shield Counter: 0 Successful diagnostics completion on : N/A SAS Address(0): 0x5000c500cafccd79 SAS Address(1): 0x0 Connected Port Number: 2(path0) Inquiry Data: SEAGATE ST8000NM0075 E004ZA1K49F8 FDE Capable: Not Capable FDE Enable: Disable Secured: Unsecured Locked: Unlocked Needs EKM Attention: No Foreign State: None Device Speed: 12.0Gb/s Link Speed: 12.0Gb/s Media Type: Hard Disk Device Drive: Not Certified Drive Temperature :48C (118.40 F) PI Eligibility: No Drive is formatted for PI information: No PI: No PI Port-0 : Port status: Active Port's Linkspeed: 12.0Gb/s Port-1 : Port status: Active Port's Linkspeed: 12.0Gb/s Drive has flagged a S.M.A.R.T alert : No Enclosure Device ID: 252 Slot Number: 3 Drive's position: DiskGroup: 2, Span: 0, Arm: 1 Enclosure position: N/A Device Id: 12 WWN: 5000C500CAF9EDB0 Sequence Number: 2 Media Error Count: 0 Other Error Count: 0 Predictive Failure Count: 0 Last Predictive Failure Event Seq Number: 0 PD Type: SAS Raw Size: 7.277 TB [0x3a3812ab0 Sectors] Non Coerced Size: 7.276 TB [0x3a3712ab0 Sectors] Coerced Size: 7.276 TB [0x3a3710000 Sectors] Sector Size: 512 Logical Sector Size: 512 Physical Sector Size: 4096 Firmware state: Online, Spun Up Commissioned Spare : No Emergency Spare : No Device Firmware Level: E004 Shield Counter: 0 Successful diagnostics completion on : N/A SAS Address(0): 0x5000c500caf9edb1 SAS Address(1): 0x0 Connected Port Number: 3(path0) Inquiry Data: SEAGATE ST8000NM0075 E004ZA1K39MS FDE Capable: Not Capable FDE Enable: Disable Secured: Unsecured Locked: Unlocked Needs EKM Attention: No Foreign State: None Device Speed: 12.0Gb/s Link Speed: 12.0Gb/s Media Type: Hard Disk Device Drive: Not Certified Drive Temperature :49C (120.20 F) PI Eligibility: No Drive is formatted for PI information: No PI: No PI Port-0 : Port status: Active Port's Linkspeed: 12.0Gb/s Port-1 : Port status: Active Port's Linkspeed: 12.0Gb/s Drive has flagged a S.M.A.R.T alert : No Enclosure Device ID: 252 Slot Number: 4 Drive's position: DiskGroup: 2, Span: 0, Arm: 2 Enclosure position: N/A Device Id: 11 WWN: 5000C500CAEF1348 Sequence Number: 2 Media Error Count: 0 Other Error Count: 0 Predictive Failure Count: 0 Last Predictive Failure Event Seq Number: 0 PD Type: SAS Raw Size: 7.277 TB [0x3a3812ab0 Sectors] Non Coerced Size: 7.276 TB [0x3a3712ab0 Sectors] Coerced Size: 7.276 TB [0x3a3710000 Sectors] Sector Size: 512 Logical Sector Size: 512 Physical Sector Size: 4096 Firmware state: Online, Spun Up Commissioned Spare : No Emergency Spare : No Device Firmware Level: E004 Shield Counter: 0 Successful diagnostics completion on : N/A SAS Address(0): 0x5000c500caef1349 SAS Address(1): 0x0 Connected Port Number: 4(path0) Inquiry Data: SEAGATE ST8000NM0075 E004ZA1K0V7H FDE Capable: Not Capable FDE Enable: Disable Secured: Unsecured Locked: Unlocked Needs EKM Attention: No Foreign State: None Device Speed: 12.0Gb/s Link Speed: 12.0Gb/s Media Type: Hard Disk Device Drive: Not Certified Drive Temperature :39C (102.20 F) PI Eligibility: No Drive is formatted for PI information: No PI: No PI Port-0 : Port status: Active Port's Linkspeed: 12.0Gb/s Port-1 : Port status: Active Port's Linkspeed: 12.0Gb/s Drive has flagged a S.M.A.R.T alert : No Enclosure Device ID: 252 Slot Number: 5 Drive's position: DiskGroup: 2, Span: 0, Arm: 3 Enclosure position: N/A Device Id: 8 WWN: 5000C500CAFD66E4 Sequence Number: 2 Media Error Count: 0 Other Error Count: 0 Predictive Failure Count: 0 Last Predictive Failure Event Seq Number: 0 PD Type: SAS Raw Size: 7.277 TB [0x3a3812ab0 Sectors] Non Coerced Size: 7.276 TB [0x3a3712ab0 Sectors] Coerced Size: 7.276 TB [0x3a3710000 Sectors] Sector Size: 512 Logical Sector Size: 512 Physical Sector Size: 4096 Firmware state: Online, Spun Up Commissioned Spare : No Emergency Spare : No Device Firmware Level: E004 Shield Counter: 0 Successful diagnostics completion on : N/A SAS Address(0): 0x5000c500cafd66e5 SAS Address(1): 0x0 Connected Port Number: 5(path0) Inquiry Data: SEAGATE ST8000NM0075 E004ZA1K4FKX FDE Capable: Not Capable FDE Enable: Disable Secured: Unsecured Locked: Unlocked Needs EKM Attention: No Foreign State: None Device Speed: 12.0Gb/s Link Speed: 12.0Gb/s Media Type: Hard Disk Device Drive: Not Certified Drive Temperature :39C (102.20 F) PI Eligibility: No Drive is formatted for PI information: No PI: No PI Port-0 : Port status: Active Port's Linkspeed: 12.0Gb/s Port-1 : Port status: Active Port's Linkspeed: 12.0Gb/s Drive has flagged a S.M.A.R.T alert : No Enclosure Device ID: 252 Slot Number: 6 Drive's position: DiskGroup: 2, Span: 0, Arm: 4 Enclosure position: N/A Device Id: 9 WWN: 5000C500CAF7AC5C Sequence Number: 2 Media Error Count: 0 Other Error Count: 0 Predictive Failure Count: 0 Last Predictive Failure Event Seq Number: 0 PD Type: SAS Raw Size: 7.277 TB [0x3a3812ab0 Sectors] Non Coerced Size: 7.276 TB [0x3a3712ab0 Sectors] Coerced Size: 7.276 TB [0x3a3710000 Sectors] Sector Size: 512 Logical Sector Size: 512 Physical Sector Size: 4096 Firmware state: Online, Spun Up Commissioned Spare : No Emergency Spare : No Device Firmware Level: E004 Shield Counter: 0 Successful diagnostics completion on : N/A SAS Address(0): 0x5000c500caf7ac5d SAS Address(1): 0x0 Connected Port Number: 6(path0) Inquiry Data: SEAGATE ST8000NM0075 E004ZA1K2KF1 FDE Capable: Not Capable FDE Enable: Disable Secured: Unsecured Locked: Unlocked Needs EKM Attention: No Foreign State: None Device Speed: 12.0Gb/s Link Speed: 12.0Gb/s Media Type: Hard Disk Device Drive: Not Certified Drive Temperature :44C (111.20 F) PI Eligibility: No Drive is formatted for PI information: No PI: No PI Port-0 : Port status: Active Port's Linkspeed: 12.0Gb/s Port-1 : Port status: Active Port's Linkspeed: 12.0Gb/s Drive has flagged a S.M.A.R.T alert : No Enclosure Device ID: 252 Slot Number: 7 Drive's position: DiskGroup: 2, Span: 0, Arm: 5 Enclosure position: N/A Device Id: 10 WWN: 5000C500CAFE3BD0 Sequence Number: 2 Media Error Count: 0 Other Error Count: 0 Predictive Failure Count: 0 Last Predictive Failure Event Seq Number: 0 PD Type: SAS Raw Size: 7.277 TB [0x3a3812ab0 Sectors] Non Coerced Size: 7.276 TB [0x3a3712ab0 Sectors] Coerced Size: 7.276 TB [0x3a3710000 Sectors] Sector Size: 512 Logical Sector Size: 512 Physical Sector Size: 4096 Firmware state: Online, Spun Up Commissioned Spare : No Emergency Spare : No Device Firmware Level: E004 Shield Counter: 0 Successful diagnostics completion on : N/A SAS Address(0): 0x5000c500cafe3bd1 SAS Address(1): 0x0 Connected Port Number: 7(path0) Inquiry Data: SEAGATE ST8000NM0075 E004ZA1K4EGL FDE Capable: Not Capable FDE Enable: Disable Secured: Unsecured Locked: Unlocked Needs EKM Attention: No Foreign State: None Device Speed: 12.0Gb/s Link Speed: 12.0Gb/s Media Type: Hard Disk Device Drive: Not Certified Drive Temperature :43C (109.40 F) PI Eligibility: No Drive is formatted for PI information: No PI: No PI Port-0 : Port status: Active Port's Linkspeed: 12.0Gb/s Port-1 : Port status: Active Port's Linkspeed: 12.0Gb/s Drive has flagged a S.M.A.R.T alert : No Exit Code: 0x00 root@lthpc:~# |
转载时请保留出处,违法转载追究到底:进城务工人员小梅 » 某2U服务器硬盘信息