Output of df contradicts output of du? Announcing the arrival of Valued Associate #679: Cesar...

Most bit efficient text communication method?

Significance of Cersei's obsession with elephants?

Is there any way for the UK Prime Minister to make a motion directly dependent on Government confidence?

What is homebrew?

8 Prisoners wearing hats

Can anything be seen from the center of the Boötes void? How dark would it be?

How to convince students of the implication truth values?

Using et al. for a last / senior author rather than for a first author

What does "lightly crushed" mean for cardamon pods?

Is grep documentation wrong?

Old style "caution" boxes

Trademark violation for app?

Chinese Seal on silk painting - what does it mean?

Using audio cues to encourage good posture

Generate an RGB colour grid

What do you call the main part of a joke?

Around usage results

For a new assistant professor in CS, how to build/manage a publication pipeline

Why didn't Eitri join the fight?

What is the meaning of the simile “quick as silk”?

How to compare two different files line by line in unix?

Is it ethical to give a final exam after the professor has quit before teaching the remaining chapters of the course?

What is the meaning of the new sigil in Game of Thrones Season 8 intro?

Do I really need to have a message in a novel to appeal to readers?



Output of df contradicts output of du?



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Community Moderator Election Results
Why I closed the “Why is Kali so hard” questionSSH output isn't line buffered?Pipe the output of a command to rm commandGet current outputWhat “i” and “v” indicates in the zypper output?Output RedirectionHow to redirect output from file to stdout?ssh throws bad host name and no outputssh-keyscan has no outputssh-keyscan returns empty output, when executed several timesssh authentication output meaning: type 1





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















When I run the df -h command while SSH'd into my SUSE Linux box I get the following output:



enter image description here



/dev/sdt1, with a capacity of 512G, is mounted on /usr/sap



However, if I cd to usr/sap/<HANA server ID>/HDB00/backup and run du -h --max-depth=1 | sort -hr I get:
enter image description here



Which indicates I have 2.0 TB of data at this location. How can /usr/sap have a capacity of 512G while usr/sap/<HANA server ID>/HDB00/backup is storing 2.0 TB of data? Note that /dev/md125 from the first screenshot has a capacity of 2.0 TB and is completely filled, so I suspect that it is somehow involved here.










