Re: df -h returns negatives values
On Tue, 26 May 2009 09:45:55 +0200, n ramrani nramr...@gmail.com wrote: Hi, I have FreeBSD 7.0-RELEASE-p4. After a problem, I have : /dev/aacd0s1d 2.9G -2.2G4.9G -83%/var I tried to do fsck but no change. Any ideas? FreeBSD keeps a certain percentage (I thin 8%) of your disk as a reserve, so you can have more disk space occupied than full size minus 8%). At the moment, the reserve is utilized to store some data. Maybe you find some files to delete in /var, the situation should normalize. But still, the values look something strange... too strange... -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: df -h returns negatives values
On Tue, 26 May 2009 16:47:15 +0300, Ivailo Tanusheff i.tanush...@procreditbank.bg wrote: If that was the case it would say something like 108%, not -83%. Yes, this makes it really strange. I didn't recognize it at first sight, because of the missing header: FilesystemSize Used Avail Capacity Mounted on /dev/aacd0s1d 2.9G -2.2G 4.9G-83% /var Another thing that I recognize right now is the device name - aacd0s1d - which refers to the Adaptec AdvancedRAID Controller driver (aac / d0 / s1 / d); maybe some disk data is reported wrong by the controller? Not much likely, too... The other strange value is the used size -2.2G. I see only 2 options: - Buffer overflow of the command (not much likely) - Problem with the data on the disk. This could be determined by running # du -sh /var and compare the total result to the size of the /var slice (/dev/aacd0s1d). In any case, a check in SUM with unmounted partition would be good, as you mentioned. Maybe you should run fsck -fFyv /var -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: df -h returns negatives values
Hi, do you have by change a partition larger than 2TB ? I had this with larger partions when I was trying to do them with fdisk, not with gpt ? Peter n ramrani wrote: Hi, I have FreeBSD 7.0-RELEASE-p4. After a problem, I have : /dev/aacd0s1d 2.9G -2.2G4.9G -83%/var I tried to do fsck but no change. Any ideas? thanks. nr. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: df -h returns negatives values
If that was the case it would say something like 108%, not -83%. The other strange value is the used size -2.2G. I see only 2 options: - Buffer overflow of the command (not much likely) - Problem with the data on the disk. Maybe you should run fsck -fFyv /var Regards, Ivailo Tanusheff Deputy Head of IT Department ProCredit Bank (Bulgaria) AD Polytropon free...@edvax.de Sent by: owner-freebsd-questi...@freebsd.org 26.05.2009 16:12 Please respond to Polytropon free...@edvax.de To n ramrani nramr...@gmail.com cc freebsd-questions@freebsd.org Subject Re: df -h returns negatives values On Tue, 26 May 2009 09:45:55 +0200, n ramrani nramr...@gmail.com wrote: Hi, I have FreeBSD 7.0-RELEASE-p4. After a problem, I have : /dev/aacd0s1d 2.9G -2.2G4.9G -83%/var I tried to do fsck but no change. Any ideas? FreeBSD keeps a certain percentage (I thin 8%) of your disk as a reserve, so you can have more disk space occupied than full size minus 8%). At the moment, the reserve is utilized to store some data. Maybe you find some files to delete in /var, the situation should normalize. But still, the values look something strange... too strange... -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: df -h returns negatives values
- No the controller doesn't report something wrong with my disk (test with arrconf) - my partitions are less than 2TB, I have two 146GB disks in raid1for my system - yes the controller is Adaptec - du -sh /var give me 258M /var /dev/aacd0s1d 2.9G -2.2G4.9G -83%/var I have /var/crash/ -rw--- 1 root wheel 94818304 May 20 11:56 vmcore.0 I do rm vmcore.0 /dev/aacd0s1d 2.9G -2.3G4.9G -86%/var I'll try again to do ( but I am not convinced that this solves my problem) fsck -fFyv /var 2009/5/26 Polytropon free...@edvax.de On Tue, 26 May 2009 09:45:55 +0200, n ramrani nramr...@gmail.com wrote: Hi, I have FreeBSD 7.0-RELEASE-p4. After a problem, I have : /dev/aacd0s1d 2.9G -2.2G4.9G -83%/var I tried to do fsck but no change. Any ideas? FreeBSD keeps a certain percentage (I thin 8%) of your disk as a reserve, so you can have more disk space occupied than full size minus 8%). At the moment, the reserve is utilized to store some data. Maybe you find some files to delete in /var, the situation should normalize. But still, the values look something strange... too strange... -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org