How to See Bound Folders and Release Them

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;







up vote
1
down vote

favorite












This morning I noticed someone had stuck a USB Drive in the back of the server. (I'll have to end that practice later). For some reason CentOS 7 mounted that disk /dev/sdc1 under /run/media//. I also noticed when I ran df that my /dev/mapper/centos-root was full. Ok, ran through / with du and noticed that the flash drive had mounted itself here and took up the remaining space somehow.



So I ran umount /run/media/<user>/<uuid> and it went away. Great. Except df still states that I'm full and the server is experiencing issues common with low disk space. Worse now, a reboot of the server left me only able to get into maintenance mode. How do I free up this space or even know what is bound to the fs?



EDIT: This is essentially another df -H doesn't agree with du problem. According to df I have only 800MB/54GB free on root and I can't boot because of it. But by using du -h --max-depth 1 /mnt/sysimage/ (where /mnt/sysimage/ is just / because I'm in recovery mode right now). It outputs something like this (can't directly copy):



264M /mnt/sysimage/boot
0 /mnt/sysimage/dev
26G /mnt/sysimage/home
0 /mnt/sysimage/proc
... small stuff - MB scale
1.7G /mnt/sysimage/var


So how do those add up to fill a 54GB disk? As stated above before it crashed, this mystery USB drive had been mounted in /run/media/<user>/<uuid> and was thus under / Could this still be bound to the file system?







share|improve this question





















  • If you are describing commands or semi-hipotetical questions, please do provide the output. The question is too broad as it it.
    – Rui F Ribeiro
    Aug 3 at 20:11










  • @RuiFRibeiro I updated my question with outputs, skipped them originally because I thought I new the cause and didn't want this flagged as another df doesn't match du question.
    – Aaron Chamberlain
    Aug 3 at 20:29
















up vote
1
down vote

favorite












This morning I noticed someone had stuck a USB Drive in the back of the server. (I'll have to end that practice later). For some reason CentOS 7 mounted that disk /dev/sdc1 under /run/media//. I also noticed when I ran df that my /dev/mapper/centos-root was full. Ok, ran through / with du and noticed that the flash drive had mounted itself here and took up the remaining space somehow.



So I ran umount /run/media/<user>/<uuid> and it went away. Great. Except df still states that I'm full and the server is experiencing issues common with low disk space. Worse now, a reboot of the server left me only able to get into maintenance mode. How do I free up this space or even know what is bound to the fs?



EDIT: This is essentially another df -H doesn't agree with du problem. According to df I have only 800MB/54GB free on root and I can't boot because of it. But by using du -h --max-depth 1 /mnt/sysimage/ (where /mnt/sysimage/ is just / because I'm in recovery mode right now). It outputs something like this (can't directly copy):



264M /mnt/sysimage/boot
0 /mnt/sysimage/dev
26G /mnt/sysimage/home
0 /mnt/sysimage/proc
... small stuff - MB scale
1.7G /mnt/sysimage/var


So how do those add up to fill a 54GB disk? As stated above before it crashed, this mystery USB drive had been mounted in /run/media/<user>/<uuid> and was thus under / Could this still be bound to the file system?







share|improve this question





















  • If you are describing commands or semi-hipotetical questions, please do provide the output. The question is too broad as it it.
    – Rui F Ribeiro
    Aug 3 at 20:11










  • @RuiFRibeiro I updated my question with outputs, skipped them originally because I thought I new the cause and didn't want this flagged as another df doesn't match du question.
    – Aaron Chamberlain
    Aug 3 at 20:29












up vote
1
down vote

favorite









up vote
1
down vote

favorite











This morning I noticed someone had stuck a USB Drive in the back of the server. (I'll have to end that practice later). For some reason CentOS 7 mounted that disk /dev/sdc1 under /run/media//. I also noticed when I ran df that my /dev/mapper/centos-root was full. Ok, ran through / with du and noticed that the flash drive had mounted itself here and took up the remaining space somehow.



So I ran umount /run/media/<user>/<uuid> and it went away. Great. Except df still states that I'm full and the server is experiencing issues common with low disk space. Worse now, a reboot of the server left me only able to get into maintenance mode. How do I free up this space or even know what is bound to the fs?



EDIT: This is essentially another df -H doesn't agree with du problem. According to df I have only 800MB/54GB free on root and I can't boot because of it. But by using du -h --max-depth 1 /mnt/sysimage/ (where /mnt/sysimage/ is just / because I'm in recovery mode right now). It outputs something like this (can't directly copy):



264M /mnt/sysimage/boot
0 /mnt/sysimage/dev
26G /mnt/sysimage/home
0 /mnt/sysimage/proc
... small stuff - MB scale
1.7G /mnt/sysimage/var


So how do those add up to fill a 54GB disk? As stated above before it crashed, this mystery USB drive had been mounted in /run/media/<user>/<uuid> and was thus under / Could this still be bound to the file system?







share|improve this question













This morning I noticed someone had stuck a USB Drive in the back of the server. (I'll have to end that practice later). For some reason CentOS 7 mounted that disk /dev/sdc1 under /run/media//. I also noticed when I ran df that my /dev/mapper/centos-root was full. Ok, ran through / with du and noticed that the flash drive had mounted itself here and took up the remaining space somehow.



So I ran umount /run/media/<user>/<uuid> and it went away. Great. Except df still states that I'm full and the server is experiencing issues common with low disk space. Worse now, a reboot of the server left me only able to get into maintenance mode. How do I free up this space or even know what is bound to the fs?



EDIT: This is essentially another df -H doesn't agree with du problem. According to df I have only 800MB/54GB free on root and I can't boot because of it. But by using du -h --max-depth 1 /mnt/sysimage/ (where /mnt/sysimage/ is just / because I'm in recovery mode right now). It outputs something like this (can't directly copy):



264M /mnt/sysimage/boot
0 /mnt/sysimage/dev
26G /mnt/sysimage/home
0 /mnt/sysimage/proc
... small stuff - MB scale
1.7G /mnt/sysimage/var


So how do those add up to fill a 54GB disk? As stated above before it crashed, this mystery USB drive had been mounted in /run/media/<user>/<uuid> and was thus under / Could this still be bound to the file system?









share|improve this question












share|improve this question




share|improve this question








edited Aug 3 at 20:27
























asked Aug 3 at 17:04









Aaron Chamberlain

114




114











  • If you are describing commands or semi-hipotetical questions, please do provide the output. The question is too broad as it it.
    – Rui F Ribeiro
    Aug 3 at 20:11










  • @RuiFRibeiro I updated my question with outputs, skipped them originally because I thought I new the cause and didn't want this flagged as another df doesn't match du question.
    – Aaron Chamberlain
    Aug 3 at 20:29
















  • If you are describing commands or semi-hipotetical questions, please do provide the output. The question is too broad as it it.
    – Rui F Ribeiro
    Aug 3 at 20:11










  • @RuiFRibeiro I updated my question with outputs, skipped them originally because I thought I new the cause and didn't want this flagged as another df doesn't match du question.
    – Aaron Chamberlain
    Aug 3 at 20:29















If you are describing commands or semi-hipotetical questions, please do provide the output. The question is too broad as it it.
– Rui F Ribeiro
Aug 3 at 20:11




If you are describing commands or semi-hipotetical questions, please do provide the output. The question is too broad as it it.
– Rui F Ribeiro
Aug 3 at 20:11












@RuiFRibeiro I updated my question with outputs, skipped them originally because I thought I new the cause and didn't want this flagged as another df doesn't match du question.
– Aaron Chamberlain
Aug 3 at 20:29




@RuiFRibeiro I updated my question with outputs, skipped them originally because I thought I new the cause and didn't want this flagged as another df doesn't match du question.
– Aaron Chamberlain
Aug 3 at 20:29















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: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
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%2f460383%2fhow-to-see-bound-folders-and-release-them%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f460383%2fhow-to-see-bound-folders-and-release-them%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay