How to See Bound Folders and Release Them
Clash 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?
centos mount disk-usage bind-mount
add a comment |Â
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?
centos mount disk-usage bind-mount
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
add a comment |Â
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?
centos mount disk-usage bind-mount
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?
centos mount disk-usage bind-mount
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
add a comment |Â
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
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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
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
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
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
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
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