Тёмный
No video :(

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

Server Gyan
Подписаться 49 тыс.
Просмотров 80 тыс.
50% 1

In this video, we are going to learn how to remove unwanted files form servers in order to keep the server running.
We will see main commands which are useful in order to clear disk space.
What is du -sh command? (Used to check size of file/directory)
What is df -Th command? -- This is used to check the mounted filesystem.
What is fdisk command?

Опубликовано:

 

24 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 83   
@AlfredAyache
@AlfredAyache 3 года назад
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 2 года назад
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 2 года назад
Thanks dear Happy learning
@aliabdela
@aliabdela 4 месяца назад
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!
@ankitbishnoi4067
@ankitbishnoi4067 3 года назад
very useful content and east aur west server Gyan is the best.....
@ServerGyan
@ServerGyan 3 года назад
Thank you buddy Happy learning
@sufyansajid5539
@sufyansajid5539 3 года назад
this content resolved my problem, thanks a lot Bhai
@ServerGyan
@ServerGyan 3 года назад
Welcome dear Happy learning
@iankiprotich6865
@iankiprotich6865 6 месяцев назад
Amazing content. Well articulated and easy to understand.
@user-fr1oy6nt5j
@user-fr1oy6nt5j Год назад
Hi Dude, Your post worked well. Thanks for posting server related videos. Now we are following your channel. Keep Posting and Help community Growing :)
@odiyagyana
@odiyagyana Год назад
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 Год назад
Thanks buddy, Happy learning
@hareeshsa8381
@hareeshsa8381 3 года назад
Very good information sir thanks for making this video
@ServerGyan
@ServerGyan 3 года назад
Thank you dear
@nareshmoorthy881
@nareshmoorthy881 2 года назад
Nice content, for me deleting Journal logs worked .
@ServerGyan
@ServerGyan 2 года назад
Great, Happy learning
@retrogrademoviearttheatre1678
@retrogrademoviearttheatre1678 3 года назад
Thank you sir, you saved my life. Keep it up 👍
@ServerGyan
@ServerGyan 3 года назад
Happy learning dear
@mudholhound7447
@mudholhound7447 Год назад
thank you for your details are using in my organization
@ppwndpressurewashing2323
@ppwndpressurewashing2323 2 года назад
Thank you thank you thank you... You have saved me.
@vaibhavverma1340
@vaibhavverma1340 10 месяцев назад
Thank you so much sir
@GAURAVGUPTA007
@GAURAVGUPTA007 Год назад
Very nice video ...solve my problem 👍👍
@shubhamdwivedi4378
@shubhamdwivedi4378 3 года назад
Sir it is very usefull thank you sir 🙏
@user-ur3bu4gk1u
@user-ur3bu4gk1u Год назад
Thank you so much sir, it was very useful such kind of information
@JavedKhan-zb6be
@JavedKhan-zb6be 2 года назад
Thank You so much for sharing ...... Very helpful videos.....
@imaginewithrahul
@imaginewithrahul 2 года назад
you saved my data and saved my lots of time, thanks a lot man!
@ServerGyan
@ServerGyan 2 года назад
Thanks dear, Happy learning
@pankajkharade6936
@pankajkharade6936 2 года назад
Nice explanation 👌👌
@UcheTechs
@UcheTechs Год назад
Working 100%, thanks man
@fmaciel3
@fmaciel3 3 года назад
wooowwww thank you very much
@ServerGyan
@ServerGyan 3 года назад
Thank you
@dhirajaheer258
@dhirajaheer258 6 месяцев назад
thank you very much.
@chandanpinacle3455
@chandanpinacle3455 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.
@abcrectify6916
@abcrectify6916 Год назад
it was very informative ❤
@biksphukan5594
@biksphukan5594 2 года назад
Thank you so much 👍🏻
@beclever-ts1kz
@beclever-ts1kz 9 месяцев назад
Thank you
@akshaykrishnakr4358
@akshaykrishnakr4358 2 месяца назад
Thanks!
@meruvabalaji1500
@meruvabalaji1500 3 года назад
Excellent bro 🙏🙏
@phirangiramu3187
@phirangiramu3187 Год назад
This is useful information
@sairavi7396
@sairavi7396 Год назад
Why we used > symbol(truncate)
@saipulusman9201
@saipulusman9201 Год назад
Thank you very much 🙏
@cyriljohns
@cyriljohns 3 года назад
thank you sir!
@sravani8666
@sravani8666 11 месяцев назад
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..
@widibaka7058
@widibaka7058 Год назад
Thankyou very mak sir
@NSA_TERMINAL_Official
@NSA_TERMINAL_Official Год назад
Thank you 💓💓💓☺️☺️☺️☺️☺️ brother
@suryakantsinghraghuwanshi4131
@suryakantsinghraghuwanshi4131 2 года назад
Thanks for sharing ☺️
@ServerGyan
@ServerGyan 2 года назад
Thanks dear Happy learning
@9119sss
@9119sss 2 года назад
Pls share the link for channel - fix my infra you mentioned 🙏
@faheemation
@faheemation Год назад
Thank you 🙏
@nandhinisakrapani3364
@nandhinisakrapani3364 Год назад
My disk mem is used by /pkg Can I truncate it or remove? What can be done ??
@princevivek5320
@princevivek5320 3 года назад
Thanks alot bro
@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
@sachinchaudhary8359
@sachinchaudhary8359 3 года назад
Sir is it possible to delete another var logs / file or directory rather than deleting maillog
@ServerGyan
@ServerGyan 3 года назад
Yes dear, If any other log file consumes much space, we can clean it
@speniji3
@speniji3 3 года назад
Can we use top commamd also to identify full size utilisation.
@ServerGyan
@ServerGyan 3 года назад
Top command is not useful for disk utilities
@speniji3
@speniji3 3 года назад
@@ServerGyan ok sir thank u
@BruceConsidine
@BruceConsidine 2 года назад
Audio levels are way too low. Recommend you normalize audio levels to -1db.
@ServerGyan
@ServerGyan 2 года назад
Feedback taken, thanks
@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
@ajayprakahpipliwal3382
@ajayprakahpipliwal3382 3 года назад
Sir all okk but my home have a 94G how will I romove
@ServerGyan
@ServerGyan 3 года назад
Check all file and directory and remove unused
@funzone1992
@funzone1992 2 года назад
what trunkcating means? Will it compress the file size?
@ServerGyan
@ServerGyan 2 года назад
It will delete content of a file
@funzone1992
@funzone1992 2 года назад
How can i select multiple log files and delete once in Linux?
@ServerGyan
@ServerGyan 2 года назад
rm -rf log file-date*
@bhujangarao7382
@bhujangarao7382 2 года назад
thanks
@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
@akashan6811
@akashan6811 3 года назад
What is truncate means sir???
@ServerGyan
@ServerGyan 3 года назад
It means you can clear data only Like cp /dev /null filename Or > filename
@David-jf4ee
@David-jf4ee 3 года назад
Nullify basically
@ServerGyan
@ServerGyan 3 года назад
Yes dear
@sivavenkatchagala155
@sivavenkatchagala155 3 года назад
Sir it is giving the error permission denied, while I'm trying to delete dpkg. Log file
@ServerGyan
@ServerGyan 3 года назад
Are you admin user for the same
@anujchauhan7305
@anujchauhan7305 3 года назад
Pls make video on server patching.
@ServerGyan
@ServerGyan 3 года назад
Okay This is suggested by many Will plan for it shortly
@nithinjohn135
@nithinjohn135 3 года назад
@@ServerGyan yes sir much needed
@SandeepSingh-hn6it
@SandeepSingh-hn6it Год назад
This is Great Ravi, the /shared-nfs/ can consume disk space ?
Далее
13 Linux Command Every Linux Admin Should Know
17:04
Просмотров 10 тыс.
Linux Performance Troubleshooting Demos
10:51
Просмотров 63 тыс.
Linux New User Guide: 10 Things I Wish I Knew
23:31
Просмотров 450 тыс.
60 Linux Commands you NEED to know (in 10 minutes)
10:50