USB HDD mounted to a folder in the home drive is not shown as available space on Windows using SMB












0















I have a 2TB drive on my machine mounted as /home/Louis/Downloads and that works fine:



NAME        MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda 8:0 0 1,8T 0 disk
└─sda1 8:1 0 1,8T 0 part /home/Louis/Downloads
mmcblk0 179:0 0 100G 0 disk
├─mmcblk0p1 179:1 0 100M 0 part /boot
└─mmcblk0p2 179:2 0 100G 0 part /


I have a SMB config sharing /home/Louis/ over the network and I can access it from Windows just fine, the problem is that the reported size in Windows is just 100GB (The size of my /home partition) and not 2,1 TB of the whole /home folder.



Here's the smb.conf:



[Home]
comment = Home Folder
read only = no
locking = no
path = "/home/Louis"
guest ok = no
browsable = yes
valid users = pine
create mode = 0644
directory mode = 0755
create mask = 0644
force create mask = 0644
directory mask = 0755
force group = pine
force user = pine
public = no
writeable = yes


If I directly mount /home/Louis/Downloads in Windows, I get access to the whole 2TB, but I can't get to the rest of my /home/Louis stuff without using 2 letters in Windows, and I'd like to use just 1.










share|improve this question























  • I don't know the easiest way to say it, but that is not how a Samba mount works. Just linking or mounting a drive within the folder does not automatically make more size available to the drive. If that were the case then your 100GB / mount would then be 1.9T in size. Windows following through is going to see the exact same thing. Are you having a problem accessing the /home/Louis/Downloads folder from the first drive mount?

    – Terrance
    1 hour ago


















0















I have a 2TB drive on my machine mounted as /home/Louis/Downloads and that works fine:



NAME        MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda 8:0 0 1,8T 0 disk
└─sda1 8:1 0 1,8T 0 part /home/Louis/Downloads
mmcblk0 179:0 0 100G 0 disk
├─mmcblk0p1 179:1 0 100M 0 part /boot
└─mmcblk0p2 179:2 0 100G 0 part /


I have a SMB config sharing /home/Louis/ over the network and I can access it from Windows just fine, the problem is that the reported size in Windows is just 100GB (The size of my /home partition) and not 2,1 TB of the whole /home folder.



Here's the smb.conf:



[Home]
comment = Home Folder
read only = no
locking = no
path = "/home/Louis"
guest ok = no
browsable = yes
valid users = pine
create mode = 0644
directory mode = 0755
create mask = 0644
force create mask = 0644
directory mask = 0755
force group = pine
force user = pine
public = no
writeable = yes


If I directly mount /home/Louis/Downloads in Windows, I get access to the whole 2TB, but I can't get to the rest of my /home/Louis stuff without using 2 letters in Windows, and I'd like to use just 1.










share|improve this question























  • I don't know the easiest way to say it, but that is not how a Samba mount works. Just linking or mounting a drive within the folder does not automatically make more size available to the drive. If that were the case then your 100GB / mount would then be 1.9T in size. Windows following through is going to see the exact same thing. Are you having a problem accessing the /home/Louis/Downloads folder from the first drive mount?

    – Terrance
    1 hour ago
















0












0








0








I have a 2TB drive on my machine mounted as /home/Louis/Downloads and that works fine:



NAME        MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda 8:0 0 1,8T 0 disk
└─sda1 8:1 0 1,8T 0 part /home/Louis/Downloads
mmcblk0 179:0 0 100G 0 disk
├─mmcblk0p1 179:1 0 100M 0 part /boot
└─mmcblk0p2 179:2 0 100G 0 part /


I have a SMB config sharing /home/Louis/ over the network and I can access it from Windows just fine, the problem is that the reported size in Windows is just 100GB (The size of my /home partition) and not 2,1 TB of the whole /home folder.



Here's the smb.conf:



[Home]
comment = Home Folder
read only = no
locking = no
path = "/home/Louis"
guest ok = no
browsable = yes
valid users = pine
create mode = 0644
directory mode = 0755
create mask = 0644
force create mask = 0644
directory mask = 0755
force group = pine
force user = pine
public = no
writeable = yes


If I directly mount /home/Louis/Downloads in Windows, I get access to the whole 2TB, but I can't get to the rest of my /home/Louis stuff without using 2 letters in Windows, and I'd like to use just 1.










share|improve this question














I have a 2TB drive on my machine mounted as /home/Louis/Downloads and that works fine:



NAME        MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda 8:0 0 1,8T 0 disk
└─sda1 8:1 0 1,8T 0 part /home/Louis/Downloads
mmcblk0 179:0 0 100G 0 disk
├─mmcblk0p1 179:1 0 100M 0 part /boot
└─mmcblk0p2 179:2 0 100G 0 part /


I have a SMB config sharing /home/Louis/ over the network and I can access it from Windows just fine, the problem is that the reported size in Windows is just 100GB (The size of my /home partition) and not 2,1 TB of the whole /home folder.



Here's the smb.conf:



[Home]
comment = Home Folder
read only = no
locking = no
path = "/home/Louis"
guest ok = no
browsable = yes
valid users = pine
create mode = 0644
directory mode = 0755
create mask = 0644
force create mask = 0644
directory mask = 0755
force group = pine
force user = pine
public = no
writeable = yes


If I directly mount /home/Louis/Downloads in Windows, I get access to the whole 2TB, but I can't get to the rest of my /home/Louis stuff without using 2 letters in Windows, and I'd like to use just 1.







mount samba






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 2 hours ago









DesesDeses

1263




1263













  • I don't know the easiest way to say it, but that is not how a Samba mount works. Just linking or mounting a drive within the folder does not automatically make more size available to the drive. If that were the case then your 100GB / mount would then be 1.9T in size. Windows following through is going to see the exact same thing. Are you having a problem accessing the /home/Louis/Downloads folder from the first drive mount?

    – Terrance
    1 hour ago





















  • I don't know the easiest way to say it, but that is not how a Samba mount works. Just linking or mounting a drive within the folder does not automatically make more size available to the drive. If that were the case then your 100GB / mount would then be 1.9T in size. Windows following through is going to see the exact same thing. Are you having a problem accessing the /home/Louis/Downloads folder from the first drive mount?

    – Terrance
    1 hour ago



















I don't know the easiest way to say it, but that is not how a Samba mount works. Just linking or mounting a drive within the folder does not automatically make more size available to the drive. If that were the case then your 100GB / mount would then be 1.9T in size. Windows following through is going to see the exact same thing. Are you having a problem accessing the /home/Louis/Downloads folder from the first drive mount?

– Terrance
1 hour ago







I don't know the easiest way to say it, but that is not how a Samba mount works. Just linking or mounting a drive within the folder does not automatically make more size available to the drive. If that were the case then your 100GB / mount would then be 1.9T in size. Windows following through is going to see the exact same thing. Are you having a problem accessing the /home/Louis/Downloads folder from the first drive mount?

– Terrance
1 hour ago












0






active

oldest

votes











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%2f1124648%2fusb-hdd-mounted-to-a-folder-in-the-home-drive-is-not-shown-as-available-space-on%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















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%2f1124648%2fusb-hdd-mounted-to-a-folder-in-the-home-drive-is-not-shown-as-available-space-on%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

GameSpot

日野市

Tu-95轟炸機