Haster du kortet er suspendert!

2013-04-09 Thread www.visa.no
Kj?re kunde, -- -- Vi har oppdaget uregelmessig aktivitet av deres kredittkort. For din beskyttelse, m? vi sjekke denne prosessen og kredittkort midlertidig begrense. Vennligst last ned Dokumentet i Vedlegg E,

small du(1) question

2011-10-19 Thread Alexander Best
hi there, the du(1) man page states the following: -B blocksize Calculate block counts in blocksize byte blocks. This is differ- ent from the -k, -m options or setting BLOCKSIZE and gives an estimate of how much space the examined file hierarchy

Re: small du(1) question

2011-10-19 Thread Chuck Swiger
On Oct 19, 2011, at 12:34 PM, Alexander Best wrote: the du(1) man page states the following: -B blocksize Calculate block counts in blocksize byte blocks. This is differ- ent from the -k, -m options or setting BLOCKSIZE and gives an estimate of how

Re: small du(1) question

2011-10-19 Thread Alexander Best
On Wed Oct 19 11, Chuck Swiger wrote: On Oct 19, 2011, at 12:34 PM, Alexander Best wrote: the du(1) man page states the following: -B blocksize Calculate block counts in blocksize byte blocks. This is differ- ent from the -k, -m options or setting

Re: small du(1) question

2011-10-19 Thread Alexander Best
On Wed Oct 19 11, Alexander Best wrote: On Wed Oct 19 11, Chuck Swiger wrote: On Oct 19, 2011, at 12:34 PM, Alexander Best wrote: the du(1) man page states the following: -B blocksize Calculate block counts in blocksize byte blocks. This is differ

Re: small du(1) question

2011-10-19 Thread Chuck Swiger
On Oct 19, 2011, at 1:37 PM, Alexander Best wrote: The default blocksize is 512 bytes. The -B option flag lets you tell du to assume a different filesystem blocksize. so when running freebsd on a hdd with a blocksize of 4k, a simple 'du -h' will always display incorrect results, unless

Re: small du(1) question

2011-10-19 Thread Robert Bonomi
Date: Wed, 19 Oct 2011 20:47:54 + From: Alexander Best arun...@freebsd.org Subject: Re: small du(1) question the blocksize of the underlying filesystem, shouldn't the output of 'du -A -B4096' and 'du -A' be the same? just tested this on freebsd 7 and freebsd 10 and the outputs differ

Re: small du(1) question

2011-10-19 Thread Lowell Gilbert
Chuck Swiger cswi...@mac.com writes: On Oct 19, 2011, at 1:37 PM, Alexander Best wrote: The default blocksize is 512 bytes. The -B option flag lets you tell du to assume a different filesystem blocksize. so when running freebsd on a hdd with a blocksize of 4k, a simple 'du -h

Don't understand df/du output

2011-08-12 Thread Alain AUDEBERT aka 2A
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

Re: Don't understand df/du output

2011-08-12 Thread Polytropon
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

Re: Don't understand df/du output

2011-08-12 Thread Alain AUDEBERT aka 2A
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

Re: Don't understand df/du output

2011-08-12 Thread Rodrigo Gonzalez
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

Re: Don't understand df/du output

2011-08-12 Thread Adam Vande More
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

Re: Don't understand df/du output

2011-08-12 Thread Alain AUDEBERT aka 2A
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

Re: Don't understand df/du output

2011-08-12 Thread Alain AUDEBERT aka 2A
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

Re: Don't understand df/du output

2011-08-12 Thread Rodrigo Gonzalez
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

Re: graphical representation of `du`

2011-04-06 Thread Peter Vereshagin
...@gmail.com  wrote: du -h . | awk '{a[i++]=$0} END {for (j=i-1; j=0;) print a[j--] }' | awk '{print($2 [$1]);}' | sed -e 's,[^-][^/]*/,--,g' -e 's,^,|,' I confess to being impressed... Yeah, but perhaps I should have used sed instead of the second awk; fewer

Re: graphical representation of `du`

2011-04-06 Thread Chuck Swiger
On Apr 6, 2011, at 11:34 AM, Peter Vereshagin wrote: Again, why don't you guys just use perl to provide a graphical du? I believe perl is just present on every freebsd machine where graphical du is needed. Although it is a common addition, Perl isn't part of the FreeBSD base system. Regards

Re: graphical representation of `du`