share|improve this question





























    0















    When I run the df -h command while SSH'd into my SUSE Linux box I get the following output:



    enter image description here



    /dev/sdt1, with a capacity of 512G, is mounted on /usr/sap



    However, if I cd to usr/sap/<HANA server ID>/HDB00/backup and run du -h --max-depth=1 | sort -hr I get:
    enter image description here



    Which indicates I have 2.0 TB of data at this location. How can /usr/sap have a capacity of 512G while usr/sap/<HANA server ID>/HDB00/backup is storing 2.0 TB of data? Note that /dev/md125 from the first screenshot has a capacity of 2.0 TB and is completely filled, so I suspect that it is somehow involved here.










    share|improve this question

























      0












      0








      0








      When I run the df -h command while SSH'd into my SUSE Linux box I get the following output:



      enter image description here



      /dev/sdt1, with a capacity of 512G, is mounted on /usr/sap



      However, if I cd to usr/sap/<HANA server ID>/HDB00/backup and run du -h --max-depth=1 | sort -hr I get:
      enter image description here



      Which indicates I have 2.0 TB of data at this location. How can /usr/sap have a capacity of 512G while usr/sap/<HANA server ID>/HDB00/backup is storing 2.0 TB of data? Note that /dev/md125 from the first screenshot has a capacity of 2.0 TB and is completely filled, so I suspect that it is somehow involved here.










      share|improve this question














      When I run the df -h command while SSH'd into my SUSE Linux box I get the following output:



      enter image description here



      /dev/sdt1, with a capacity of 512G, is mounted on /usr/sap



      However, if I cd to usr/sap/<HANA server ID>/HDB00/backup and run du -h --max-depth=1 | sort -hr I get:
      enter image description here



      Which indicates I have 2.0 TB of data at this location. How can /usr/sap have a capacity of 512G while usr/sap/<HANA server ID>/HDB00/backup is storing 2.0 TB of data? Note that /dev/md125 from the first screenshot has a capacity of 2.0 TB and is completely filled, so I suspect that it is somehow involved here.







      ssh command-line suse






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 7 hours ago









      AdamAdam

      1011




      1011






















          1 Answer
          1






          active

          oldest

          votes


















          0














          I suspect that your /dev/md125 is mounted either at usr/sap/<HANA server ID>/HDB00/backup or somewhere within that folder. If you would like to find out for sure you can run



          findmnt /dev/md125


          Under TARGET you will likely see a directory withing the usr/sap/<HANA server ID>/HDB00/backup folder.



          Otherwise it's also possible that the md device is mounted elsewhere and there is a symlink to it withing the backup directory but this seems unlikely to me because du is set to not dereference symlinks by default. To confirm you could run du -P which will not follow any symlinks (but again this should be the default behavior on most systems)






          share|improve this answer








          New contributor




          Dude Random21 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.





















            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',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            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%2funix.stackexchange.com%2fquestions%2f513096%2foutput-of-df-contradicts-output-of-du%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









            0














            I suspect that your /dev/md125 is mounted either at usr/sap/<HANA server ID>/HDB00/backup or somewhere within that folder. If you would like to find out for sure you can run



            findmnt /dev/md125


            Under TARGET you will likely see a directory withing the usr/sap/<HANA server ID>/HDB00/backup folder.



            Otherwise it's also possible that the md device is mounted elsewhere and there is a symlink to it withing the backup directory but this seems unlikely to me because du is set to not dereference symlinks by default. To confirm you could run du -P which will not follow any symlinks (but again this should be the default behavior on most systems)






            share|improve this answer








            New contributor




            Dude Random21 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.

























              0














              I suspect that your /dev/md125 is mounted either at usr/sap/<HANA server ID>/HDB00/backup or somewhere within that folder. If you would like to find out for sure you can run



              findmnt /dev/md125


              Under TARGET you will likely see a directory withing the usr/sap/<HANA server ID>/HDB00/backup folder.



              Otherwise it's also possible that the md device is mounted elsewhere and there is a symlink to it withing the backup directory but this seems unlikely to me because du is set to not dereference symlinks by default. To confirm you could run du -P which will not follow any symlinks (but again this should be the default behavior on most systems)






              share|improve this answer








              New contributor




              Dude Random21 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.























                0












                0








                0







                I suspect that your /dev/md125 is mounted either at usr/sap/<HANA server ID>/HDB00/backup or somewhere within that folder. If you would like to find out for sure you can run



                findmnt /dev/md125


                Under TARGET you will likely see a directory withing the usr/sap/<HANA server ID>/HDB00/backup folder.



                Otherwise it's also possible that the md device is mounted elsewhere and there is a symlink to it withing the backup directory but this seems unlikely to me because du is set to not dereference symlinks by default. To confirm you could run du -P which will not follow any symlinks (but again this should be the default behavior on most systems)






                share|improve this answer








                New contributor




                Dude Random21 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.










                I suspect that your /dev/md125 is mounted either at usr/sap/<HANA server ID>/HDB00/backup or somewhere within that folder. If you would like to find out for sure you can run



                findmnt /dev/md125


                Under TARGET you will likely see a directory withing the usr/sap/<HANA server ID>/HDB00/backup folder.



                Otherwise it's also possible that the md device is mounted elsewhere and there is a symlink to it withing the backup directory but this seems unlikely to me because du is set to not dereference symlinks by default. To confirm you could run du -P which will not follow any symlinks (but again this should be the default behavior on most systems)







                share|improve this answer








                New contributor




                Dude Random21 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                share|improve this answer



                share|improve this answer






                New contributor




                Dude Random21 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                answered 6 hours ago









                Dude Random21Dude Random21

                1




                1




                New contributor




                Dude Random21 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.





                New contributor





                Dude Random21 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






                Dude Random21 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                    • 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%2funix.stackexchange.com%2fquestions%2f513096%2foutput-of-df-contradicts-output-of-du%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

                    Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

                    Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

                    Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...