Server :: Df Shows Inconsistent Numbers - A Lot Of 'lost' Space - How To Find Sparse Files
Feb 3, 2011
There is a very conspicuous inaccuracy in the output of df. I should mention, that it was noticed to to a sudden change in the amount of space that was left on the backup partition. The df -h command produces the following output.
am writing a small search program for my class. I have decided to use indexing for my program. Ive researched online about indexing and how search engines do it. If im gonno do that I need to create inverted files to associate files to numbers ( numbers being the index of my paths ) . Now I was wondering what would be the best way to create an inverted file ? I was going to create sql tables using mysql api in C but then again there is no array data type or vectors to store few numbers in a single column in mysql and it is not advised to use Enum or SET
I am trying find files in a directory that contain numbers. I have tried ls /etc *[0-9]* but that doesn't work. If I cd to /etc and run ls *[0-9]* it almost works but it also includes results from within files. My last thought was to try: find /etc [0-9] -type f but this does not work either. My second problem is that I am trying to get list of files in a directory that were changed less than 10 hours ago, using grep, while leaving out directories. I am completely stuck with the second problem.
does anyone know of a good site/book/guide to learn about linux web server administration? and also how do you find the your own nameserver numbers? would that just be the IP of my web server?networking isn't my forte, but i do intend to learn with this project.
Today I was installing a lot of software since I'm just setting up my Slackware system again after a fresh install, and I realized that my root partition has very little space left.
Here is the output of df -h:
Code:
As you can see, I have a 20G (19G here for some reason) root partition, 8G /var, and 86G of /home. I thought this would be plenty since many recent recommendations for / are 10-15G. Now, though, 17G are used up for some reason! How is this possible? I thought a full slackware install only had about 4G of software! I don't have any music or movies or any crazy huge files that I know of, and those would be in my /home directory anyway. Is there any way I can see which files are taking up all this space?
If it's necessary to allocate more space to my / partition, is it still possible to boot up a GParted live Cd, shrink /home a bit, move some partitions to the right, and expand my root partition? I would REALLY prefer I don't have to reinstall since I just spent a ton of time setting up my system again, but if worst comes to worst ... :'-(
I've installed vsftp as ftp server on CentOS5. vsftpd.conf is unedited, works without change as it was installed (it's a private network on which I'm using anonymous ftp.)For some reason vsftp will not serve some files which I downloaded from another system (using ftp.) The downloaded files simply don't show up at all if I come into vsftp via a browser, for example, and 'get' fails in a command-line ftp client. Other files originating from the local machine are served OK.
If I copy the downloaded file, vsftp shows the copy just fine but not the original; both files are in /var/ftp (the ftp server root.)The downloaded file had group and owner as '65534' so I did chgrp/chown root, but that made no difference. Reboot makes no difference; restarting the client or using a different client machine makes no difference.What am I missing or doing wrong? What doesn't vsftpd like about the downloaded files? This is happening on two separate machines, and I'm very puzzled.
am trying to find a proper regex to match the two numbers in the following log entry.
Code: 15:08:16.142 INF Found 64468 15:08:16.142 ERR [Uniform test code=64469]
Basically the pattern I'm looking for will match the two different numbers spanned across two lines.Thought I need to use multi-line mode as follow but this doesn't match on [URL]...
I have a dual xeon e5420 server w/ 16GB ram running 5.3 x64 that I was trying to partition out in the following configuration:
250GB on / (root) 4.2TB on /home 50GB on /tmp 2GB on swap
The issue is that no matter what size I set the swap space to in anaconda if always shows 8GB when I "df -h". I've tried setting it to 2GB 1GB and 512MB all with the same result.
I don't know how to explain this but the free space indicator in folders shows a different number than in Gparted. The Picture pretty much shows it all.
I am using Ubuntu 11.04 and installed conky; I'm using the configuration attached, but as I do not know very much about it I do not know how to fix this. Every time I start ubuntu, conky shows above all other windows with a transparent space above it; every window I open appears as it is below conky (first image). To fix this I have to open the conky file and save it to reload it and then it stars again as it should (second image). Is there something I have to change in the conky file so whenever I start Ubuntu it shows as the second picture?
I have a lvm with 5 disk, I've been doing some benchmarks on the file-system with this lvm know I would like to remove one pv from the volume, I've tried
Code: # pvmove -v /dev/sde1 Finding volume group "test-vol" No extents available for allocation and also
What do the numbers in brackets mean? (I tried looking, but I don't know how to start to search for the answer to that without being too vague). I've noticed they're nearly always progressive (increasing). Do they just refer to the event number? And in my log file viewer, why is there a dmesg and a dmesg.0?
I am looking for such a tool, very much like the one that is on Windows 7, where you can basically with one glance see how much of a volume is occupied (graphical bar) and that for all mounted volumes. I have been looking for this, but so far I have not found it.Also, important: that it is auto updated. So that it is not like a report that was generated and then does not change anymore, but a live thing
I've 120GB of disk space. I've allocated 40GB each to my three partitions. Few days ago I've deleted some of the programs from the C drive (40GB). After that time my C drive shows only 33GB of space.
I've installed gparted but it also shows 33GB of space in C drive. Hows that possible? What can I do to get back my 7GB of lost space?
Transmission used to show space remaining on the drive you choose in the add window. Now it doesn't. Was this removed? I LOVED that convenience of not having to go to a separate file browser or terminal to show space. I tried posting at Transmissions forums but it's been 4 days with only 7 views and no reason to bump b/c the forum is so slow I'm still on the front page.
when i put in a movie that say has one name like "christmas.avi" it works fine, but if i put in a name like "dead space aftermath.avi" i get error messages saying that it can find "dead", cant find "space" and cant find "aftermath". how to fix this? I made sure to type everything correctly.
I installed oreka and can make succesfully call recordings. The problem i'm facing is when i record a call and check the details in database, localparty, remote party fields are storing with source and destination ip address not with there phone numbers.
I installed Ubuntu 9.04 on my laptop last week. I had it dual-booted with Vista, but when it became apparent that I would be using Ubuntu much more than Vista from now on I wanted to resize my partitions. Originally, Vista was ~180 Gib with about 100 Gib of free space and Ubuntu was ~ 40 Gib with about 5 Gib of free space.So all in all there was ~105 Gib of free space on my system.When I tried to resize my partitions from the Ubuntu live CD, it bombed out after it had already resized the two main partitions. When I rebooted, Ubuntu loaded fine and Gparted now says that it is 120 Gib, which is right but there is still about 5 Gib of free space.The Vista partition only has ~28 Gib of free space, so now I only have ~33 Gib of free space
I ve read this page and tried some methodes such as opening nautilus with"gksudo nautilus" and then checking (the now root?) trash bin.Ive got a ext4 formated truecrypt container which has a size of 400GB. After I have deleted all the files in it nautilus tells me that I now have only about 100gb free space but I cant see any files in the container anymore.
I have a bzip2 compressed disk image, and I would like to uncompress it again onto my disk without using up lots of space, in fact there isnt enough space on my disk if I were to uncompress it as is. However it was a sparse file with lots of space in its original form, so I know it will fit if I can uncompress it directly as sparse. Is there some combination of bzip2, cat, cp, dd or friends I can use to pipe the output from bzip2 directly to a sparse file again?