mount --bind failed “No Space Left on Device”











up vote
0
down vote

favorite












I'm creating a FTP server for a school and I'm using the mount --bind command to link directories on a disk to student directories.



But I've about 250000-300000 directories at the end and, after few mounts, it brokes with the "No Space Left on Device" error message...



result of df command:



$ df
Sys. de fichiers blocs de 1K Utilisé Disponible Uti% Monté sur
udev 6079776 0 6079776 0% /dev
tmpfs 1218184 8940 1209244 1% /run
/dev/sdb1 475841504 2140656 449459696 1% /
tmpfs 6090912 0 6090912 0% /dev/shm
tmpfs 5120 0 5120 0% /run/lock
tmpfs 6090912 0 6090912 0% /sys/fs/cgroup
/dev/sda1 3844640564 542188 3648731116 1% /var/ftp
tmpfs 1218180 0 1218180 0% /run/user/1000


result of df -i command:



$ df -i
Sys. de fichiers Inœuds IUtil. ILibre IUti% Monté sur
udev 1519944 415 1519529 1% /dev
tmpfs 1522728 550 1522178 1% /run
/dev/sdb1 30285824 124200 30161624 1% /
tmpfs 1522728 1 1522727 1% /dev/shm
tmpfs 1522728 2 1522726 1% /run/lock
tmpfs 1522728 15 1522713 1% /sys/fs/cgroup
/dev/sda1 244195328 113026 244082302 1% /var/ftp
tmpfs 1522728 11 1522717 1% /run/user/1000


So, there is a maximum number of mount --bind possible on a filesystem or whatever ?










share|improve this question







New contributor




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




















  • Have you run out of inodes in your usage of "30,000" directories? find where inodes are being used
    – number9
    Nov 21 at 2:37










  • Hi, thank's for reply, but I think i'm not out of inodes like showing by result of df -i command in my question. Or I'm not understand the results ?
    – ecavard
    Nov 21 at 18:13















up vote
0
down vote

favorite












I'm creating a FTP server for a school and I'm using the mount --bind command to link directories on a disk to student directories.



But I've about 250000-300000 directories at the end and, after few mounts, it brokes with the "No Space Left on Device" error message...



result of df command:



$ df
Sys. de fichiers blocs de 1K Utilisé Disponible Uti% Monté sur
udev 6079776 0 6079776 0% /dev
tmpfs 1218184 8940 1209244 1% /run
/dev/sdb1 475841504 2140656 449459696 1% /
tmpfs 6090912 0 6090912 0% /dev/shm
tmpfs 5120 0 5120 0% /run/lock
tmpfs 6090912 0 6090912 0% /sys/fs/cgroup
/dev/sda1 3844640564 542188 3648731116 1% /var/ftp
tmpfs 1218180 0 1218180 0% /run/user/1000


result of df -i command:



$ df -i
Sys. de fichiers Inœuds IUtil. ILibre IUti% Monté sur
udev 1519944 415 1519529 1% /dev
tmpfs 1522728 550 1522178 1% /run
/dev/sdb1 30285824 124200 30161624 1% /
tmpfs 1522728 1 1522727 1% /dev/shm
tmpfs 1522728 2 1522726 1% /run/lock
tmpfs 1522728 15 1522713 1% /sys/fs/cgroup
/dev/sda1 244195328 113026 244082302 1% /var/ftp
tmpfs 1522728 11 1522717 1% /run/user/1000


So, there is a maximum number of mount --bind possible on a filesystem or whatever ?










share|improve this question







New contributor




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




















  • Have you run out of inodes in your usage of "30,000" directories? find where inodes are being used
    – number9
    Nov 21 at 2:37










  • Hi, thank's for reply, but I think i'm not out of inodes like showing by result of df -i command in my question. Or I'm not understand the results ?
    – ecavard
    Nov 21 at 18:13













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I'm creating a FTP server for a school and I'm using the mount --bind command to link directories on a disk to student directories.



But I've about 250000-300000 directories at the end and, after few mounts, it brokes with the "No Space Left on Device" error message...



result of df command:



$ df
Sys. de fichiers blocs de 1K Utilisé Disponible Uti% Monté sur
udev 6079776 0 6079776 0% /dev
tmpfs 1218184 8940 1209244 1% /run
/dev/sdb1 475841504 2140656 449459696 1% /
tmpfs 6090912 0 6090912 0% /dev/shm
tmpfs 5120 0 5120 0% /run/lock
tmpfs 6090912 0 6090912 0% /sys/fs/cgroup
/dev/sda1 3844640564 542188 3648731116 1% /var/ftp
tmpfs 1218180 0 1218180 0% /run/user/1000


