How to check S.M.A.R.T. HDD Status in CoreOSUsing smartd to monitor eSATA hard drive?How can I run a full OS...

Generic TVP tradeoffs?

Fewest number of steps to reach 200 using special calculator

Am I eligible for the Eurail Youth pass? I am 27.5 years old

What is the English word for a graduation award?

Suggestions on how to spend Shaabath (constructively) alone

Should I use acronyms in dialogues before telling the readers what it stands for in fiction?

I seem to dance, I am not a dancer. Who am I?

Can a wizard cast a spell during their first turn of combat if they initiated combat by releasing a readied spell?

Knife as defense against stray dogs

How to generate binary array whose elements with values 1 are randomly drawn

What (if any) is the reason to buy in small local stores?

Comment Box for Substitution Method of Integrals

Do native speakers use "ultima" and "proxima" frequently in spoken English?

Relation between independence and correlation of uniform random variables

How are passwords stolen from companies if they only store hashes?

Synchronized implementation of a bank account in Java

Is there a hypothetical scenario that would make Earth uninhabitable for humans, but not for (the majority of) other animals?

Help prove this basic trig identity please!

Asserting that Atheism and Theism are both faith based positions

Using Past-Perfect interchangeably with the Past Continuous

Deletion of copy-ctor & copy-assignment - public, private or protected?

How does 取材で訪れた integrate into this sentence?

Optimising a list searching algorithm

Should I be concerned about student access to a test bank?



How to check S.M.A.R.T. HDD Status in CoreOS


Using smartd to monitor eSATA hard drive?How can I run a full OS in a Docker container, without specifying a command?How does CoreOS migrate Docker containers, when Docker volumes are in use?Simple dynamic user_data service for cloud-config in CoreOS?Running multiple ubuntu (or other distro) inside Docker containers on CoreOS, is this efficient?CoreOS-vagrant: How to mount /var/lib/docker from hostCoreOS mounting CIFS on rebootMapping multiple URLs via Google Cloud HTTP Load Balancer to Docker containers on CoreOSCoreOS: how to set dependencies for Docker containers in cloud-config?How to configure SSHD on CoreOS after installation?













2















How to check the status of the hard discs (S.M.A.R.T.) in the CoreOS?



smartd and smartctl are not part of the CoreOS.

So following CoreOS philosophy smartd would run inside of the container, as a systemd unit and smartctl would be used from toolbox.



I was not able to access hard drives from the toolbox.










share|improve this question

























  • Isn't the point of the cloud not to have to worry about things like hard disks and SMART status? :) ;)

    – ewwhite
    Nov 30 '15 at 17:23













  • If you host your own private cloud you would want to check the status of the machines that are part of your cluster. Example: you would like to get notification that hard drive has failed or that it is going to fail soon, so it can be replaced.

    – Nemanja Trifunovic
    Nov 30 '15 at 17:28








  • 2





    You pretty much need a privileged container, which is also granted access to the appropriate devices. I don't think the device specials are passed in to the toolbox container.

    – Michael Hampton
    Nov 30 '15 at 17:29


















2















How to check the status of the hard discs (S.M.A.R.T.) in the CoreOS?



smartd and smartctl are not part of the CoreOS.

So following CoreOS philosophy smartd would run inside of the container, as a systemd unit and smartctl would be used from toolbox.



I was not able to access hard drives from the toolbox.










share|improve this question

























  • Isn't the point of the cloud not to have to worry about things like hard disks and SMART status? :) ;)

    – ewwhite
    Nov 30 '15 at 17:23













  • If you host your own private cloud you would want to check the status of the machines that are part of your cluster. Example: you would like to get notification that hard drive has failed or that it is going to fail soon, so it can be replaced.

    – Nemanja Trifunovic
    Nov 30 '15 at 17:28








  • 2





    You pretty much need a privileged container, which is also granted access to the appropriate devices. I don't think the device specials are passed in to the toolbox container.

    – Michael Hampton
    Nov 30 '15 at 17:29
















2












2








2


1






How to check the status of the hard discs (S.M.A.R.T.) in the CoreOS?



smartd and smartctl are not part of the CoreOS.

So following CoreOS philosophy smartd would run inside of the container, as a systemd unit and smartctl would be used from toolbox.



I was not able to access hard drives from the toolbox.










share|improve this question
















How to check the status of the hard discs (S.M.A.R.T.) in the CoreOS?



smartd and smartctl are not part of the CoreOS.

So following CoreOS philosophy smartd would run inside of the container, as a systemd unit and smartctl would be used from toolbox.



I was not able to access hard drives from the toolbox.







docker smart coreos






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 30 '15 at 17:07







Nemanja Trifunovic

















asked Nov 30 '15 at 16:57









Nemanja TrifunovicNemanja Trifunovic

19518