2011-04-06 Thread Chris Rees
2011/4/6 Peter Vereshagin pe...@vereshagin.org: Again, why don't you guys just use perl to provide a graphical du? I believe perl is just present on every freebsd machine where graphical du is needed. Why on Earth would you use Perl when a simple awk script will do??? Chris

Re: graphical representation of `du`

2011-04-06 Thread Peter Vereshagin
Nobody knows that you're in for that, freebsd-questions! 2011/04/06 20:34:42 +0100 Chris Rees utis...@gmail.com = To Peter Vereshagin : CR Again, why don't you guys just use perl to provide a graphical du? I believe CR perl is just present on every freebsd machine where graphical du

Re: graphical representation of `du`

2011-04-06 Thread Jerry McAllister
On Wed, Apr 06, 2011 at 08:34:42PM +0100, Chris Rees wrote: 2011/4/6 Peter Vereshagin pe...@vereshagin.org: Again, why don't you guys just use perl to provide a graphical du? I believe perl is just present on every freebsd machine where graphical du is needed. Why on Earth would you

Re[4]: graphical representation of `du`

2011-04-04 Thread Австин Ким
...@gmail.com  wrote: On 2 April 2011 18:07, Mike Jeaysmike.je...@rogers.com  wrote: On Sat, 2 Apr 2011 17:15:04 +0100 Chris Reesutis...@gmail.com  wrote: du -h . | awk '{a[i++]=$0} END {for (j=i-1; j=0;) print a[j--] }' | awk '{print($2 [$1]);}' | sed -e 's,[^-][^/]*/,--,g' -e 's

Re: graphical representation of `du`

2011-04-03 Thread David Demelier
On 02/04/2011 19:30, Chris Rees wrote: On 2 April 2011 18:22, Chris Reesutis...@gmail.com wrote: On 2 April 2011 18:07, Mike Jeaysmike.je...@rogers.com wrote: On Sat, 2 Apr 2011 17:15:04 +0100 Chris Reesutis...@gmail.com wrote: du -h . | awk '{a[i++]=$0} END {for (j=i-1; j=0;) print a[j

Re[2]: graphical representation of `du`

2011-04-03 Thread Австин Ким
Reesutis...@gmail.com wrote: du -h . | awk '{a[i++]=$0} END {for (j=i-1; j=0;) print a[j--] }' | awk '{print($2 [$1]);}' | sed -e 's,[^-][^/]*/,--,g' -e 's,^,|,' I confess to being impressed... Yeah, but perhaps I should have used sed instead of the second awk; fewer processes

Re: Re[2]: graphical representation of `du`

2011-04-03 Thread Chris Rees
...@rogers.com  wrote: On Sat, 2 Apr 2011 17:15:04 +0100 Chris Reesutis...@gmail.com  wrote: du -h . | awk '{a[i++]=$0} END {for (j=i-1; j=0;) print a[j--] }' | awk '{print($2 [$1]);}' | sed -e 's,[^-][^/]*/,--,g' -e 's,^,|,' I confess to being impressed... Yeah, but perhaps I should have

graphical representation of `du`

2011-04-02 Thread Ryan Coleman
I found this command: ls -R | grep :$ | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/' Which makes this: |-Mar17 |---1300074369-chow |-download |---small |---1300421616-Cunningham |-download |---small But I want to use `du` instead

Re: graphical representation of `du`

2011-04-02 Thread Chris Rees
  |-download   |---small But I want to use `du` instead to convert this 2.0M    ./Mar17/1300074369-chow/download/small 2.0M    ./Mar17/1300074369-chow/download 2.0M    ./Mar17/1300074369-chow 2.1M    ./Mar17/1300421616-Cunningham/download/small 2.1M    ./Mar17/1300421616-Cunningham

Re: graphical representation of `du`

2011-04-02 Thread Chris Rees
On 2 April 2011 18:07, Mike Jeays mike.je...@rogers.com wrote: On Sat, 2 Apr 2011 17:15:04 +0100 Chris Rees utis...@gmail.com wrote: du -h . | awk '{a[i++]=$0} END {for (j=i-1; j=0;) print a[j--] }' | awk '{print($2 [$1]);}' | sed -e 's,[^-][^/]*/,--,g' -e 's,^,|,' I confess to being

Re: graphical representation of `du`

2011-04-02 Thread Chris Rees
On 2 April 2011 18:22, Chris Rees utis...@gmail.com wrote: On 2 April 2011 18:07, Mike Jeays mike.je...@rogers.com wrote: On Sat, 2 Apr 2011 17:15:04 +0100 Chris Rees utis...@gmail.com wrote: du -h . | awk '{a[i++]=$0} END {for (j=i-1; j=0;) print a[j--] }' | awk '{print($2 [$1]);}' | sed -e

