Code Monkey home page Code Monkey logo

Comments (9)

swiftgist avatar swiftgist commented on May 23, 2024

Is this mainly for those doing pass through? That is, the drives are not in a RAID configuration, these drives are simply connected to a RAID controller.

If somebody is actually using RAID 3 or RAID 5, what is the "right" answer? Suggest that the "device" be an OSD? That seems wrong. If it's RAID 0, then it's probably fine if not down right confusing to use both RAID and Ceph for redundancy. Any thoughts?

from deepsea.

jschmid1 avatar jschmid1 commented on May 23, 2024

Is this mainly for those doing pass through? That is, the drives are not in a RAID configuration, these drives are simply connected to a RAID controller.

I'm pretty sure that's the case here.

If somebody is actually using RAID 3 or RAID 5, what is the "right" answer? Suggest that the "device" be an OSD? That seems wrong.

Mh, in that case they surely don't want it to be treated as a regular OSD..

If it's RAID 0, then it's probably fine if not down right confusing to use both RAID and Ceph for redundancy. Any thoughts?

IIRC one reason to use RAID-1 arised from a need for reliability in latency/recovery time... Never heard the usecase of RAID-0 in ceph though -

Manual intervention might be needed here.

from deepsea.

jschmid1 avatar jschmid1 commented on May 23, 2024

++ If we solely rely on SMART's output we could also include checks for potential disk issues.

++ speed ( hwinfo: real 0m2.044s vs smartctl real 0m0.445s)

from deepsea.

smithfarm avatar smithfarm commented on May 23, 2024

@jschmid1 See https://fate.suse.com/321053

from deepsea.

jschmid1 avatar jschmid1 commented on May 23, 2024

thanks for the pointer @smithfarm

we might still want to consider doing a initial(before initial deployment) health check.
The regular checks should definitely go(stay) into ceph-mgr.

from deepsea.

jschmid1 avatar jschmid1 commented on May 23, 2024

++ adds portability as hwinfo is not available on other distros.

from deepsea.

jschmid1 avatar jschmid1 commented on May 23, 2024

fixed in #73

from deepsea.

BlaineEXE avatar BlaineEXE commented on May 23, 2024

I realize this request has already been merged and closed, but I have something we might consider here. libstoragemgmt (https://github.com/libstorage/libstoragemgmt) could be used here as a generic disk detection subsystem; the code overhead might be much smaller, and our testing requirements would be reduced since it's already tested.

Edit: I looked through the code and tests more fully, and it seems hwinfo, lshw, and smartctl provide the data. At first glance, I thought megacli, etc. might have been used. I'm not sure libstoragemgmt would be totally applicable here, but it is a good thing to be aware of. My team at HPE has pushed a lot of changes into it to make sure it works on ProLiant.

from deepsea.

swiftgist avatar swiftgist commented on May 23, 2024

I cannot recall the exact post, but when I was deciding what to use for hwinfo, something I read discouraged me from using libstoragemgmt. I am all for not reinventing wheels and if this does meet the requirements, then I am fine with migrating to it. However, I will prefer custom code over workarounds for anything lacking in a library. Generally, there's less to debug.

from deepsea.

Related Issues (20)

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.