I have 320 GB SATA HDD. When I checked my phpsysinfo, it shows 95% HDD is filled. [root at vicidialnow ~]# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda2 301924504 285002780 1337472 100% / /dev/sda1 101086 11062 84805 12% /boot tmpfs 1553832 0 1553832 0% /dev/shm [root at vicidialnow ~]# du 16896 . You have new mail in /var/spool/mail/root [root at vicidialnow ~]# df -i Filesystem Inodes IUsed IFree IUse% Mounted on /dev/sda2 77922304 528483 77393821 1% / /dev/sda1 26104 34 26070 1% /boot tmpfs 219910 1 219909 1% /dev/shm You have new mail in /var/spool/mail/root But my concern is how to solve it I even tried restarting the server , though it will kill unwanted process and will release the space but no ho -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090224/473b5b59/attachment.htm
Just restarting it won't do anything. You could use the following command to find any files over 200mb on the system. Be careful about blindly deleting stuff though.... *find / -type f -size +200M Darren Wiebe darren at aleph-com.net * David @ULC wrote:> I have 320 GB SATA HDD. > > When I checked my phpsysinfo, it shows 95% HDD is filled. > > [root at vicidialnow <mailto:root at vicidialnow> ~]# df > Filesystem 1K-blocks Used Available Use% Mounted on > /dev/sda2 301924504 285002780 1337472 100% / > /dev/sda1 101086 11062 84805 12% /boot > tmpfs 1553832 0 1553832 0% /dev/shm > [root at vicidialnow <mailto:root at vicidialnow> ~]# du > 16896 . > You have new mail in /var/spool/mail/root > > [root at vicidialnow <mailto:root at vicidialnow> ~]# df -i > Filesystem Inodes IUsed IFree IUse% Mounted on > /dev/sda2 77922304 528483 77393821 1% / > /dev/sda1 26104 34 26070 1% /boot > tmpfs 219910 1 219909 1% /dev/shm > You have new mail in /var/spool/mail/root > > > But my concern is how to solve it > > I even tried restarting the server , though it will kill unwanted > process and will release the space but no ho > ------------------------------------------------------------------------ > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
try format c: and get a book about linux! or a course! this is an asterisk mailing list not a linux/centos/vicidial now mailing list. and to solve that you need to delete some files. probably the recorded audios. cd /<some dir>/<maybe other dir> rm * -r -f PLEASE DONT DO THIS AT THE ROOT DIR OR YOU WILL ERASE ALL THE DISK. CD TO THE TARGET DIRECTORY OR YOU WILL DESTROY YOUR SERVER. or you can use lvm and add more disks. 2009/2/23 David @ULC <ucoms2001 at gmail.com>> I have 320 GB SATA HDD. > > When I checked my phpsysinfo, it shows 95% HDD is filled. > > [root at vicidialnow ~]# df > Filesystem 1K-blocks Used Available Use% Mounted on > /dev/sda2 301924504 285002780 1337472 100% / > /dev/sda1 101086 11062 84805 12% /boot > tmpfs 1553832 0 1553832 0% /dev/shm > [root at vicidialnow ~]# du > 16896 . > You have new mail in /var/spool/mail/root > > [root at vicidialnow ~]# df -i > Filesystem Inodes IUsed IFree IUse% Mounted on > /dev/sda2 77922304 528483 77393821 1% / > /dev/sda1 26104 34 26070 1% /boot > tmpfs 219910 1 219909 1% /dev/shm > You have new mail in /var/spool/mail/root > > > But my concern is how to solve it > > I even tried restarting the server , though it will kill unwanted process > and will release the space but no ho > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- (\__/) (='.'=)This is Bunny. Copy and paste bunny into your (")_(")signature to help him gain world domination. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090223/81feca8d/attachment.htm
[root at vicidialnow ~]# find / -type f -size +200M /proc/kcore /var/log/httpd/error_log.3 /var/log/httpd/access_log.3 /var/log/httpd/access_log.1 /var/log/httpd/error_log.2 /var/log/httpd/error_log.4 /var/log/httpd/access_log.2 /var/log/httpd/access_log.4 /var/log/httpd/error_log.1 I believe I can easily delete Log file. On Tue, Feb 24, 2009 at 7:05 AM, David @ULC <ucoms2001 at gmail.com> wrote:> I have 320 GB SATA HDD. > > When I checked my phpsysinfo, it shows 95% HDD is filled. > > [root at vicidialnow ~]# df > Filesystem 1K-blocks Used Available Use% Mounted on > /dev/sda2 301924504 285002780 1337472 100% / > /dev/sda1 101086 11062 84805 12% /boot > tmpfs 1553832 0 1553832 0% /dev/shm > [root at vicidialnow ~]# du > 16896 . > You have new mail in /var/spool/mail/root > > [root at vicidialnow ~]# df -i > Filesystem Inodes IUsed IFree IUse% Mounted on > /dev/sda2 77922304 528483 77393821 1% / > /dev/sda1 26104 34 26070 1% /boot > tmpfs 219910 1 219909 1% /dev/shm > You have new mail in /var/spool/mail/root > > > But my concern is how to solve it > > I even tried restarting the server , though it will kill unwanted process > and will release the space but no ho >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090224/e912a903/attachment.htm
On Tue, 24 Feb 2009, David @ULC wrote:> I have 320 GB SATA HDD. > > When I checked my phpsysinfo, it shows 95% HDD is filled.Please find a more appropriate forum for beginning Linux|Unix user questions. Thanks in advance, ------------------------------------------------------------------------ Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000
When I am trying to delete voice logs, [root at vicidialnow monitor]# rm * -r -f -bash: /bin/rm: Argument list too long [root at vicidialnow monitor]# Argument list too long is coming as a road block. Now way to forcefully delete files ? On Tue, Feb 24, 2009 at 7:30 AM, David @ULC <ucoms2001 at gmail.com> wrote:> > [root at vicidialnow ~]# find / -type f -size +200M > /proc/kcore > /var/log/httpd/error_log.3 > /var/log/httpd/access_log.3 > /var/log/httpd/access_log.1 > /var/log/httpd/error_log.2 > /var/log/httpd/error_log.4 > /var/log/httpd/access_log.2 > /var/log/httpd/access_log.4 > /var/log/httpd/error_log.1 > > I believe I can easily delete Log file. > > > > On Tue, Feb 24, 2009 at 7:05 AM, David @ULC <ucoms2001 at gmail.com> wrote: > >> I have 320 GB SATA HDD. >> >> When I checked my phpsysinfo, it shows 95% HDD is filled. >> >> [root at vicidialnow ~]# df >> Filesystem 1K-blocks Used Available Use% Mounted on >> /dev/sda2 301924504 285002780 1337472 100% / >> /dev/sda1 101086 11062 84805 12% /boot >> tmpfs 1553832 0 1553832 0% /dev/shm >> [root at vicidialnow ~]# du >> 16896 . >> You have new mail in /var/spool/mail/root >> >> [root at vicidialnow ~]# df -i >> Filesystem Inodes IUsed IFree IUse% Mounted on >> /dev/sda2 77922304 528483 77393821 1% / >> /dev/sda1 26104 34 26070 1% /boot >> tmpfs 219910 1 219909 1% /dev/shm >> You have new mail in /var/spool/mail/root >> >> >> But my concern is how to solve it >> >> I even tried restarting the server , though it will kill unwanted process >> and will release the space but no ho >> > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090224/0e8f0554/attachment.htm
My server is down :-( Thats why posted here On Tue, Feb 24, 2009 at 7:05 AM, David @ULC <ucoms2001 at gmail.com> wrote:> I have 320 GB SATA HDD. > > When I checked my phpsysinfo, it shows 95% HDD is filled. > > [root at vicidialnow ~]# df > Filesystem 1K-blocks Used Available Use% Mounted on > /dev/sda2 301924504 285002780 1337472 100% / > /dev/sda1 101086 11062 84805 12% /boot > tmpfs 1553832 0 1553832 0% /dev/shm > [root at vicidialnow ~]# du > 16896 . > You have new mail in /var/spool/mail/root > > [root at vicidialnow ~]# df -i > Filesystem Inodes IUsed IFree IUse% Mounted on > /dev/sda2 77922304 528483 77393821 1% / > /dev/sda1 26104 34 26070 1% /boot > tmpfs 219910 1 219909 1% /dev/shm > You have new mail in /var/spool/mail/root > > > But my concern is how to solve it > > I even tried restarting the server , though it will kill unwanted process > and will release the space but no ho >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090224/8d2a6cd5/attachment.htm
On Mon, 23 Feb 2009, David fire wrote: [snip]> > cd /<some dir>/<maybe other dir> > rm * -r -f > > PLEASE DONT DO THIS AT THE ROOT DIR OR YOU WILL ERASE ALL THE DISK. > CD TO THE TARGET DIRECTORY OR YOU WILL DESTROY YOUR SERVER. >Nah, you will only get as far as some shared libraries before the system crashes :) Odd syntax you have there. Most would destroy things with rm -rf * . j
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 David @ULC wrote:> When I am trying to delete voice logs, > > [root at vicidialnow monitor]# rm * -r -f > -bash: /bin/rm: Argument list too long > [root at vicidialnow monitor]# > > Argument list too long is coming as a road block. > > Now way to forcefully delete files ? >Use: cd /path/to/monitor find . -type f | xargs rm -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFJo+4sCFu3bIiwtTARAmtlAJ9ZSHjMUTFogxjV1+R3SVai46PxtQCgifkJ m18j5pNazt3YBytO3rUV/NU=djs8 -----END PGP SIGNATURE-----