Don't understand df/du output
Hello list, I having a problem to understand the output of du and df command : [root@ftp ~]# df -h /opt/ FilesystemSizeUsed Avail Capacity Mounted on /dev/xbd6 387G342G 13G96%/opt [root@ftp ~]# du -sh /opt/ 342G/opt/ But 387Go - 342Go not equal to 13Go ! Where's the available space ? (same thing with df -k) I have try a tunefs -m 1 /dev/xbd6, unmount, mount and nothing change Is it the 8% reserved by FFS ? Regards, Alain -- -BEGIN GEEK CODE BLOCK- Version: 3.1 GIT/MU/S/SS d--(---)@ s++:+++ a C+ UBLS+++$ P+++ L E--- W++ N++ o+ K- w--(---) O M+(++) V PS++ PE-- Y++ PGP+ !t !5 X+++ R-- tv- b++ DI++ D+ G++ e+++ h+++ r y* --END GEEK CODE BLOCK-- ___ 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: Don't understand df/du output
On Fri, 12 Aug 2011 23:58:12 +0200, Alain AUDEBERT aka 2A wrote: Hello list, I having a problem to understand the output of du and df command : [root@ftp ~]# df -h /opt/ FilesystemSizeUsed Avail Capacity Mounted on /dev/xbd6 387G342G 13G96%/opt [root@ftp ~]# du -sh /opt/ 342G/opt/ But 387Go - 342Go not equal to 13Go ! Where's the available space ? (same thing with df -k) I have try a tunefs -m 1 /dev/xbd6, unmount, mount and nothing change Is it the 8% reserved by FFS ? See: http://www.freebsd.org/doc/en/books/faq/disks.html#DU-VS-DF -- Polytropon 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: Don't understand df/du output
Le 13 août 2011 à 00:35, Polytropon a écrit : On Fri, 12 Aug 2011 23:58:12 +0200, Alain AUDEBERT aka 2A wrote: Hello list, I having a problem to understand the output of du and df command : [root@ftp ~]# df -h /opt/ FilesystemSizeUsed Avail Capacity Mounted on /dev/xbd6 387G342G 13G96%/opt [root@ftp ~]# du -sh /opt/ 342G/opt/ But 387Go - 342Go not equal to 13Go ! Where's the available space ? (same thing with df -k) I have try a tunefs -m 1 /dev/xbd6, unmount, mount and nothing change Is it the 8% reserved by FFS ? See: http://www.freebsd.org/doc/en/books/faq/disks.html#DU-VS-DF Thank for the link, but in my case du and df are the same used output, and it's not an rm, I launch lsof and no process with a big file :-/ Regards, Alain -- -BEGIN GEEK CODE BLOCK- Version: 3.1 GIT/MU/S/SS d--(---)@ s++:+++ a C+ UBLS+++$ P+++ L E--- W++ N++ o+ K- w--(---) O M+(++) V PS++ PE-- Y++ PGP+ !t !5 X+++ R-- tv- b++ DI++ D+ G++ e+++ h+++ r y* --END GEEK CODE BLOCK-- ___ 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: Don't understand df/du output
On 08/12/2011 06:58 PM, Alain AUDEBERT aka 2A wrote: Hello list, I having a problem to understand the output of du and df command : [root@ftp ~]# df -h /opt/ FilesystemSizeUsed Avail Capacity Mounted on /dev/xbd6 387G342G 13G96%/opt [root@ftp ~]# du -sh /opt/ 342G/opt/ But 387Go - 342Go not equal to 13Go ! Where's the available space ? (same thing with df -k) I have try a tunefs -m 1 /dev/xbd6, unmount, mount and nothing change Is it the 8% reserved by FFS ? Yes read http://www.freebsd.org/doc/en/books/faq/disks.html Question *9.27* (last one) Regards, Alain ___ 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: Don't understand df/du output
On Fri, Aug 12, 2011 at 4:58 PM, Alain AUDEBERT aka 2A de...@me.com wrote: Is it the 8% reserved by FFS ? http://www.freebsd.org/doc/en/books/faq/disks.html#MANUFACTURER-DISK-SIZE -- Adam Vande More ___ 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: Don't understand df/du output
I have try a tunefs -m 1 /dev/xbd6, unmount, mount and nothing change Is it the 8% reserved by FFS ? Yes read http://www.freebsd.org/doc/en/books/faq/disks.html Question 9.27 (last one) Hi Rodrigo, Ok, so I understand why the free space is not equal to : available - used But in this case why when I turned the minfree space at 1% with tunefs there is no change ?? This point I don't understand About manufacturer the volume make 400Go, and appears like 393Go :) Thank you all Alain -- -BEGIN GEEK CODE BLOCK- Version: 3.1 GIT/MU/S/SS d--(---)@ s++:+++ a C+ UBLS+++$ P+++ L E--- W++ N++ o+ K- w--(---) O M+(++) V PS++ PE-- Y++ PGP+ !t !5 X+++ R-- tv- b++ DI++ D+ G++ e+++ h+++ r y* --END GEEK CODE BLOCK-- ___ 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: Don't understand df/du output
I have try a tunefs -m 1 /dev/xbd6, unmount, mount and nothing change Is it the 8% reserved by FFS ? Yes Maybe it's important, but it's not an hard disk, just a Xen volume ! So maybe we can't tunefs it ? Regards, Alain -- -BEGIN GEEK CODE BLOCK- Version: 3.1 GIT/MU/S/SS d--(---)@ s++:+++ a C+ UBLS+++$ P+++ L E--- W++ N++ o+ K- w--(---) O M+(++) V PS++ PE-- Y++ PGP+ !t !5 X+++ R-- tv- b++ DI++ D+ G++ e+++ h+++ r y* --END GEEK CODE BLOCK-- ___ 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: Don't understand df/du output
On 08/12/2011 08:14 PM, Alain AUDEBERT aka 2A wrote: I have try a tunefs -m 1 /dev/xbd6, unmount, mount and nothing change Is it the 8% reserved by FFS ? Yes Maybe it's important, but it's not an hard disk, just a Xen volume ! So maybe we can't tunefs it ? Unfortunately I cannot answer that :( Regards, Alain ___ 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