Re: graphical representation of `du`

2011-04-02 Thread Mike Jeays
On Sat, 2 Apr 2011 17:15:04 +0100 Chris Rees utis...@gmail.com wrote: du -h . | awk '{a[i++]=$0} END {for (j=i-1; j=0;) print a[j--] }' | awk '{print($2 [$1]);}' | sed -e 's,[^-][^/]*/,--,g' -e 's,^,|,' I confess to being impressed... ___ freebsd

Re: graphical representation of `du`

2011-04-02 Thread Ryan Coleman
Wow... You rock! Thanks so much! On Apr 2, 2011, at 12:30 PM, Chris Rees wrote: On 2 April 2011 18:22, Chris Rees utis...@gmail.com wrote: On 2 April 2011 18:07, Mike Jeays mike.je...@rogers.com wrote: On Sat, 2 Apr 2011 17:15:04 +0100 Chris Rees utis...@gmail.com wrote: du -h . | awk

Re: graphical representation of `du`

2011-04-02 Thread Gary Kline
On Sat, Apr 02, 2011 at 06:30:15PM +0100, Chris Rees wrote: On 2 April 2011 18:22, Chris Rees utis...@gmail.com wrote: On 2 April 2011 18:07, Mike Jeays mike.je...@rogers.com wrote: On Sat, 2 Apr 2011 17:15:04 +0100 Chris Rees utis...@gmail.com wrote: du -h . | awk '{a[i++]=$0} END

Re: graphical representation of `du`

2011-04-02 Thread David Chanters
Hi On 2 April 2011 15:20, Ryan Coleman edi...@d3photography.com wrote: I found this command: ls -R | grep :$ | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/   /' -e 's/-/|/' What about xdu? http://sd.wareonearth.com/~phil/xdu/ David ___

Re: graphical representation of `du`

2011-04-02 Thread perryh
Chris Rees utis...@gmail.com wrote: Maybe I should port it... +1 ___ 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: graphical representation of `du`

2011-04-02 Thread Ryan Coleman
Well, it looks like it's written for X, which I don't run on any of my servers. Thanks, though. On Apr 2, 2011, at 6:50 PM, David Chanters wrote: Hi On 2 April 2011 15:20, Ryan Coleman edi...@d3photography.com wrote: I found this command: ls -R | grep :$ | sed -e 's/:$//' -e

Re: graphical representation of `du`

2011-04-02 Thread David Chanters
On 3 April 2011 01:30, Ryan Coleman edi...@d3photography.com wrote: Well, it looks like it's written for X, which I don't run on any of my servers. Moan, moan, moan. It solves your problem though. David ___ freebsd-questions@freebsd.org mailing

Re: graphical representation of `du`

2011-04-02 Thread Ryan Coleman
Yeah I don't run these computers to be desktops :) On Apr 2, 2011, at 8:05 PM, David Chanters wrote: On 3 April 2011 01:30, Ryan Coleman edi...@d3photography.com wrote: Well, it looks like it's written for X, which I don't run on any of my servers. Moan, moan, moan. It solves your

Re: graphical representation of `du`

2011-04-02 Thread Gary Kline
On Sat, Apr 02, 2011 at 08:07:43PM -0500, Ryan Coleman wrote: Yeah I don't run these computers to be desktops :) exactly. i Do have x11 and ctwm just to get two xterms. but prefer the console. --besides, xdu takes too long. On Apr 2, 2011, at 8:05 PM, David Chanters

Re: graphical representation of `du`

2011-04-02 Thread David Chanters
On 3 April 2011 02:25, Gary Kline kl...@thought.org wrote: On Sat, Apr 02, 2011 at 08:07:43PM -0500, Ryan Coleman wrote: Yeah I don't run these computers to be desktops :)        exactly.  i Do have x11 and ctwm just to get two xterms.  but        prefer the console.  --besides, xdu takes

Re: / file system is full, but du does not show that it's full

2011-02-28 Thread c0re
2011/1/6 Matthew Seaman m.sea...@infracaninophile.co.uk: On 06/01/2011 11:26, c0re wrote: # df -h Filesystem     Size    Used   Avail Capacity  Mounted on /dev/ad0s1a    496M    466M   -9.8M   102%    / So it's full. But by du it's not appeared to be full # du -hxd 1 / 2.0K    /.snap

Re: / file system is full, but du does not show that it's full

