Best practice when mounting a new disk within an existing mount?












2















I have a 6 year old media PC, which also happens to be the home fileserver. It has a 2TB hard drive mounted under /home



Under /home there are 9 different main folders, but one of them (the mythtv recordings and videos) is taking up roughly half of the capacity and running me out of space.



I want to increase my disk capacity, but not sure whether to replace the disk with a 4tb one, or add a second 2tb disk to the filesystem at /home/mythtv and migrating the existing data there. Bearing in mind that /home is already a mount point in fstab, would this be bad practice?



Essentially the question is - should you mount within a mount point and, if not, what better options are available?










share|improve this question





























    2















    I have a 6 year old media PC, which also happens to be the home fileserver. It has a 2TB hard drive mounted under /home



    Under /home there are 9 different main folders, but one of them (the mythtv recordings and videos) is taking up roughly half of the capacity and running me out of space.



    I want to increase my disk capacity, but not sure whether to replace the disk with a 4tb one, or add a second 2tb disk to the filesystem at /home/mythtv and migrating the existing data there. Bearing in mind that /home is already a mount point in fstab, would this be bad practice?



    Essentially the question is - should you mount within a mount point and, if not, what better options are available?










    share|improve this question



























      2












      2








      2








      I have a 6 year old media PC, which also happens to be the home fileserver. It has a 2TB hard drive mounted under /home



      Under /home there are 9 different main folders, but one of them (the mythtv recordings and videos) is taking up roughly half of the capacity and running me out of space.



      I want to increase my disk capacity, but not sure whether to replace the disk with a 4tb one, or add a second 2tb disk to the filesystem at /home/mythtv and migrating the existing data there. Bearing in mind that /home is already a mount point in fstab, would this be bad practice?



      Essentially the question is - should you mount within a mount point and, if not, what better options are available?










      share|improve this question
















      I have a 6 year old media PC, which also happens to be the home fileserver. It has a 2TB hard drive mounted under /home



      Under /home there are 9 different main folders, but one of them (the mythtv recordings and videos) is taking up roughly half of the capacity and running me out of space.



      I want to increase my disk capacity, but not sure whether to replace the disk with a 4tb one, or add a second 2tb disk to the filesystem at /home/mythtv and migrating the existing data there. Bearing in mind that /home is already a mount point in fstab, would this be bad practice?



      Essentially the question is - should you mount within a mount point and, if not, what better options are available?







      mount filesystem disk






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 4 at 10:31









      terdon

      65.3k12138219




      65.3k12138219










      asked Jan 4 at 10:29









      FiddlestiquesFiddlestiques

      184




      184






















          1 Answer
          1






          active

          oldest

          votes


















          3














          By definition, every mountpoint except / is within another mountpoint. Your /home, for example, is a mountpoint in another mountpoint. There's nothing special about that whatsoever. This is safe, common and standard. So just create your mountpoint and add the new filesystem there.



          First, move the current contents of /home/mythtv somewhere else, then mount the new drive to the now empty /home/mythtv directory and then move the data over.






          share|improve this answer
























          • Thanks, that does make sense.

            – Fiddlestiques
            Jan 4 at 10:40











          • I was curious whether the order of the mount command matters in this case and asked a follow-up question.

            – PerlDuck
            Jan 4 at 11:09








          • 1





            @PerlDuck it does. Things are mounted sequentially.

            – terdon
            Jan 4 at 11:21











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          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%2faskubuntu.com%2fquestions%2f1106867%2fbest-practice-when-mounting-a-new-disk-within-an-existing-mount%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














          By definition, every mountpoint except / is within another mountpoint. Your /home, for example, is a mountpoint in another mountpoint. There's nothing special about that whatsoever. This is safe, common and standard. So just create your mountpoint and add the new filesystem there.



          First, move the current contents of /home/mythtv somewhere else, then mount the new drive to the now empty /home/mythtv directory and then move the data over.






          share|improve this answer
























          • Thanks, that does make sense.

            – Fiddlestiques
            Jan 4 at 10:40











          • I was curious whether the order of the mount command matters in this case and asked a follow-up question.

            – PerlDuck
            Jan 4 at 11:09








          • 1





            @PerlDuck it does. Things are mounted sequentially.

            – terdon
            Jan 4 at 11:21
















          3














          By definition, every mountpoint except / is within another mountpoint. Your /home, for example, is a mountpoint in another mountpoint. There's nothing special about that whatsoever. This is safe, common and standard. So just create your mountpoint and add the new filesystem there.



          First, move the current contents of /home/mythtv somewhere else, then mount the new drive to the now empty /home/mythtv directory and then move the data over.






          share|improve this answer
























          • Thanks, that does make sense.

            – Fiddlestiques
            Jan 4 at 10:40











          • I was curious whether the order of the mount command matters in this case and asked a follow-up question.

            – PerlDuck
            Jan 4 at 11:09








          • 1





            @PerlDuck it does. Things are mounted sequentially.

            – terdon
            Jan 4 at 11:21














          3












          3








          3







          By definition, every mountpoint except / is within another mountpoint. Your /home, for example, is a mountpoint in another mountpoint. There's nothing special about that whatsoever. This is safe, common and standard. So just create your mountpoint and add the new filesystem there.



          First, move the current contents of /home/mythtv somewhere else, then mount the new drive to the now empty /home/mythtv directory and then move the data over.






          share|improve this answer













          By definition, every mountpoint except / is within another mountpoint. Your /home, for example, is a mountpoint in another mountpoint. There's nothing special about that whatsoever. This is safe, common and standard. So just create your mountpoint and add the new filesystem there.



          First, move the current contents of /home/mythtv somewhere else, then mount the new drive to the now empty /home/mythtv directory and then move the data over.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 4 at 10:33









          terdonterdon

          65.3k12138219




          65.3k12138219













          • Thanks, that does make sense.

            – Fiddlestiques
            Jan 4 at 10:40











          • I was curious whether the order of the mount command matters in this case and asked a follow-up question.

            – PerlDuck
            Jan 4 at 11:09








          • 1





            @PerlDuck it does. Things are mounted sequentially.

            – terdon
            Jan 4 at 11:21



















          • Thanks, that does make sense.

            – Fiddlestiques
            Jan 4 at 10:40











          • I was curious whether the order of the mount command matters in this case and asked a follow-up question.

            – PerlDuck
            Jan 4 at 11:09








          • 1





            @PerlDuck it does. Things are mounted sequentially.

            – terdon
            Jan 4 at 11:21

















          Thanks, that does make sense.

          – Fiddlestiques
          Jan 4 at 10:40





          Thanks, that does make sense.

          – Fiddlestiques
          Jan 4 at 10:40













          I was curious whether the order of the mount command matters in this case and asked a follow-up question.

          – PerlDuck
          Jan 4 at 11:09







          I was curious whether the order of the mount command matters in this case and asked a follow-up question.

          – PerlDuck
          Jan 4 at 11:09






          1




          1





          @PerlDuck it does. Things are mounted sequentially.

          – terdon
          Jan 4 at 11:21





          @PerlDuck it does. Things are mounted sequentially.

          – terdon
          Jan 4 at 11:21


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Ask Ubuntu!


          • 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%2faskubuntu.com%2fquestions%2f1106867%2fbest-practice-when-mounting-a-new-disk-within-an-existing-mount%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

          flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

          Mangá

           ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