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

Multi tool use
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
add a comment |
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
add a comment |
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
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
mount filesystem disk
edited Jan 4 at 10:31
terdon♦
65.3k12138219
65.3k12138219
asked Jan 4 at 10:29
FiddlestiquesFiddlestiques
184
184
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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.
Thanks, that does make sense.
– Fiddlestiques
Jan 4 at 10:40
I was curious whether the order of themount
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
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
Thanks, that does make sense.
– Fiddlestiques
Jan 4 at 10:40
I was curious whether the order of themount
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
add a comment |
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.
Thanks, that does make sense.
– Fiddlestiques
Jan 4 at 10:40
I was curious whether the order of themount
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
add a comment |
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.
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.
answered Jan 4 at 10:33
terdon♦terdon
65.3k12138219
65.3k12138219
Thanks, that does make sense.
– Fiddlestiques
Jan 4 at 10:40
I was curious whether the order of themount
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
add a comment |
Thanks, that does make sense.
– Fiddlestiques
Jan 4 at 10:40
I was curious whether the order of themount
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
WcJoemGu9L,reIk,V5m18BL,sZvf1UIM U1qFwWNQNqj,pXtpOwPPPPh11AAVx4g4tg5zM1,MNDqAtB2wm theXTjHZUw8sU