2011-02-28 Thread Robert Bonomi
From owner-freebsd-questi...@freebsd.org Mon Feb 28 05:31:46 2011 Date: Mon, 28 Feb 2011 14:24:30 +0300 From: c0re nr1c...@gmail.com To: Matthew Seaman m.sea...@infracaninophile.co.uk Cc: FreeBSD freebsd-questions@freebsd.org Subject: Re: / file system is full, but du does not show

Re: / file system is full, but du does not show that it's full

2011-02-28 Thread Chris Rees
@freebsd.org Subject: Re: / file system is full, but du does not show that it's full 2011/1/6 Matthew Seaman m.sea...@infracaninophile.co.uk: On 06/01/2011 11:26, c0re wrote: # df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/ad0s1a496M466M -9.8M 102

Re: / file system is full, but du does not show that it's full

2011-02-28 Thread Damien Fleuriot
On 2/28/11 12:24 PM, c0re wrote: 2011/1/6 Matthew Seaman m.sea...@infracaninophile.co.uk: On 06/01/2011 11:26, c0re wrote: # df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/ad0s1a496M466M -9.8M 102%/ So it's full. But by du it's not appeared

Re: / file system is full, but du does not show that it's full

2011-02-28 Thread Chris Rees
On 28 February 2011 12:26, Chris Rees utis...@gmail.com wrote: # mount /dev/da0s1a /mnt/root/ mount: /dev/da0s1a : Operation not permitted So only single user mode or live cd could solve it. *NOT* true.  Stopping any daemons that were using /var/spooll, and then umount(1)-ing it would

Re: / file system is full, but du does not show that it's full

2011-02-28 Thread Damien Fleuriot
On 2/28/11 1:27 PM, Chris Rees wrote: On 28 February 2011 12:26, Chris Rees utis...@gmail.com wrote: # mount /dev/da0s1a /mnt/root/ mount: /dev/da0s1a : Operation not permitted So only single user mode or live cd could solve it. *NOT* true. Stopping any daemons that were using

Re: / file system is full, but du does not show that it's full

2011-02-28 Thread Chris Rees
On 28 February 2011 12:29, Damien Fleuriot m...@my.gd wrote: On 2/28/11 1:27 PM, Chris Rees wrote: On 28 February 2011 12:26, Chris Rees utis...@gmail.com wrote: # mount /dev/da0s1a /mnt/root/ mount: /dev/da0s1a : Operation not permitted So only single user mode or live cd could solve it.

Re: / file system is full, but du does not show that it's full

2011-02-28 Thread Polytropon
On Mon, 28 Feb 2011 13:29:59 +0100, Damien Fleuriot m...@my.gd wrote: Slice a (as in: da0s1a) is very likely his / /var is usually slice f Terminology: Slices are with numbers, partitions are with letters. :-) E. g. da0s1 is the FreeBSD slice, its partition a = da0s1a is /, while /var

Re: / file system is full, but du does not show that it's full

2011-02-28 Thread Arthur Chance
On 02/28/11 12:47, Polytropon wrote: On Mon, 28 Feb 2011 13:29:59 +0100, Damien Fleuriotm...@my.gd wrote: Slice a (as in: da0s1a) is very likely his / /var is usually slice f Terminology: Slices are with numbers, partitions are with letters. :-) E. g. da0s1 is the FreeBSD slice, its

Re: / file system is full, but du does not show that it's full

2011-02-28 Thread c0re
: / file system is full, but du does not show that it's full 2011/1/6 Matthew Seaman m.sea...@infracaninophile.co.uk: On 06/01/2011 11:26, c0re wrote: # df -h Filesystem     Size    Used   Avail Capacity  Mounted on /dev/ad0s1a    496M    466M   -9.8M   102%    / So it's full

/ file system is full, but du does not show that it's full

2011-01-06 Thread c0re
# df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/ad0s1a496M466M -9.8M 102%/ So it's full. But by du it's not appeared to be full # du -hxd 1 / 2.0K/.snap 512B/dev 2.0K/tmp 2.0K/usr 2.0K/var 1.9M/etc 2.0K/cdrom 2.0K/dist 1.0M

Re: / file system is full, but du does not show that it's full

2011-01-06 Thread Ryan Coleman
What about filehandlers? On Jan 6, 2011, at 5:26 AM, c0re wrote: # df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/ad0s1a496M466M -9.8M 102%/ So it's full. But by du it's not appeared to be full # du -hxd 1 / 2.0K/.snap 512B/dev 2.0K

Re: / file system is full, but du does not show that it's full

