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;









2

















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









share|improve this question


































    2

















    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









    share|improve this question






























      2












      2








      2








      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









      share|improve this question

















      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






      share|improve this question
















      share|improve this question













      share|improve this question




      share|improve this question








      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























          1 Answer
          1






          active

          oldest

          votes


















          5


















          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.






          share|improve this answer




























          • 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












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



          );














          draft saved

          draft discarded
















          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









          5


















          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.






          share|improve this answer




























          • 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















          5


















          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.






          share|improve this answer




























          • 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













          5














          5










          5









          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.






          share|improve this answer
















          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.







          share|improve this answer















          share|improve this answer




          share|improve this answer








          edited Jul 25 at 19:26

























          answered Jul 22 at 17:50









          terdonterdon

          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

















          • 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


















          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%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





















































          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

          Tamil (spriik) Luke uk diar | Nawigatjuun

          Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

          Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?