result of df -i command:



$ df -i
Sys. de fichiers Inœuds IUtil. ILibre IUti% Monté sur
udev 1519944 415 1519529 1% /dev
tmpfs 1522728 550 1522178 1% /run
/dev/sdb1 30285824 124200 30161624 1% /
tmpfs 1522728 1 1522727 1% /dev/shm
tmpfs 1522728 2 1522726 1% /run/lock
tmpfs 1522728 15 1522713 1% /sys/fs/cgroup
/dev/sda1 244195328 113026 244082302 1% /var/ftp
tmpfs 1522728 11 1522717 1% /run/user/1000


So, there is a maximum number of mount --bind possible on a filesystem or whatever ?










share|improve this question







New contributor




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











I'm creating a FTP server for a school and I'm using the mount --bind command to link directories on a disk to student directories.



But I've about 250000-300000 directories at the end and, after few mounts, it brokes with the "No Space Left on Device" error message...



result of df command:



$ df
Sys. de fichiers blocs de 1K Utilisé Disponible Uti% Monté sur
udev 6079776 0 6079776 0% /dev
tmpfs 1218184 8940 1209244 1% /run
/dev/sdb1 475841504 2140656 449459696 1% /
tmpfs 6090912 0 6090912 0% /dev/shm
tmpfs 5120 0 5120 0% /run/lock
tmpfs 6090912 0 6090912 0% /sys/fs/cgroup
/dev/sda1 3844640564 542188 3648731116 1% /var/ftp
tmpfs 1218180 0 1218180 0% /run/user/1000


result of df -i command:



$ df -i
Sys. de fichiers Inœuds IUtil. ILibre IUti% Monté sur
udev 1519944 415 1519529 1% /dev
tmpfs 1522728 550 1522178 1% /run
/dev/sdb1 30285824 124200 30161624 1% /
tmpfs 1522728 1 1522727 1% /dev/shm
tmpfs 1522728 2 1522726 1% /run/lock
tmpfs 1522728 15 1522713 1% /sys/fs/cgroup
/dev/sda1 244195328 113026 244082302 1% /var/ftp
tmpfs 1522728 11 1522717 1% /run/user/1000


So, there is a maximum number of mount --bind possible on a filesystem or whatever ?







mount bind-mount






share|improve this question







New contributor




ecavard 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 question







New contributor




ecavard 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 question




share|improve this question






New contributor




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









asked Nov 21 at 1:26









ecavard

11




11




New contributor




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





New contributor





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






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












  • Have you run out of inodes in your usage of "30,000" directories? find where inodes are being used
    – number9
    Nov 21 at 2:37










  • Hi, thank's for reply, but I think i'm not out of inodes like showing by result of df -i command in my question. Or I'm not understand the results ?
    – ecavard
    Nov 21 at 18:13


















  • Have you run out of inodes in your usage of "30,000" directories? find where inodes are being used
    – number9
    Nov 21 at 2:37










  • Hi, thank's for reply, but I think i'm not out of inodes like showing by result of df -i command in my question. Or I'm not understand the results ?
    – ecavard
    Nov 21 at 18:13
















Have you run out of inodes in your usage of "30,000" directories? find where inodes are being used
– number9
Nov 21 at 2:37




Have you run out of inodes in your usage of "30,000" directories? find where inodes are being used
– number9
Nov 21 at 2:37












Hi, thank's for reply, but I think i'm not out of inodes like showing by result of df -i command in my question. Or I'm not understand the results ?
– ecavard
Nov 21 at 18:13




Hi, thank's for reply, but I think i'm not out of inodes like showing by result of df -i command in my question. Or I'm not understand the results ?
– ecavard
Nov 21 at 18:13















active

oldest

votes











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: 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
});


}
});






ecavard is a new contributor. Be nice, and check out our Code of Conduct.










 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f483100%2fmount-bind-failed-no-space-left-on-device%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes








ecavard is a new contributor. Be nice, and check out our Code of Conduct.










 

draft saved


draft discarded


















ecavard is a new contributor. Be nice, and check out our Code of Conduct.













ecavard is a new contributor. Be nice, and check out our Code of Conduct.












ecavard is a new contributor. Be nice, and check out our Code of Conduct.















 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f483100%2fmount-bind-failed-no-space-left-on-device%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

Morgemoulin

Scott Moir

Souastre