2011-01-06 Thread Matthew Seaman
On 06/01/2011 11:26, c0re wrote: # df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/ad0s1a496M466M -9.8M 102%/ So it's full. But by du it's not appeared to be full # du -hxd 1 / 2.0K/.snap 512B/dev 2.0K/tmp 2.0K/usr 2.0K/var

Re: / file system is full, but du does not show that it's full

2011-01-06 Thread c0re
2011/1/6 Ryan Coleman ryan.cole...@cwis.biz: What about filehandlers? On Jan 6, 2011, at 5:26 AM, c0re wrote: # df -h Filesystem     Size    Used   Avail Capacity  Mounted on /dev/ad0s1a    496M    466M   -9.8M   102%    / So it's full. But by du it's not appeared to be full # du

Re: / file system is full, but du does not show that it's full

2011-01-06 Thread c0re
2011/1/6 Matthew Seaman m.sea...@infracaninophile.co.uk: On 06/01/2011 11:26, c0re wrote: # df -h Filesystem     Size    Used   Avail Capacity  Mounted on /dev/ad0s1a    496M    466M   -9.8M   102%    / So it's full. But by du it's not appeared to be full # du -hxd 1 / 2.0K    /.snap

Re: / file system is full, but du does not show that it's full

2011-01-06 Thread Peter Vereshagin
Concrete jungle, oh freebsd-questions, you've got to do your best... 2011/01/06 15:06:18 +0300 c0re nr1c...@gmail.com = To FreeBSD : cr # lsof / why not to restart your httpd and mysqld? This may release your unused filehandles. Another place to look for wasted space is filesystem snapshots, if

Re: / file system is full, but du does not show that it's full

2011-01-06 Thread Peter Vereshagin
Concrete jungle, oh freebsd-questions, you've got to do your best... 2011/01/06 16:57:34 +0300 Peter Vereshagin pe...@vereshagin.org = To freebsd-questions@freebsd.org : PV This may release your unused filehandles. used but unlinked, really, oops. 73! Peter pgp: A0E26627 (4A42 6841 2871 5EA7

Re: / file system is full, but du does not show that it's full

2011-01-06 Thread Chris Rees
Server has been rebooted before to try this. Chris Sorry for top-posting, Android won't let me quote, but K-9 can't yet do threading. On 6 Jan 2011 14:06, Peter Vereshagin pe...@vereshagin.org wrote: Concrete jungle, oh freebsd-questions, you've got to do your best... 2011/01/06

Re: / file system is full, but du does not show that it's full

2011-01-06 Thread c0re
why not to restart your httpd and mysqld? This may release your unused filehandles. As I said I've restarted whole server, so nothing there to release at all. Another place to look for wasted space is filesystem snapshots, if any. They can be created implicitly, e. g., by fsck. Yeah, I

Re: / file system is full, but du does not show that it's full

2011-01-06 Thread Svein Skogen (Listmail account)
implicitly, e. g., by fsck. Yeah, I checked /.snap - nothing there. Reboot into single user mode, and check with du -hs /* before the system mounts other FS'es than / //Svein -- +---+--- /\ |Svein Skogen | sv...@d80.iso100

Re: / file system is full, but du does not show that it's full

2011-01-06 Thread Peter Vereshagin
Concrete jungle, oh freebsd-questions, you've got to do your best... 2011/01/06 17:19:05 +0300 c0re nr1c...@gmail.com = To FreeBSD : cr Another place to look for wasted space is filesystem snapshots, if any. They cr can be created implicitly, e. g., by fsck. cr Yeah, I checked /.snap - nothing

discrepancies in disk usage between df and du

2010-02-12 Thread Fernan Aguero
, but even though du shows some 700 Mb of usage, df shows that the disk is full (-1.5 Gb): [fer...@omega ~] sudo du -hc -d1 /var/ Password: 2.0K/var/.snap 423M/var/account 6.0K/var/at 2.0K/var/audit 18K/var/backups 4.0K/var/crash 6.0K/var/cron 53M/var/db 2.0K/var

Re: discrepancies in disk usage between df and du

2010-02-12 Thread Paul Schmehl
You have a file locking problem. du shows disk in use, but df shows disk committed. Use lsof to identify the file that has disk space reserved but no longer exists. man (8) lsof --On February 12, 2010 5:39:44 PM -0300 Fernan Aguero fernan.agu...@gmail.com wrote: Hi, I have a box (7.2

Re: discrepancies in disk usage between df and du

2010-02-12 Thread Fernan Aguero
On Fri, Feb 12, 2010 at 8:53 PM, Paul Schmehl pschmehl_li...@tx.rr.com wrote: You have a file locking problem.  du shows disk in use, but df shows disk committed.  Use lsof to identify the file that has disk space reserved but no longer exists.  man (8) lsof Thanks Paul for the suggestion

df -k vs. du -s

2009-08-13 Thread Don O'Neil
My /var partition is showing a different value for a df -k on the file system vs a du -s on the file system: df -k Filesystem1K-blocks Used Avail Capacity Mounted on /dev/ad0s1a 202603088954497440448%/ devfs 1 1 0 100%/dev

Re: df -k vs. du -s

2009-08-13 Thread Mel Flynn
On Thursday 13 August 2009 12:37:00 Don O'Neil wrote: My /var partition is showing a different value for a df -k on the file system vs a du -s on the file system: FAQ. Search = good(tm). http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#DU-VS-DF -- Mel

Re: df -k vs. du -s

2009-08-13 Thread Jerry McAllister
On Thu, Aug 13, 2009 at 01:37:00PM -0700, Don O'Neil wrote: My /var partition is showing a different value for a df -k on the file system vs a du -s on the file system: df -k Filesystem1K-blocks Used Avail Capacity Mounted on /dev/ad0s1a 202603088954497440448

Re: differences of disk usage between du and quota binaries

2009-02-07 Thread Nicolas Letellier
On Fri, 6 Feb 2009 20:12:56 + RW rwmailli...@googlemail.com wrote: On Fri, 6 Feb 2009 20:13:17 +0100 Nicolas Letellier nico...@nicoelro.net wrote: Hello. I use FreeBSD 6.3. I set quota to my fs. But, when I print disk usage with du -sh, I have: .. Why this difference

differences of disk usage between du and quota binaries

2009-02-06 Thread Nicolas Letellier
Hello. I use FreeBSD 6.3. I set quota to my fs. But, when I print disk usage with du -sh, I have: r...@domain sites $ du -sh folder 633Mfolder But, when I print disk usage with quota -u user, I have: isk quotas for user user (uid 2002): Filesystem usage quota limit grace

Re: differences of disk usage between du and quota binaries

2009-02-06 Thread Glen Barber
On Fri, Feb 6, 2009 at 2:13 PM, Nicolas Letellier nico...@nicoelro.net wrote: Hello. I use FreeBSD 6.3. I set quota to my fs. But, when I print disk usage with du -sh, I have: r...@domain sites $ du -sh folder 633Mfolder But, when I print disk usage with quota -u user, I have: isk

Re: differences of disk usage between du and quota binaries

2009-02-06 Thread Glen Barber
On Fri, Feb 6, 2009 at 2:33 PM, Glen Barber glen.j.bar...@gmail.com wrote: On Fri, Feb 6, 2009 at 2:13 PM, Nicolas Letellier nico...@nicoelro.net wrote: Hello. I use FreeBSD 6.3. I set quota to my fs. But, when I print disk usage with du -sh, I have: r...@domain sites $ du -sh folder

Re: differences of disk usage between du and quota binaries

2009-02-06 Thread RW
On Fri, 6 Feb 2009 20:13:17 +0100 Nicolas Letellier nico...@nicoelro.net wrote: Hello. I use FreeBSD 6.3. I set quota to my fs. But, when I print disk usage with du -sh, I have: .. Why this difference? (633M against 648264) Try dividing 648264 by 1024

df du showing different usages for /var

2008-02-06 Thread alex
After nearly running out of space on my /var partition recently, I went in to clean things up and ensure that it didn't happen again. Using the du command to look for offending directories and files, I wiped out a bunch of old Apache and Qmail logs...and then found that I was still using 90

Re: df du showing different usages for /var

2008-02-06 Thread Erik Trulsson
On Wed, Feb 06, 2008 at 02:28:43PM -0500, [EMAIL PROTECTED] wrote: After nearly running out of space on my /var partition recently, I went in to clean things up and ensure that it didn't happen again. Using the du command to look for offending directories and files, I wiped out a bunch

Re: df du showing different usages for /var

2008-02-06 Thread Bill Moran
In response to [EMAIL PROTECTED]: After nearly running out of space on my /var partition recently, I went in to clean things up and ensure that it didn't happen again. Using the du command to look for offending directories and files, I wiped out a bunch of old Apache and Qmail logs

Re: df du showing different usages for /var

2008-02-06 Thread alex
After nearly running out of space on my /var partition recently, I went in to clean things up and ensure that it didn't happen again. Using the du command to look for offending directories and files, I wiped out a bunch of old Apache and Qmail logs...and then found that I was still using 90

Re: df du showing different usages for /var

2008-02-06 Thread Wojciech Puchar
These wildly different results have me confused. How in the world can there be a ~1.2GB difference between the disk space in use as reported by these two tools? Which is right? More importantly, how do I fix this? 1) there is 1.2GB files open but deleted 2) there are snapshots i don't know

Re: df du showing different usages for /var

2008-02-06 Thread Wojciech Puchar
clean things up and ensure that it didn't happen again. Using the du command to look for offending directories and files, I wiped out a bunch of old Apache and Qmail logs...and then found that I was still using 90% of the you forgot to restart apache and qmail. and they keep these logs open

Fast du

2006-05-17 Thread Albert Shih
Hi all I search some technics/command/anything can make very fast «du» especialy when in the file system there are lot of lot of hard-link. Regards. -- Albert SHIH Universite de Paris 7 (Denis DIDEROT) U.F.R. de Mathematiques. 7 ième étage, plateau D, bureau 10 Heure local/Local time: Wed May

Re: Fast du

2006-05-17 Thread Charles Swiger
On May 17, 2006, at 5:35 PM, Albert Shih wrote: I search some technics/command/anything can make very fast «du» especialy when in the file system there are lot of lot of hard-link. Set up a swap-based RAM disk and run your du commands against files on that...? Otherwise, if you have

Re: Fast du

2006-05-17 Thread Albert Shih
Le 17/05/2006 à 18:17:54-0400, Charles Swiger a écrit On May 17, 2006, at 5:35 PM, Albert Shih wrote: I search some technics/command/anything can make very fast «du» especialy when in the file system there are lot of lot of hard-link. Set up a swap-based RAM disk and run your du commands

Re: Fast du

2006-05-17 Thread cpghost
On Thu, May 18, 2006 at 01:37:47AM +0200, Albert Shih wrote: Le 17/05/2006 ? 18:17:54-0400, Charles Swiger a ?crit On May 17, 2006, at 5:35 PM, Albert Shih wrote: I search some technics/command/anything can make very fast ?du? especialy when in the file system there are lot of lot

`du -h` not printing out the filesystems?

2005-08-30 Thread Robert G.
chkn# du -h 12K. chkn# Anyone know what that is? This is a brand new FreeBSD 5.4 install. Thanks -- Robert G. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any

Re: `du -h` not printing out the filesystems?

2005-08-30 Thread Glenn Dawson
At 08:43 PM 8/30/2005, Robert G. wrote: chkn# du -h 12K. chkn# Anyone know what that is? This is a brand new FreeBSD 5.4 install. A bit of a guess, but it looks like you're running du in a dir that has no subdirs. -Glenn Thanks -- Robert G

Re: `du -h` not printing out the filesystems?

2005-08-30 Thread Dan Nelson
In the last episode (Aug 30), Robert G. said: chkn# du -h 12K. chkn# Anyone know what that is? This is a brand new FreeBSD 5.4 install. Did you mean to run df maybe? -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions

Re: Soft-updates du df

2005-07-14 Thread Ivailo Tanusheff
Hilco Wijbenga [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 07/14/2005 12:01 AM To freebsd-questions@freebsd.org cc Subject Soft-updates du df Hi, I've taken over the administration of a FreeBSD box and now I've run into a problem that I could not solve by means of Google

Soft-updates du df

2005-07-13 Thread Hilco Wijbenga
248M246M-18M 108%/var even though [EMAIL PROTECTED] du -hs /var 43M/var Shouldn't du and df roughly agree on the amount that's used/available? /var is mounted using soft-updates [EMAIL PROTECTED] mount /dev/ad2s1a on / (ufs, local) devfs on /dev (devfs, local, multilabel

Re: Soft-updates du df

2005-07-13 Thread Kris Kennaway
On Wed, Jul 13, 2005 at 02:01:27PM -0700, Hilco Wijbenga wrote: Shouldn't du and df roughly agree on the amount that's used/available? Please consult the FAQ. Kris pgpAeaIlyXp8L.pgp Description: PGP signature

Re: Soft-updates du df

2005-07-13 Thread Dan Nelson
SizeUsed Avail Capacity Mounted on /dev/ad2s1d248M246M-18M 108%/var even though [EMAIL PROTECTED] du -hs /var 43M/var Shouldn't du and df roughly agree on the amount that's used/available? You probably have some deleted logfiles that are still held open

Re: Soft-updates du df

2005-07-13 Thread Hilco Wijbenga
On Wed, 2005-07-13 at 16:12 -0500, Dan Nelson wrote: You probably have some deleted logfiles that are still held open by processes. Run lsof +L1 -a /var to list the files and the processes (you may need to install lsof from ports). Kill and restart the offending processes and your freespace

Re: Soft-updates du df

2005-07-13 Thread Glenn Dawson
Used Avail Capacity Mounted on /dev/ad2s1d248M246M-18M 108%/var even though [EMAIL PROTECTED] du -hs /var 43M/var The discrepancy between du and df usually happens when a log file is deleted out from under syslogd. (or something similar) When that is done, syslogd

du -k VS ls -l (what I'm missing?)

2004-07-01 Thread Alex K
Hello, all! (sorry for not wraping text, it messes up) what do I miss here? sum of individual file sizes is much more than total in ls and more than du -k reports bash-2.05b$ ls -l total 354112 -rw-r--r-- 1 lesha wheel 98490960 1 12:29 88479E51B1D77190A2A8C882 -rw-r--r-- 1 lesha

Re: du -k VS ls -l (what I'm missing?)

2004-07-01 Thread Matthew Seaman
On Fri, Jul 02, 2004 at 01:04:32AM +0400, Alex K wrote: what do I miss here? sum of individual file sizes is much more than total in ls and more than du -k reports bash-2.05b$ ls -l total 354112 -rw-r--r-- 1 lesha wheel 98490960 1 ??? 12:29 88479E51B1D77190A2A8C882 -rw-r--r-- 1

Re: Disk full / NFS, df, and du

2004-05-17 Thread Eric Anderson
, they rm entire directory trees to free the space. They use du to determine how much space is in a directory and how much they are hogging. The problem I'm having is, after they do the rm's, it doesn't free the disk space. df shows it still being used, but du claims their directories are empty

Re: Disk full / NFS, df, and du

2004-05-17 Thread Nelis Lamprecht
On Mon, 2004-05-17 at 05:04, Eric Anderson wrote: The problem I'm having is, after they do the rm's, it doesn't free the disk space. df shows it still being used, but du claims their directories are empty. Please see http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#DU-VS

Re: Disk full / NFS, df, and du

2004-05-17 Thread Eric Anderson
Nelis Lamprecht wrote: On Mon, 2004-05-17 at 05:04, Eric Anderson wrote: The problem I'm having is, after they do the rm's, it doesn't free the disk space. df shows it still being used, but du claims their directories are empty. Please see http://www.freebsd.org/doc/en_US.ISO8859-1

Re: Disk full / NFS, df, and du

2004-05-17 Thread Jerry McAllister
Nelis Lamprecht wrote: On Mon, 2004-05-17 at 05:04, Eric Anderson wrote: The problem I'm having is, after they do the rm's, it doesn't free the disk space. df shows it still being used, but du claims their directories are empty. Please see http://www.freebsd.org

Re: Disk full / NFS, df, and du

2004-05-17 Thread Eric Anderson
Jerry McAllister wrote: Nelis Lamprecht wrote: On Mon, 2004-05-17 at 05:04, Eric Anderson wrote: The problem I'm having is, after they do the rm's, it doesn't free the disk space. df shows it still being used, but du claims their directories are empty. Please see

Re: Disk full / NFS, df, and du

2004-05-17 Thread Dan Nelson
fill up the partitions often enough, and when they do, they rm entire directory trees to free the space. They use du to determine how much space is in a directory and how much they are hogging. The problem I'm having is, after they do the rm's, it doesn't free the disk space. df shows it still

Re: Disk full / NFS, df, and du

2004-05-17 Thread Jerry McAllister
Jerry McAllister wrote: Nelis Lamprecht wrote: On Mon, 2004-05-17 at 05:04, Eric Anderson wrote: The problem I'm having is, after they do the rm's, it doesn't free the disk space. df shows it still being used, but du claims their directories are empty. Please see http

Re: du -s causes reboot

2004-05-16 Thread Eugene Lee
On Sat, May 15, 2004 at 04:50:24AM -0700, Kris Kennaway wrote: : : On Sat, May 15, 2004 at 04:54:10AM -0500, Eugene Lee wrote: : : FreeBSD 4.9p7. I have a new Dell PowerEdge 1750 that is giving me fits. : I have a ~/src directory containing source tarballs that are unpacked. : A du -s ~/src

  1   2   >