19518













  • Isn't the point of the cloud not to have to worry about things like hard disks and SMART status? :) ;)

    – ewwhite
    Nov 30 '15 at 17:23













  • If you host your own private cloud you would want to check the status of the machines that are part of your cluster. Example: you would like to get notification that hard drive has failed or that it is going to fail soon, so it can be replaced.

    – Nemanja Trifunovic
    Nov 30 '15 at 17:28








  • 2





    You pretty much need a privileged container, which is also granted access to the appropriate devices. I don't think the device specials are passed in to the toolbox container.

    – Michael Hampton
    Nov 30 '15 at 17:29





















  • Isn't the point of the cloud not to have to worry about things like hard disks and SMART status? :) ;)

    – ewwhite
    Nov 30 '15 at 17:23













  • If you host your own private cloud you would want to check the status of the machines that are part of your cluster. Example: you would like to get notification that hard drive has failed or that it is going to fail soon, so it can be replaced.

    – Nemanja Trifunovic
    Nov 30 '15 at 17:28








  • 2





    You pretty much need a privileged container, which is also granted access to the appropriate devices. I don't think the device specials are passed in to the toolbox container.

    – Michael Hampton
    Nov 30 '15 at 17:29



















Isn't the point of the cloud not to have to worry about things like hard disks and SMART status? :) ;)

– ewwhite
Nov 30 '15 at 17:23







Isn't the point of the cloud not to have to worry about things like hard disks and SMART status? :) ;)

– ewwhite
Nov 30 '15 at 17:23















If you host your own private cloud you would want to check the status of the machines that are part of your cluster. Example: you would like to get notification that hard drive has failed or that it is going to fail soon, so it can be replaced.

– Nemanja Trifunovic
Nov 30 '15 at 17:28







If you host your own private cloud you would want to check the status of the machines that are part of your cluster. Example: you would like to get notification that hard drive has failed or that it is going to fail soon, so it can be replaced.

– Nemanja Trifunovic
Nov 30 '15 at 17:28






2




2





You pretty much need a privileged container, which is also granted access to the appropriate devices. I don't think the device specials are passed in to the toolbox container.

– Michael Hampton
Nov 30 '15 at 17:29







You pretty much need a privileged container, which is also granted access to the appropriate devices. I don't think the device specials are passed in to the toolbox container.

– Michael Hampton
Nov 30 '15 at 17:29












1 Answer
1






active

oldest

votes


















3














I found the answer here
https://github.com/coreos/bugs/issues/484#issuecomment-165174597



On CoreOS host



~$ toolbox dnf install -y smartmontools
~$ toolbox --bind=/dev:/dev smartctl --all /dev/sda


You may get "Operation not permitted error", then use bind directly:



~$ toolbox --bind=/dev/sda:/dev/sda smartctl --all /dev/sda





share|improve this answer

























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "2"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f739792%2fhow-to-check-s-m-a-r-t-hdd-status-in-coreos%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    3














    I found the answer here
    https://github.com/coreos/bugs/issues/484#issuecomment-165174597



    On CoreOS host



    ~$ toolbox dnf install -y smartmontools
    ~$ toolbox --bind=/dev:/dev smartctl --all /dev/sda


    You may get "Operation not permitted error", then use bind directly:



    ~$ toolbox --bind=/dev/sda:/dev/sda smartctl --all /dev/sda





    share|improve this answer






























      3














      I found the answer here
      https://github.com/coreos/bugs/issues/484#issuecomment-165174597



      On CoreOS host



      ~$ toolbox dnf install -y smartmontools
      ~$ toolbox --bind=/dev:/dev smartctl --all /dev/sda


      You may get "Operation not permitted error", then use bind directly:



      ~$ toolbox --bind=/dev/sda:/dev/sda smartctl --all /dev/sda





      share|improve this answer




























        3












        3








        3







        I found the answer here
        https://github.com/coreos/bugs/issues/484#issuecomment-165174597



        On CoreOS host



        ~$ toolbox dnf install -y smartmontools
        ~$ toolbox --bind=/dev:/dev smartctl --all /dev/sda


        You may get "Operation not permitted error", then use bind directly:



        ~$ toolbox --bind=/dev/sda:/dev/sda smartctl --all /dev/sda





        share|improve this answer















        I found the answer here
        https://github.com/coreos/bugs/issues/484#issuecomment-165174597



        On CoreOS host



        ~$ toolbox dnf install -y smartmontools
        ~$ toolbox --bind=/dev:/dev smartctl --all /dev/sda


        You may get "Operation not permitted error", then use bind directly:



        ~$ toolbox --bind=/dev/sda:/dev/sda smartctl --all /dev/sda






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 1 min ago









        Croll

        3612




        3612










        answered Dec 16 '15 at 16:45









        Andre' RainhoAndre' Rainho

        464




        464






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Server Fault!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f739792%2fhow-to-check-s-m-a-r-t-hdd-status-in-coreos%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

            Список ссавців Італії Природоохоронні статуси | Список |...

            Українські прізвища Зміст Історичні відомості |...