How to clear unwanted disk space | Linux Server Disk Capacity shows 100% full

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ก.พ. 2025

ความคิดเห็น • 89

  • @AlfredAyache
    @AlfredAyache 3 ปีที่แล้ว +6

    Thank you so much! I'd been having problems with my Raspberry Pi's SD card filling up. I had no idea what was going on. Your technique allowed me to pinpoint what the problem was (turns out it was Plex Media Server), investigate, and remediate the situation. (I had turned on Video Preview Thumbnails, and that gobbled up all my space.) Thanks again. I'm so grateful for your help.

    • @ppwndpressurewashing2323
      @ppwndpressurewashing2323 3 ปีที่แล้ว +1

      I run a webserver and ran a swap command and it took 90G of space. This video helped me find the fine and deplete it. this video helped me troubleshoot the problem. I understand and feel your relief.

    • @ServerGyan
      @ServerGyan  3 ปีที่แล้ว

      Thanks dear
      Happy learning

    • @phamth111
      @phamth111 หลายเดือนก่อน

      i got same problem, can u help me fix it , step by step...

  • @ishamandia
    @ishamandia วันที่ผ่านมา

    Really want to pay tons of thanks to you. This video save me today. Thanks again.

  • @kiranpurushothaman-d3e
    @kiranpurushothaman-d3e ปีที่แล้ว

    Hi Dude, Your post worked well. Thanks for posting server related videos. Now we are following your channel. Keep Posting and Help community Growing :)

  • @ankitbishnoi4067
    @ankitbishnoi4067 3 ปีที่แล้ว +1

    very useful content and east aur west server Gyan is the best.....

    • @ServerGyan
      @ServerGyan  3 ปีที่แล้ว

      Thank you buddy
      Happy learning

  • @iankiprotich6865
    @iankiprotich6865 11 หลายเดือนก่อน

    Amazing content. Well articulated and easy to understand.

  • @sufyansajid5539
    @sufyansajid5539 3 ปีที่แล้ว +3

    this content resolved my problem, thanks a lot Bhai

    • @ServerGyan
      @ServerGyan  3 ปีที่แล้ว

      Welcome dear
      Happy learning

  • @aliabdela
    @aliabdela 10 หลายเดือนก่อน

    Very helpful command ls -lrth within the /var/log directory the php8.2 and 8.3 of fpm log file was taking 30GB, and i was able to clear it effectively!

  • @odiyagyana
    @odiyagyana 2 ปีที่แล้ว +1

    Such a valuable video sir...many many thanks 👍 lov it.....this video help me clean up jboss clean up disk and deployment of my ear....nic video helpfull

    • @ServerGyan
      @ServerGyan  2 ปีที่แล้ว +1

      Thanks buddy,
      Happy learning

  • @nareshmoorthy881
    @nareshmoorthy881 2 ปีที่แล้ว +1

    Nice content, for me deleting Journal logs worked .

    • @ServerGyan
      @ServerGyan  2 ปีที่แล้ว

      Great,
      Happy learning

  • @phamth111
    @phamth111 หลายเดือนก่อน

    at 3:08 when you access cd /var/log, i cant do my local (cd var /nas/folder01/log ), plz help

  • @hareeshsa8381
    @hareeshsa8381 4 ปีที่แล้ว +3

    Very good information sir thanks for making this video

  • @retrogrademoviearttheatre1678
    @retrogrademoviearttheatre1678 3 ปีที่แล้ว +2

    Thank you sir, you saved my life. Keep it up 👍

    • @ServerGyan
      @ServerGyan  3 ปีที่แล้ว +1

      Happy learning dear

  • @chandanpinacle3455
    @chandanpinacle3455 4 ปีที่แล้ว +3

    sir, I have a doubt .this is for log file but suppose the file system will be full in that disk space then how could it be done.

    • @princerajesh8735
      @princerajesh8735 2 ปีที่แล้ว

      Check bigger files then Loop to certain team like +db , storage , middlewareteam ,for root fs we will take care.

  • @mudholhound7447
    @mudholhound7447 ปีที่แล้ว +1

    thank you for your details are using in my organization

  • @funzone1992
    @funzone1992 2 ปีที่แล้ว +1

    what trunkcating means? Will it compress the file size?

    • @ServerGyan
      @ServerGyan  2 ปีที่แล้ว +1

      It will delete content of a file

    • @funzone1992
      @funzone1992 2 ปีที่แล้ว +1

      How can i select multiple log files and delete once in Linux?

    • @ServerGyan
      @ServerGyan  2 ปีที่แล้ว

      rm -rf log file-date*

  • @GAURAVGUPTA007
    @GAURAVGUPTA007 ปีที่แล้ว

    Very nice video ...solve my problem 👍👍

  • @sunnyp219
    @sunnyp219 4 หลายเดือนก่อน

    Awesome video. Very helpful.

  • @hiteshkumar-n1h
    @hiteshkumar-n1h ปีที่แล้ว

    Thank you so much sir, it was very useful such kind of information

  • @the_good_deeds_channel
    @the_good_deeds_channel 2 ปีที่แล้ว

    you saved my data and saved my lots of time, thanks a lot man!

    • @ServerGyan
      @ServerGyan  2 ปีที่แล้ว

      Thanks dear,
      Happy learning

  • @UcheTechs
    @UcheTechs ปีที่แล้ว

    Working 100%, thanks man

  • @9119sss
    @9119sss 2 ปีที่แล้ว

    Pls share the link for channel - fix my infra you mentioned 🙏

  • @speniji3
    @speniji3 4 ปีที่แล้ว +1

    Can we use top commamd also to identify full size utilisation.

    • @ServerGyan
      @ServerGyan  4 ปีที่แล้ว

      Top command is not useful for disk utilities

    • @speniji3
      @speniji3 4 ปีที่แล้ว +1

      @@ServerGyan ok sir thank u

  • @nandhinisakrapani3364
    @nandhinisakrapani3364 2 ปีที่แล้ว

    My disk mem is used by /pkg
    Can I truncate it or remove? What can be done ??

  • @shubhamdwivedi4378
    @shubhamdwivedi4378 3 ปีที่แล้ว +2

    Sir it is very usefull thank you sir 🙏

  • @pankajkharade6936
    @pankajkharade6936 3 ปีที่แล้ว +1

    Nice explanation 👌👌

  • @JavedKhan-zb6be
    @JavedKhan-zb6be 2 ปีที่แล้ว

    Thank You so much for sharing ...... Very helpful videos.....

  • @sachinchaudhary8359
    @sachinchaudhary8359 4 ปีที่แล้ว +1

    Sir is it possible to delete another var logs / file or directory rather than deleting maillog

    • @ServerGyan
      @ServerGyan  4 ปีที่แล้ว

      Yes dear,
      If any other log file consumes much space, we can clean it

  • @ppwndpressurewashing2323
    @ppwndpressurewashing2323 3 ปีที่แล้ว +1

    Thank you thank you thank you... You have saved me.

  • @sairavi7396
    @sairavi7396 2 ปีที่แล้ว

    Why we used > symbol(truncate)

  • @ashishgupta3788
    @ashishgupta3788 2 ปีที่แล้ว

    Sir,
    Truncate reduce the Size of file by cutting the content of file.
    Then if the its important data and any application is using these file. Then why to truncate ?

    • @ServerGyan
      @ServerGyan  2 ปีที่แล้ว

      Hi
      Firstly we take backup of that file on backup server, then we truncate file on real server

  • @fmaciel3
    @fmaciel3 4 ปีที่แล้ว +3

    wooowwww thank you very much

  • @akashan6811
    @akashan6811 4 ปีที่แล้ว +2

    What is truncate means sir???

    • @ServerGyan
      @ServerGyan  4 ปีที่แล้ว +1

      It means you can clear data only
      Like
      cp /dev /null filename
      Or
      > filename

    • @David-jf4ee
      @David-jf4ee 4 ปีที่แล้ว +1

      Nullify basically

    • @ServerGyan
      @ServerGyan  4 ปีที่แล้ว +1

      Yes dear

  • @ullasach3892
    @ullasach3892 2 ปีที่แล้ว

    I am new to this and i intrest learn can you please tell me which application you are using for this and how you are login to here please reply me

  • @sangitamalav4969
    @sangitamalav4969 ปีที่แล้ว

    How can we resolve df -kh hang issue ?

    • @ServerGyan
      @ServerGyan  ปีที่แล้ว

      You need to check if any NFS mount is there and NFS server is stopped. For checking the same, you can use "" cat /proc/mounts"" command

  • @abcrectify6916
    @abcrectify6916 ปีที่แล้ว

    it was very informative ❤

  • @TechyVishalBaidoddi
    @TechyVishalBaidoddi 2 หลายเดือนก่อน

    In my pc dev/root is full it is not removing free space

  • @sravani8666
    @sravani8666 ปีที่แล้ว

    Very nice explanation...
    But I'm not able to delete the file from /dev/mapper which used 100% ..
    Followed all the steps
    But it's same, no change
    Can you please help me sir..

  • @ajayprakahpipliwal3382
    @ajayprakahpipliwal3382 3 ปีที่แล้ว +1

    Sir all okk but my home have a 94G how will I romove

    • @ServerGyan
      @ServerGyan  3 ปีที่แล้ว

      Check all file and directory and remove unused

  • @meruvabalaji1500
    @meruvabalaji1500 3 ปีที่แล้ว

    Excellent bro 🙏🙏

  • @NSA_TERMINAL_Official
    @NSA_TERMINAL_Official 2 ปีที่แล้ว

    Thank you 💓💓💓☺️☺️☺️☺️☺️ brother

  • @biksphukan5594
    @biksphukan5594 2 ปีที่แล้ว +1

    Thank you so much 👍🏻

  • @sivavenkatchagala155
    @sivavenkatchagala155 4 ปีที่แล้ว

    Sir it is giving the error permission denied, while I'm trying to delete dpkg. Log file

    • @ServerGyan
      @ServerGyan  4 ปีที่แล้ว

      Are you admin user for the same

  • @phirangiramu3187
    @phirangiramu3187 ปีที่แล้ว

    This is useful information

  • @saipulusman9201
    @saipulusman9201 2 ปีที่แล้ว

    Thank you very much 🙏

  • @BruceConsidine
    @BruceConsidine 2 ปีที่แล้ว +1

    Audio levels are way too low. Recommend you normalize audio levels to -1db.

    • @ServerGyan
      @ServerGyan  2 ปีที่แล้ว

      Feedback taken, thanks

  • @vaibhavverma1340
    @vaibhavverma1340 ปีที่แล้ว

    Thank you so much sir

  • @faheemation
    @faheemation ปีที่แล้ว

    Thank you 🙏

  • @cyriljohns
    @cyriljohns 3 ปีที่แล้ว +1

    thank you sir!

  • @suryakantsinghraghuwanshi4131
    @suryakantsinghraghuwanshi4131 2 ปีที่แล้ว

    Thanks for sharing ☺️

    • @ServerGyan
      @ServerGyan  2 ปีที่แล้ว

      Thanks dear
      Happy learning

  • @a_krishnakr
    @a_krishnakr 7 หลายเดือนก่อน

    Thanks!

  • @widibaka7058
    @widibaka7058 2 ปีที่แล้ว

    Thankyou very mak sir

  • @beclever-ts1kz
    @beclever-ts1kz ปีที่แล้ว

    Thank you

  • @SandeepSingh-hn6it
    @SandeepSingh-hn6it ปีที่แล้ว

    This is Great Ravi, the /shared-nfs/ can consume disk space ?

  • @anujchauhan7305
    @anujchauhan7305 4 ปีที่แล้ว +1

    Pls make video on server patching.

    • @ServerGyan
      @ServerGyan  4 ปีที่แล้ว +1

      Okay
      This is suggested by many
      Will plan for it shortly

    • @nithinjohn135
      @nithinjohn135 4 ปีที่แล้ว +1

      @@ServerGyan yes sir much needed

  • @princevivek5320
    @princevivek5320 3 ปีที่แล้ว

    Thanks alot bro

  • @bhujangarao7382
    @bhujangarao7382 3 ปีที่แล้ว

    thanks

  • @lovell74
    @lovell74 3 วันที่ผ่านมา

    Worka

  • @dhirajaheer258
    @dhirajaheer258 11 หลายเดือนก่อน

    thank you very much.