Giter Club home page Giter Club logo

Comments (8)

jackeichen avatar jackeichen commented on June 17, 2024 1

For SATA HDD&SSD:
Broadcom RAID 9440 and 9560 test pass in JBOD Mode test pass;
Broadcom HBA 9500 test pass.

SAS Disk and More RAID&HBA will be test in future.

from smartie.

TkTech avatar TkTech commented on June 17, 2024

That would be awesome! I simply don't have access to the hardware necessary so I have no way to even begin implementing it.

from smartie.

jackeichen avatar jackeichen commented on June 17, 2024

It's my honour to do some work for this project, and I benifit very much from it.

It may take several weeks to finish these tests. Bellow is my test points, please let me know if you want more:

  1. disks(with HBA or RAID Card) scan in system;
  2. disk(from step1) info check, like model,serial, temperature.
from smartie.device import get_all_devices

for device in get_all_devices():
    print(device.path)
    print(device.model)
    print(device.serial)
    print(device.temperature)

from smartie.

TkTech avatar TkTech commented on June 17, 2024

@jackeichen are you testing these as part of your pydiskcmd work? I should put together a support matrix and see if it can't be shared between the two.

from smartie.

jackeichen avatar jackeichen commented on June 17, 2024

@jackeichen are you testing these as part of your pydiskcmd work? I should put together a support matrix and see if it can't be shared between the two.

Yes, in early time, the same Broadcom RAID card and another PMC RAID card is tested for pydiskcmd. But like smartie, pydiskcmd is a fun side project, too. I didn't test all of the commands with a raid or HBA card. So far, no different behavior among smartmontools, smartie and pydiskcmd in my limited test case.
A potential problem is that I didn't compare the command's structure between smartie and pydiskcmd, Iā€˜m not sure if we can put together a support matrix and shared it between the two. A safer way is to do test in all the two projects (I could help on it). Let me know if you have any other ideas.

Besides, I add more information about the test for smartie in my last comment. SAS Disk should be tested in tomorrow, while more RAID&HBA will be test in the future.

from smartie.

jackeichen avatar jackeichen commented on June 17, 2024

I will add pyscsi cdb-passthru to pydiskcmd, which can pass through a raw CDB request to device. Then I could test all the command structure in smartie. I think this will help to put together a support matrix.

from smartie.

jackeichen avatar jackeichen commented on June 17, 2024

For SATA HDD&SSD: Broadcom RAID 9440 and 9560 test pass in JBOD Mode test pass; Broadcom HBA 9500 test pass.

SAS Disk and More RAID&HBA will be test in future.

Add new support RAID:

  1. ThinkSystem 4350 series;
  2. ThinkSystem 5350 series;

from smartie.

jackeichen avatar jackeichen commented on June 17, 2024

The test will focus on the raw command structures. The key point of compatibility
is the controller driver could transfer the scsi commands and the scsi command is
built in correct format.

Three scsi commands in smartie are included:

  • inquiry(ATA,SAS) 12 00 00 00 60 00
  • identify(ATA) 85 08 2e 00 00 00 00 00 00 00 00 00 00 00 ec 00
  • smart read data(ATA) 85 08 2e 00 d0 00 00 00 00 00 4f 00 c2 00 b0 00

The command will be sent with
# pyscsi cdb-passthru XX XX XX XX XX XX ...

Plz tell me if it is enough, or I will close this issue.

from smartie.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.