Low disk space warning I have 1.4 TB on /media! directory!How to rename partitions?ELI5: Resizing PartitionsHelp figuring out what's taking up disk space/home partition doesn't seem to be mounted in Ubuntu 18.04Google Cloud VM memory is being used up 100%
Need Good OOP Design For World and Countries Problem
Unexpected Code Coverage Reduction
How do I resolve science-based problems in my worldbuilding?
Was there a clearly identifiable "first computer" to use or demonstrate the use of virtual memory?
What are these criss-cross patterns close to Cambridge Airport (UK)?
I have stack-exchanged through my undergrad math program. Am I likely to succeed in Mathematics PhD programs?
Warranty on lock damaged during attempted theft
My name causes an issue with any booking! (names end with MR and MRS)
Decision problems for which it is unknown whether they are decidable
Why does Smaug have 4 legs in the 1st movie but only 2 legs in the 2nd?
how do i play 2 notes high and low together with a plectrum on guitar
"Chess is 90% tactics" - should a player focus more on tactics in order to improve?
What type of rhetorical device is the offering of a source which is really long and not specifying what part of the source is relevant?
How much money would I need to feel secure in my job?
How does sudo handle $HOME differently since 19.10?
What type of beer is best for beer battered fish?
Why use [FormalN]?
Translation Golf XLIX - An Accurate Shot
What DC should I use for someone trying to survive indefinitely solely with an alchemy jug as their only source of food and water? (survival campaign)
What's an "add" chord?
Is there any point in having more than 6 months' runway in savings?
What is the lowest level at which a human can beat the 100m world record (or: the presumed human limit) without using magic?
Do physicists understand why time slows down the faster the velocity of an object?
Giving a talk on a different topic than what we discussed
Low disk space warning I have 1.4 TB on /media! directory!
How to rename partitions?ELI5: Resizing PartitionsHelp figuring out what's taking up disk space/home partition doesn't seem to be mounted in Ubuntu 18.04Google Cloud VM memory is being used up 100%
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
I frequently get low disk space warning while I have 1.4TB on /media directory.
I assume I need to add this space to /home. How can I do it without loosing my already installed packages?
Here is my current disk space status after running:
$ df -h -xtmp,devtmp,squashfs:
Filesystem Size Used Avail Use% Mounted on
udev 16G 0 16G 0% /dev
tmpfs 3.2G 9.4M 3.2G 1% /run
/dev/sda6 178G 168G 1022M 100% /
tmpfs 16G 265M 16G 2% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 16G 0 16G 0% /sys/fs/cgroup
/dev/loop0 89M 89M 0 100% /snap/core/7270
/dev/loop1 92M 92M 0 100% /snap/vectr/2
/dev/loop2 298M 298M 0 100% /snap/pycharm-community/132
/dev/loop3 89M 89M 0 100% /snap/core/7169
/dev/loop4 298M 298M 0 100% /snap/pycharm-community/128
tmpfs 3.2G 68K 3.2G 1% /run/user/1000
/dev/sdb2 466G 1.3G 465G 1% /media/mfani/Win_Data_Drv
/dev/sdb1 1.4T 179G 1.1T 14% /media/mfani/72f334b0-29a3-4f81-a52f-ed30de1ca5a01
partitioning mount disk disk-usage
add a comment
|
I frequently get low disk space warning while I have 1.4TB on /media directory.
I assume I need to add this space to /home. How can I do it without loosing my already installed packages?
Here is my current disk space status after running:
$ df -h -xtmp,devtmp,squashfs:
Filesystem Size Used Avail Use% Mounted on
udev 16G 0 16G 0% /dev
tmpfs 3.2G 9.4M 3.2G 1% /run
/dev/sda6 178G 168G 1022M 100% /
tmpfs 16G 265M 16G 2% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 16G 0 16G 0% /sys/fs/cgroup
/dev/loop0 89M 89M 0 100% /snap/core/7270
/dev/loop1 92M 92M 0 100% /snap/vectr/2
/dev/loop2 298M 298M 0 100% /snap/pycharm-community/132
/dev/loop3 89M 89M 0 100% /snap/core/7169
/dev/loop4 298M 298M 0 100% /snap/pycharm-community/128
tmpfs 3.2G 68K 3.2G 1% /run/user/1000
/dev/sdb2 466G 1.3G 465G 1% /media/mfani/Win_Data_Drv
/dev/sdb1 1.4T 179G 1.1T 14% /media/mfani/72f334b0-29a3-4f81-a52f-ed30de1ca5a01
partitioning mount disk disk-usage
add a comment
|
I frequently get low disk space warning while I have 1.4TB on /media directory.
I assume I need to add this space to /home. How can I do it without loosing my already installed packages?
Here is my current disk space status after running:
$ df -h -xtmp,devtmp,squashfs:
Filesystem Size Used Avail Use% Mounted on
udev 16G 0 16G 0% /dev
tmpfs 3.2G 9.4M 3.2G 1% /run
/dev/sda6 178G 168G 1022M 100% /
tmpfs 16G 265M 16G 2% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 16G 0 16G 0% /sys/fs/cgroup
/dev/loop0 89M 89M 0 100% /snap/core/7270
/dev/loop1 92M 92M 0 100% /snap/vectr/2
/dev/loop2 298M 298M 0 100% /snap/pycharm-community/132
/dev/loop3 89M 89M 0 100% /snap/core/7169
/dev/loop4 298M 298M 0 100% /snap/pycharm-community/128
tmpfs 3.2G 68K 3.2G 1% /run/user/1000
/dev/sdb2 466G 1.3G 465G 1% /media/mfani/Win_Data_Drv
/dev/sdb1 1.4T 179G 1.1T 14% /media/mfani/72f334b0-29a3-4f81-a52f-ed30de1ca5a01
partitioning mount disk disk-usage
I frequently get low disk space warning while I have 1.4TB on /media directory.
I assume I need to add this space to /home. How can I do it without loosing my already installed packages?
Here is my current disk space status after running:
$ df -h -xtmp,devtmp,squashfs:
Filesystem Size Used Avail Use% Mounted on
udev 16G 0 16G 0% /dev
tmpfs 3.2G 9.4M 3.2G 1% /run
/dev/sda6 178G 168G 1022M 100% /
tmpfs 16G 265M 16G 2% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 16G 0 16G 0% /sys/fs/cgroup
/dev/loop0 89M 89M 0 100% /snap/core/7270
/dev/loop1 92M 92M 0 100% /snap/vectr/2
/dev/loop2 298M 298M 0 100% /snap/pycharm-community/132
/dev/loop3 89M 89M 0 100% /snap/core/7169
/dev/loop4 298M 298M 0 100% /snap/pycharm-community/128
tmpfs 3.2G 68K 3.2G 1% /run/user/1000
/dev/sdb2 466G 1.3G 465G 1% /media/mfani/Win_Data_Drv
/dev/sdb1 1.4T 179G 1.1T 14% /media/mfani/72f334b0-29a3-4f81-a52f-ed30de1ca5a01
partitioning mount disk disk-usage
partitioning mount disk disk-usage
edited Jul 22 at 17:46
terdon♦
75.4k14 gold badges151 silver badges237 bronze badges
75.4k14 gold badges151 silver badges237 bronze badges
asked Jul 22 at 17:43
MehrMehr
132 bronze badges
132 bronze badges
add a comment
|
add a comment
|
1 Answer
1
active
oldest
votes
The problem is that your /
, the root of the filesystem, is at 100%. The extra space you have on other partitions, such as /media
, isn't relevant here. The system is installed on /
and that's the one that needs more space.
Since you do have loads of space on /media
, the easiest solution is to find things in your $HOME
that are taking a lot of space and move those to /media
. For example, if you have video, music or image files, perhaps in the directories $HOME/Videos
, $HOME/Music
and $HOME/Pictures
, move them to /media/mfani/72f334b0-29a3-4f81-a52f-ed30de1ca5a01
and then create symlinks in your $HOME
pointing to their new locations:
cd $HOME
for dir in Videos Music Pictures; do
mv "$dir" /media/mfani/72f334b0-29a3-4f81-a52f-ed30de1ca5a01/
ln -s /media/mfani/72f334b0-29a3-4f81-a52f-ed30de1ca5a01/"$dir" .
done
You will now have symlinks in your $HOME
which will take up no space but which you can use to access your files as though they hadn't been moved.
Rather than keep long UUID which is hard to remember or use, often easier to create label for partitions like data or if you want separate partition for some data you can use folder name like videos. askubuntu.com/questions/276911/how-to-rename-partitions I try to remember to add labels when creating partitions with gparted, but use Disks when I forget. With gpt there are two labels, one file system and one partition. I keep both the same.
– oldfred
Jul 22 at 18:23
@oldfred I think you meant to leave that comment under the question. The OP won't be notified of comments you leave under other people's posts.
– terdon♦
Jul 22 at 18:30
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/4.0/"u003ecc by-sa 4.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%2f1160222%2flow-disk-space-warning-i-have-1-4-tb-on-media-directory%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
The problem is that your /
, the root of the filesystem, is at 100%. The extra space you have on other partitions, such as /media
, isn't relevant here. The system is installed on /
and that's the one that needs more space.
Since you do have loads of space on /media
, the easiest solution is to find things in your $HOME
that are taking a lot of space and move those to /media
. For example, if you have video, music or image files, perhaps in the directories $HOME/Videos
, $HOME/Music
and $HOME/Pictures
, move them to /media/mfani/72f334b0-29a3-4f81-a52f-ed30de1ca5a01
and then create symlinks in your $HOME
pointing to their new locations:
cd $HOME
for dir in Videos Music Pictures; do
mv "$dir" /media/mfani/72f334b0-29a3-4f81-a52f-ed30de1ca5a01/
ln -s /media/mfani/72f334b0-29a3-4f81-a52f-ed30de1ca5a01/"$dir" .
done
You will now have symlinks in your $HOME
which will take up no space but which you can use to access your files as though they hadn't been moved.
Rather than keep long UUID which is hard to remember or use, often easier to create label for partitions like data or if you want separate partition for some data you can use folder name like videos. askubuntu.com/questions/276911/how-to-rename-partitions I try to remember to add labels when creating partitions with gparted, but use Disks when I forget. With gpt there are two labels, one file system and one partition. I keep both the same.
– oldfred
Jul 22 at 18:23
@oldfred I think you meant to leave that comment under the question. The OP won't be notified of comments you leave under other people's posts.
– terdon♦
Jul 22 at 18:30
add a comment
|
The problem is that your /
, the root of the filesystem, is at 100%. The extra space you have on other partitions, such as /media
, isn't relevant here. The system is installed on /
and that's the one that needs more space.
Since you do have loads of space on /media
, the easiest solution is to find things in your $HOME
that are taking a lot of space and move those to /media
. For example, if you have video, music or image files, perhaps in the directories $HOME/Videos
, $HOME/Music
and $HOME/Pictures
, move them to /media/mfani/72f334b0-29a3-4f81-a52f-ed30de1ca5a01
and then create symlinks in your $HOME
pointing to their new locations:
cd $HOME
for dir in Videos Music Pictures; do
mv "$dir" /media/mfani/72f334b0-29a3-4f81-a52f-ed30de1ca5a01/
ln -s /media/mfani/72f334b0-29a3-4f81-a52f-ed30de1ca5a01/"$dir" .
done
You will now have symlinks in your $HOME
which will take up no space but which you can use to access your files as though they hadn't been moved.
Rather than keep long UUID which is hard to remember or use, often easier to create label for partitions like data or if you want separate partition for some data you can use folder name like videos. askubuntu.com/questions/276911/how-to-rename-partitions I try to remember to add labels when creating partitions with gparted, but use Disks when I forget. With gpt there are two labels, one file system and one partition. I keep both the same.
– oldfred
Jul 22 at 18:23
@oldfred I think you meant to leave that comment under the question. The OP won't be notified of comments you leave under other people's posts.
– terdon♦
Jul 22 at 18:30
add a comment
|
The problem is that your /
, the root of the filesystem, is at 100%. The extra space you have on other partitions, such as /media
, isn't relevant here. The system is installed on /
and that's the one that needs more space.
Since you do have loads of space on /media
, the easiest solution is to find things in your $HOME
that are taking a lot of space and move those to /media
. For example, if you have video, music or image files, perhaps in the directories $HOME/Videos
, $HOME/Music
and $HOME/Pictures
, move them to /media/mfani/72f334b0-29a3-4f81-a52f-ed30de1ca5a01
and then create symlinks in your $HOME
pointing to their new locations:
cd $HOME
for dir in Videos Music Pictures; do
mv "$dir" /media/mfani/72f334b0-29a3-4f81-a52f-ed30de1ca5a01/
ln -s /media/mfani/72f334b0-29a3-4f81-a52f-ed30de1ca5a01/"$dir" .
done
You will now have symlinks in your $HOME
which will take up no space but which you can use to access your files as though they hadn't been moved.
The problem is that your /
, the root of the filesystem, is at 100%. The extra space you have on other partitions, such as /media
, isn't relevant here. The system is installed on /
and that's the one that needs more space.
Since you do have loads of space on /media
, the easiest solution is to find things in your $HOME
that are taking a lot of space and move those to /media
. For example, if you have video, music or image files, perhaps in the directories $HOME/Videos
, $HOME/Music
and $HOME/Pictures
, move them to /media/mfani/72f334b0-29a3-4f81-a52f-ed30de1ca5a01
and then create symlinks in your $HOME
pointing to their new locations:
cd $HOME
for dir in Videos Music Pictures; do
mv "$dir" /media/mfani/72f334b0-29a3-4f81-a52f-ed30de1ca5a01/
ln -s /media/mfani/72f334b0-29a3-4f81-a52f-ed30de1ca5a01/"$dir" .
done
You will now have symlinks in your $HOME
which will take up no space but which you can use to access your files as though they hadn't been moved.
edited Jul 25 at 19:26
answered Jul 22 at 17:50
terdon♦terdon
75.4k14 gold badges151 silver badges237 bronze badges
75.4k14 gold badges151 silver badges237 bronze badges
Rather than keep long UUID which is hard to remember or use, often easier to create label for partitions like data or if you want separate partition for some data you can use folder name like videos. askubuntu.com/questions/276911/how-to-rename-partitions I try to remember to add labels when creating partitions with gparted, but use Disks when I forget. With gpt there are two labels, one file system and one partition. I keep both the same.
– oldfred
Jul 22 at 18:23
@oldfred I think you meant to leave that comment under the question. The OP won't be notified of comments you leave under other people's posts.
– terdon♦
Jul 22 at 18:30
add a comment
|
Rather than keep long UUID which is hard to remember or use, often easier to create label for partitions like data or if you want separate partition for some data you can use folder name like videos. askubuntu.com/questions/276911/how-to-rename-partitions I try to remember to add labels when creating partitions with gparted, but use Disks when I forget. With gpt there are two labels, one file system and one partition. I keep both the same.
– oldfred
Jul 22 at 18:23
@oldfred I think you meant to leave that comment under the question. The OP won't be notified of comments you leave under other people's posts.
– terdon♦
Jul 22 at 18:30
Rather than keep long UUID which is hard to remember or use, often easier to create label for partitions like data or if you want separate partition for some data you can use folder name like videos. askubuntu.com/questions/276911/how-to-rename-partitions I try to remember to add labels when creating partitions with gparted, but use Disks when I forget. With gpt there are two labels, one file system and one partition. I keep both the same.
– oldfred
Jul 22 at 18:23
Rather than keep long UUID which is hard to remember or use, often easier to create label for partitions like data or if you want separate partition for some data you can use folder name like videos. askubuntu.com/questions/276911/how-to-rename-partitions I try to remember to add labels when creating partitions with gparted, but use Disks when I forget. With gpt there are two labels, one file system and one partition. I keep both the same.
– oldfred
Jul 22 at 18:23
@oldfred I think you meant to leave that comment under the question. The OP won't be notified of comments you leave under other people's posts.
– terdon♦
Jul 22 at 18:30
@oldfred I think you meant to leave that comment under the question. The OP won't be notified of comments you leave under other people's posts.
– terdon♦
Jul 22 at 18:30
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%2f1160222%2flow-disk-space-warning-i-have-1-4-tb-on-media-directory%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