[nflug] uhoh tar backup

eric eric at bootz.us
Wed Aug 9 15:57:34 EDT 2006


dang no luck... the mysterious -N file didn't come back, but..

Filesystem            Size  Used Avail Use% Mounted on
/dev/hdc3             251M   99M  138M  42% /

is happy now

eric wrote:

>I am using cron through a webmin interface to schedule the ssh backups I
>wonder if that had anything to do with it ...I'll run the cron backup
>tar now to see if it reappears.
>
>
>
>eric wrote:
>
>  
>
>>yes, thank you.
>>
>>anyway I found this strange -N file that wasn't recording it's size it
>>seems maybe it was I don't know.
>>
>>the file  -N was located in a /root/webmin/cron/-N
>>it was 156M
>>
>>so I deleted it
>>
>>
>>Robert Meyer wrote:
>>
>> 
>>
>>    
>>
>>>OK, before this gets out of hand...
>>>
>>>Very little in /proc actually uses real disk space.  The system creates files
>>>that map to memory images.  That is to say that if you have 2 gigs of virtual
>>>memory that *is being used*, then /proc will look like it is using more than 2
>>>gigs of disk space.  This is phantom space.  It's really your virtual memory
>>>mapped to look like files.  It's not *actually* using disk space.  When
>>>checking the disk usage on a system, it's a good idea to exclude /proc from the
>>>list of directories to check.
>>>
>>>Does this clear anything up?
>>>
>>>Cheers!
>>>Bob
>>>
>>>--- eric <eric at bootz.us> wrote:
>>>
>>>
>>>
>>>   
>>>
>>>      
>>>
>>>>/proc/kcore is at 805M
>>>>
>>>>joshj at linuxmail.org wrote:
>>>>
>>>>  
>>>>
>>>>     
>>>>
>>>>        
>>>>
>>>>>When we last left our adventurers...
>>>>>
>>>>>    
>>>>>
>>>>>       
>>>>>
>>>>>          
>>>>>
>>>>>>well I thought I only had 500M but I guess that can't be right unless
>>>>>>swap took over??
>>>>>>      
>>>>>>
>>>>>>         
>>>>>>
>>>>>>            
>>>>>>
>>>>>I'm not 100% sure on this, but my understanding is that it is the size
>>>>>of all used memory. swap and otherwise. So it should equal
>>>>>the totals you get if you add up your used memory from the "free"
>>>>>command.
>>>>>Either way, it doesn't take up disk space. Nothing in /proc does.
>>>>>
>>>>>    
>>>>>
>>>>>       
>>>>>
>>>>>          
>>>>>
>>>>>>joshj at linuxmail.org wrote:
>>>>>>
>>>>>>      
>>>>>>
>>>>>>         
>>>>>>
>>>>>>            
>>>>>>
>>>>>>>When we last left our adventurers...
>>>>>>>
>>>>>>>        
>>>>>>>
>>>>>>>           
>>>>>>>
>>>>>>>              
>>>>>>>
>>>>>>>>ok this seems strange "/proc" is 775M
>>>>>>>>
>>>>>>>>any clues?
>>>>>>>>          
>>>>>>>>
>>>>>>>>             
>>>>>>>>
>>>>>>>>                
>>>>>>>>
>>>>>>>How much RAM do you have? Its probably mostly kcore.
>>>>>>>
>>>>>>>http://www.unixguide.net/linux/faq/04.16.shtml
>>>>>>>
>>>>>>>        
>>>>>>>
>>>>>>>           
>>>>>>>
>>>>>>>              
>>>>>>>
>>>>>>>>Mark Musone wrote:
>>>>>>>>
>>>>>>>>          
>>>>>>>>
>>>>>>>>             
>>>>>>>>
>>>>>>>>                
>>>>>>>>
>>>>>>>>>It is taking so long because "*" in / will also match and count the
>>>>>>>>>files in
>>>>>>>>>/home,/tmp,/usr, and /var.
>>>>>>>>>
>>>>>>>>>Manually put in the directory names, omitting those directories that
>>>>>>>>>are on
>>>>>>>>>other disks:
>>>>>>>>>
>>>>>>>>>In the following case of my / directory:
>>>>>>>>>-bash-2.05b# ls
>>>>>>>>>bin  boot  dev  etc  home  initrd  lib  local  lost+found  mnt
>>>>>>>>>mnt2  proc
>>>>>>>>>root  sbin  tftpboot  tmp  usr  var
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>"du -sk bin boot etc initrd lib local mnt mnt2 root sbin"
>>>>>>>>>
>>>>>>>>>It'd be a lot faster.
>>>>>>>>>
>>>>>>>>>Same thing with "find", issue the -xdev option to stay in just the /
>>>>>>>>>filesystem
>>>>>>>>>
>>>>>>>>>"find / -xdev -size +100K"   ...etc..
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>-Mark
>>>>>>>>>
>>>>>>>>>-----Original Message-----
>>>>>>>>>From: nflug-bounces at nflug.org [mailto:nflug-bounces at nflug.org] On
>>>>>>>>>Behalf Of
>>>>>>>>>eric
>>>>>>>>>Sent: Wednesday, August 09, 2006 1:21 PM
>>>>>>>>>To: nflug at nflug.org
>>>>>>>>>Subject: Re: [nflug] uhoh
>>>>>>>>>
>>>>>>>>>the commands are working so incredibly slow I decieded to delete some
>>>>>>>>>"safe stuff" I have a webmin directory in /root that has been
>>>>>>>>>their all
>>>>>>>>>along so I started to get rid of some files and the commands "find"
>>>>>>>>>"du"
>>>>>>>>>are still moving like snails, I tried du -s * from the / dir ...it
>>>>>>>>>had
>>>>>>>>>been running for a half hour so I zapped it with ctrl z and tried to
>>>>>>>>>delete some more stuff out the webmin dir.  So, I have a new
>>>>>>>>>question:
>>>>>>>>>could something on the system be creating a file or files
>>>>>>>>>constantly or
>>>>>>>>>can the 251M that was alotted over spill on the / dir and I have to
>>>>>>>>>delete down to 251M like memory is waiting to write to the hard
>>>>>>>>>drive?
>>>>>>>>>I slap my hands everytime I think I want to just restart the server
>>>>>>>>>typical windows brainwashing.
>>>>>>>>>
>>>>>>>>>Thanks,
>>>>>>>>>Eric
>>>>>>>>>
>>>>>>>>>Darin Perusich wrote:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>            
>>>>>>>>>
>>>>>>>>>               
>>>>>>>>>
>>>>>>>>>                  
>>>>>>>>>
>>>>>>>>>>or it could be /root.
>>>>>>>>>>
>>>>>>>>>>David J. Andruczyk wrote:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>              
>>>>>>>>>>
>>>>>>>>>>                 
>>>>>>>>>>
>>>>>>>>>>                    
>>>>>>>>>>
>>>>>>>>>>>cd / ; du -s *
>>>>>>>>>>>
>>>>>>>>>>>Odds are it's /lib/modules filled up if you have several kernels
>>>>>>>>>>>installed..
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>--- eric <eric at bootz.us> wrote:
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>                
>>>>>>>>>>>
>>>>>>>>>>>                   
>>>>>>>>>>>
>>>>>>>>>>>                      
>>>>>>>>>>>
>>>>>>>>>>>>File system            Size  Used Avail Use% Mounted on
>>>>>>>>>>>>/dev/hdc3             251M  251M     0 100% /
>>>>>>>>>>>>tmpfs                 758M  4.0K  758M   1% /dev/shm
>>>>>>>>>>>>/dev/hdc8             101G   12G   85G  12% /home
>>>>>>>>>>>>/dev/hdc7             358M  8.1M  331M   3% /tmp
>>>>>>>>>>>>/dev/hdc4             4.6G  516M  3.9G  12% /usr
>>>>>>>>>>>>/dev/hdc5             2.8G  1.6G  1.2G  58% /var
>>>>>>>>>>>>
>>>>>>>>>>>>My / directory is stuffed, I already have /var/logs linked into a
>>>>>>>>>>>>/home dir
>>>>>>>>>>>>how do I take out the trash sort of speak, I guess I should really
>>>>>>>>>>>>know what the culprit file or files that caused the fill up as
>>>>>>>>>>>>well
>>>>>>>>>>>>
>>>>>>>>>>>>Thanks again,
>>>>>>>>>>>>eric
>>>>>>>>>>>>
>>>>>>>>>>>>_______________________________________________
>>>>>>>>>>>>nflug mailing list
>>>>>>>>>>>>nflug at nflug.org
>>>>>>>>>>>>http://www.nflug.org/mailman/listinfo/nflug
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>                  
>>>>>>>>>>>>
>>>>>>>>>>>>                     
>>>>>>>>>>>>
>>>>>>>>>>>>                        
>>>>>>>>>>>>
>>>>>>>>>>>-- David J. Andruczyk
>>>>>>>>>>>
>>>>>>>>>>>__________________________________________________
>>>>>>>>>>>Do You Yahoo!?
>>>>>>>>>>>Tired of spam?  Yahoo! Mail has the best spam protection around
>>>>>>>>>>>http://mail.yahoo.com
>>>>>>>>>>>_______________________________________________
>>>>>>>>>>>nflug mailing list
>>>>>>>>>>>nflug at nflug.org
>>>>>>>>>>>http://www.nflug.org/mailman/listinfo/nflug
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>                
>>>>>>>>>>>
>>>>>>>>>>>                   
>>>>>>>>>>>
>>>>>>>>>>>                      
>>>>>>>>>>>
>>>>>>>>>>              
>>>>>>>>>>
>>>>>>>>>>                 
>>>>>>>>>>
>>>>>>>>>>                    
>>>>>>>>>>
>>>>>>>>>_______________________________________________
>>>>>>>>>nflug mailing list
>>>>>>>>>nflug at nflug.org
>>>>>>>>>http://www.nflug.org/mailman/listinfo/nflug
>>>>>>>>>
>>>>>>>>>_______________________________________________
>>>>>>>>>nflug mailing list
>>>>>>>>>nflug at nflug.org
>>>>>>>>>http://www.nflug.org/mailman/listinfo/nflug
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>            
>>>>>>>>>
>>>>>>>>>               
>>>>>>>>>
>>>>>>>>>                  
>>>>>>>>>
>>>>>>>>_______________________________________________
>>>>>>>>nflug mailing list
>>>>>>>>nflug at nflug.org
>>>>>>>>http://www.nflug.org/mailman/listinfo/nflug
>>>>>>>>
>>>>>>>>          
>>>>>>>>
>>>>>>>>             
>>>>>>>>
>>>>>>>>                
>>>>>>>>
>>>>>>>_______________________________________________
>>>>>>>nflug mailing list
>>>>>>>nflug at nflug.org
>>>>>>>http://www.nflug.org/mailman/listinfo/nflug
>>>>>>>        
>>>>>>>
>>>>>>>           
>>>>>>>
>>>>>>>              
>>>>>>>
>>>>>>_______________________________________________
>>>>>>nflug mailing list
>>>>>>nflug at nflug.org
>>>>>>http://www.nflug.org/mailman/listinfo/nflug
>>>>>>
>>>>>>      
>>>>>>
>>>>>>         
>>>>>>
>>>>>>            
>>>>>>
>>>>>_______________________________________________
>>>>>nflug mailing list
>>>>>nflug at nflug.org
>>>>>http://www.nflug.org/mailman/listinfo/nflug
>>>>>    
>>>>>
>>>>>       
>>>>>
>>>>>          
>>>>>
>>>>_______________________________________________
>>>>nflug mailing list
>>>>nflug at nflug.org
>>>>http://www.nflug.org/mailman/listinfo/nflug
>>>>
>>>>  
>>>>
>>>>     
>>>>
>>>>        
>>>>
>>>__________________________________________________
>>>Do You Yahoo!?
>>>Tired of spam?  Yahoo! Mail has the best spam protection around 
>>>http://mail.yahoo.com 
>>>_______________________________________________
>>>nflug mailing list
>>>nflug at nflug.org
>>>http://www.nflug.org/mailman/listinfo/nflug
>>>
>>>
>>>   
>>>
>>>      
>>>
>>_______________________________________________
>>nflug mailing list
>>nflug at nflug.org
>>http://www.nflug.org/mailman/listinfo/nflug
>> 
>>
>>    
>>
>
>_______________________________________________
>nflug mailing list
>nflug at nflug.org
>http://www.nflug.org/mailman/listinfo/nflug
>  
>

_______________________________________________
nflug mailing list
nflug at nflug.org
http://www.nflug.org/mailman/listinfo/nflug



More information about the nflug mailing list