DRBD no output of cat /proc/drbd

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












I sync my new disk, output of drbdtop:



Resource: myres: (Overall danger score: 14)
Local Disc(Primary):
volume 0 (/dev/drbd0): UpToDate(normal disk state)
volume 1 (/dev/drbd1): UpToDate(normal disk state)
volume 2 (/dev/drbd2): Inconsistent(data is not accessible or usable until resync is complete)

Connection to zfs.user.osdc2(Secondary): Connected(connected to zfs.user.osdc2)
volume 0:
UpToDate(normal disk state)
volume 1:
UpToDate(normal disk state)
volume 2:
Replication:SyncTarget(local volume is being synchronized with data from zfs.user.osdc2) 95.6% remaining UpToDate(normal disk state)


But there is no output in cat /proc/drbd about my resource. Only:



version: 9.0.9-1 (api:2/proto:86-112)
GIT-hash: f7b979e7af01813e031aac579140237640c94569 build by mockbuild@, 2017-09-14 17:45:45
Transports (api:16): tcp (9.0.9-1)


Why there is no output? How should I resolve this issue?







share|improve this question























    up vote
    1
    down vote

    favorite












    I sync my new disk, output of drbdtop:



    Resource: myres: (Overall danger score: 14)
    Local Disc(Primary):
    volume 0 (/dev/drbd0): UpToDate(normal disk state)
    volume 1 (/dev/drbd1): UpToDate(normal disk state)
    volume 2 (/dev/drbd2): Inconsistent(data is not accessible or usable until resync is complete)

    Connection to zfs.user.osdc2(Secondary): Connected(connected to zfs.user.osdc2)
    volume 0:
    UpToDate(normal disk state)
    volume 1:
    UpToDate(normal disk state)
    volume 2:
    Replication:SyncTarget(local volume is being synchronized with data from zfs.user.osdc2) 95.6% remaining UpToDate(normal disk state)


    But there is no output in cat /proc/drbd about my resource. Only:



    version: 9.0.9-1 (api:2/proto:86-112)
    GIT-hash: f7b979e7af01813e031aac579140237640c94569 build by mockbuild@, 2017-09-14 17:45:45
    Transports (api:16): tcp (9.0.9-1)


    Why there is no output? How should I resolve this issue?







    share|improve this question





















      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I sync my new disk, output of drbdtop:



      Resource: myres: (Overall danger score: 14)
      Local Disc(Primary):
      volume 0 (/dev/drbd0): UpToDate(normal disk state)
      volume 1 (/dev/drbd1): UpToDate(normal disk state)
      volume 2 (/dev/drbd2): Inconsistent(data is not accessible or usable until resync is complete)

      Connection to zfs.user.osdc2(Secondary): Connected(connected to zfs.user.osdc2)
      volume 0:
      UpToDate(normal disk state)
      volume 1:
      UpToDate(normal disk state)
      volume 2:
      Replication:SyncTarget(local volume is being synchronized with data from zfs.user.osdc2) 95.6% remaining UpToDate(normal disk state)


      But there is no output in cat /proc/drbd about my resource. Only:



      version: 9.0.9-1 (api:2/proto:86-112)
      GIT-hash: f7b979e7af01813e031aac579140237640c94569 build by mockbuild@, 2017-09-14 17:45:45
      Transports (api:16): tcp (9.0.9-1)


      Why there is no output? How should I resolve this issue?







      share|improve this question











      I sync my new disk, output of drbdtop:



      Resource: myres: (Overall danger score: 14)
      Local Disc(Primary):
      volume 0 (/dev/drbd0): UpToDate(normal disk state)
      volume 1 (/dev/drbd1): UpToDate(normal disk state)
      volume 2 (/dev/drbd2): Inconsistent(data is not accessible or usable until resync is complete)

      Connection to zfs.user.osdc2(Secondary): Connected(connected to zfs.user.osdc2)
      volume 0:
      UpToDate(normal disk state)
      volume 1:
      UpToDate(normal disk state)
      volume 2:
      Replication:SyncTarget(local volume is being synchronized with data from zfs.user.osdc2) 95.6% remaining UpToDate(normal disk state)


      But there is no output in cat /proc/drbd about my resource. Only:



      version: 9.0.9-1 (api:2/proto:86-112)
      GIT-hash: f7b979e7af01813e031aac579140237640c94569 build by mockbuild@, 2017-09-14 17:45:45
      Transports (api:16): tcp (9.0.9-1)


      Why there is no output? How should I resolve this issue?









      share|improve this question










      share|improve this question




      share|improve this question









      asked May 2 at 12:35









      dorinand

      313213




      313213




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          7
          down vote



          accepted










          The /proc/drbd file has been dropped in the DRBD 9.x releases. You should instead use drbdadm status to get the current state of the DRBD resources.



          If you really insist on the old /proc/drbd output you can find this within the sysfs now. Note that this is per connection only. It is located at:



          /sys/kernel/debug/drbd/resources/$resource_name/connections/$hostname/0/proc_drbd





          share|improve this answer





















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "106"
            ;
            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',
            convertImagesToLinks: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );








             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f441313%2fdrbd-no-output-of-cat-proc-drbd%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            7
            down vote



            accepted










            The /proc/drbd file has been dropped in the DRBD 9.x releases. You should instead use drbdadm status to get the current state of the DRBD resources.



            If you really insist on the old /proc/drbd output you can find this within the sysfs now. Note that this is per connection only. It is located at:



            /sys/kernel/debug/drbd/resources/$resource_name/connections/$hostname/0/proc_drbd





            share|improve this answer

























              up vote
              7
              down vote



              accepted










              The /proc/drbd file has been dropped in the DRBD 9.x releases. You should instead use drbdadm status to get the current state of the DRBD resources.



              If you really insist on the old /proc/drbd output you can find this within the sysfs now. Note that this is per connection only. It is located at:



              /sys/kernel/debug/drbd/resources/$resource_name/connections/$hostname/0/proc_drbd





              share|improve this answer























                up vote
                7
                down vote



                accepted







                up vote
                7
                down vote



                accepted






                The /proc/drbd file has been dropped in the DRBD 9.x releases. You should instead use drbdadm status to get the current state of the DRBD resources.



                If you really insist on the old /proc/drbd output you can find this within the sysfs now. Note that this is per connection only. It is located at:



                /sys/kernel/debug/drbd/resources/$resource_name/connections/$hostname/0/proc_drbd





                share|improve this answer













                The /proc/drbd file has been dropped in the DRBD 9.x releases. You should instead use drbdadm status to get the current state of the DRBD resources.



                If you really insist on the old /proc/drbd output you can find this within the sysfs now. Note that this is per connection only. It is located at:



                /sys/kernel/debug/drbd/resources/$resource_name/connections/$hostname/0/proc_drbd






                share|improve this answer













                share|improve this answer



                share|improve this answer











                answered May 2 at 15:29









                Dok

                31616




                31616






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f441313%2fdrbd-no-output-of-cat-proc-drbd%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    How to check contact read email or not when send email to Individual?

                    Displaying single band from multi-band raster using QGIS

                    How many registers does an x86_64 CPU actually have?