Re: [CentOS] df -h shows system at 100% used, but there is space left
Has anyone seen output like this before? Notice on my /dev/md0 That it reports 100% used, but also 5.3 Gb available. What would cause this? # df -h FilesystemSize Used Avail Use% Mounted on /dev/sda2 71G 1.6G 66G 3% / /dev/sda1 99M 22M 73M 23% /boot tmpfs 506M 0 506M 0% /dev/shm /dev/md0 903G 851G 5.3G 100% /home I've never run into the reserved blocks being an issue (even though it may be the case here). I have run out of inodes (one per file, and if you have a ton of little files...). Run df -i to see what percent inodes your using. Wikipedia has a good explaination of inodes (http://en.wikipedia.org/wiki/Inode). ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] df -h shows system at 100% used, but there is space left
Has anyone seen output like this before? Notice on my /dev/md0 That it reports 100% used, but also 5.3 Gb available. What would cause this? # df -h FilesystemSize Used Avail Use% Mounted on /dev/sda2 71G 1.6G 66G 3% / /dev/sda1 99M 22M 73M 23% /boot tmpfs 506M 0 506M 0% /dev/shm /dev/md0 903G 851G 5.3G 100% /home I've never run into the reserved blocks being an issue (even though it may be the case here). I have run out of inodes (one per file, and if you have a ton of little files...). Run df -i to see what percent inodes your using. Wikipedia has a good explaination of inodes (http://en.wikipedia.org/wiki/Inode). sounds like reserved blocks to me also - use tune2fs to turn down the reserved blocks. That way you'll be able to use that space but be aware of the future problem that could cause you. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] df -h shows system at 100% used, but there is space left
Dnk wrote on Fri, 24 Apr 2009 10:04:38 -0700: What does that command do exactly? what about using man? Kai -- Kai Schätzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] df -h shows system at 100% used, but there is space left
On 25-Apr-09, at 1:31 PM, Kai Schaetzl mailli...@conactive.com wrote: Dnk wrote on Fri, 24 Apr 2009 10:04:38 -0700: What does that command do exactly? what about using man? Kai -- Been there, done that since I had gotten back to a Linux box. :-) I was out and about when I read your reply and got curious. Thanks in advance. D ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] df -h shows system at 100% used, but there is space left
The amount shown under Avail does not include the reserve, even if it is set. If the reserve is used, then avail (and Use%) become a negative value. For example it might say -2.5GB Available. The Size does include the reserve however. I agree with Jake that this is due to it rounding 99.5% used to a whole number. -- Eric On Fri, Apr 24, 2009 at 2:25 PM, Robert Heller hel...@deepsoft.com wrote: At Fri, 24 Apr 2009 09:43:57 -0700 CentOS mailing list centos@centos.org wrote: Has anyone seen output like this before? Notice on my /dev/md0 That it reports 100% used, but also 5.3 Gb available. What would cause this? # df -h Filesystem Size Used Avail Use% Mounted on /dev/sda2 71G 1.6G 66G 3% / /dev/sda1 99M 22M 73M 23% /boot tmpfs 506M 0 506M 0% /dev/shm /dev/md0 903G 851G 5.3G 100% /home Thanks in advance! There is a 'reserve' of space, that only root can write to. In the case of /dev/md0 above, normal users will get a 'no space left on device' error trying to write files. root, however, can still manage to write another 5.3 gig before encountering this error. It only shows up as so large because the reserve space is a *percentage* of the total file system, and /dev/md0 is a huge file system. d ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos -- Robert Heller -- 978-544-6933 Deepwoods Software -- Download the Model Railroad System http://www.deepsoft.com/ -- Binaries for Linux and MS-Windows hel...@deepsoft.com -- http://www.deepsoft.com/ModelRailroadSystem/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] df -h shows system at 100% used, but there is space left
Has anyone seen output like this before? Notice on my /dev/md0 That it reports 100% used, but also 5.3 Gb available. What would cause this? # df -h FilesystemSize Used Avail Use% Mounted on /dev/sda2 71G 1.6G 66G 3% / /dev/sda1 99M 22M 73M 23% /boot tmpfs 506M 0 506M 0% /dev/shm /dev/md0 903G 851G 5.3G 100% /home Thanks in advance! d ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] df -h shows system at 100% used, but there is space left
On Fri, Apr 24, 2009 at 7:43 PM, dnk d.k.emailli...@gmail.com wrote: Has anyone seen output like this before? Notice on my /dev/md0 That it reports 100% used, but also 5.3 Gb available. What would cause this? Because when an ext2/3 file system is formated by default 5% is reserved for root Use tune2fs -m reserved-blocks-percentage -- Laurentiu Coica ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] df -h shows system at 100% used, but there is space left
On 24-Apr-09, at 10:00 AM, Laurentiu Coica laurentiu.co...@gmail.com wrote: On Fri, Apr 24, 2009 at 7:43 PM, dnk d.k.emailli...@gmail.com wrote: Has anyone seen output like this before? Notice on my /dev/md0 That it reports 100% used, but also 5.3 Gb available. What would cause this? Because when an ext2/3 file system is formated by default 5% is reserved for root Use tune2fs -m reserved-blocks-percentage -- Laurentiu Coica ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos What does that command do exactly? Thanks in advance. D ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] df -h shows system at 100% used, but there is space left
On Fri, Apr 24, 2009 at 12:43 PM, dnk d.k.emailli...@gmail.com wrote: Has anyone seen output like this before? Notice on my /dev/md0 That it reports 100% used, but also 5.3 Gb available. What would cause this? # df -h Filesystem Size Used Avail Use% Mounted on /dev/sda2 71G 1.6G 66G 3% / /dev/sda1 99M 22M 73M 23% /boot tmpfs 506M 0 506M 0% /dev/shm /dev/md0 903G 851G 5.3G 100% /home This is completely normal rounding. 5.3/903=.005 or .5% - the human readable output doesn't show fractions of a percentage...it rounds. -- Jake Paulus jakepau...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] df -h shows system at 100% used, but there is space left
At Fri, 24 Apr 2009 09:43:57 -0700 CentOS mailing list centos@centos.org wrote: Has anyone seen output like this before? Notice on my /dev/md0 That it reports 100% used, but also 5.3 Gb available. What would cause this? # df -h FilesystemSize Used Avail Use% Mounted on /dev/sda2 71G 1.6G 66G 3% / /dev/sda1 99M 22M 73M 23% /boot tmpfs 506M 0 506M 0% /dev/shm /dev/md0 903G 851G 5.3G 100% /home Thanks in advance! There is a 'reserve' of space, that only root can write to. In the case of /dev/md0 above, normal users will get a 'no space left on device' error trying to write files. root, however, can still manage to write another 5.3 gig before encountering this error. It only shows up as so large because the reserve space is a *percentage* of the total file system, and /dev/md0 is a huge file system. d ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos -- Robert Heller -- 978-544-6933 Deepwoods Software-- Download the Model Railroad System http://www.deepsoft.com/ -- Binaries for Linux and MS-Windows hel...@deepsoft.com -- http://www.deepsoft.com/ModelRailroadSystem/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos