From owner-freebsd-questions@FreeBSD.ORG  Fri May  5 02:26:20 2006
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
X-Original-To: freebsd-questions@freebsd.org
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 106E316A403
	for <freebsd-questions@freebsd.org>;
	Fri,  5 May 2006 02:26:20 +0000 (UTC)
	(envelope-from lopisaur@gmail.com)
Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.207])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 19F2543D46
	for <freebsd-questions@freebsd.org>;
	Fri,  5 May 2006 02:26:19 +0000 (GMT)
	(envelope-from lopisaur@gmail.com)
Received: by wx-out-0102.google.com with SMTP id t13so431995wxc
	for <freebsd-questions@freebsd.org>;
	Thu, 04 May 2006 19:26:18 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
	h=received:subject:from:reply-to:to:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding;
	b=XaC+hc4IIuMdvDV+CG7l2Jaag13zWkbaiYI5mt1dTgqqPaHT7HWmp3GMnsS5JmkCYzOgbjV1aWhVl1kAYPXrj+EmO2nGlMNvYTLD5vBRBGjiwEakSgBCTzlSPUFDnxmCfKPHCYGKffzsVoZhTodva6D3yyogEss3jpmOHVplX98=
Received: by 10.70.38.6 with SMTP id l6mr451539wxl;
	Thu, 04 May 2006 19:26:18 -0700 (PDT)
Received: from hellion.clcw ( [205.241.38.130])
	by mx.gmail.com with ESMTP id h19sm6071048wxd.2006.05.04.19.26.16;
	Thu, 04 May 2006 19:26:18 -0700 (PDT)
From: Christian Lopez de Castilla Wagner <lopisaur@gmail.com>
To: freebsd-stable@freebsd.org, freebsd-questions@freebsd.org
Content-Type: text/plain
Date: Thu, 04 May 2006 22:30:23 -0400
Message-Id: <1146796223.21698.7.camel@hellion.clcw>
Mime-Version: 1.0
X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port 
Content-Transfer-Encoding: 7bit
Cc: 
Subject: Weird / FS behavior
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: lopisaur@gmail.com
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 05 May 2006 02:26:20 -0000

I'm posting this to -questions and -stable, since I'm not sure if it is
a problem or if I'm simply overlooking something.
(If someone knows how to get a Siemens phone to dump the whole
addressbook/calendar/whatever via Bluetooth to a SINGLE file, please let
me know.)

Anyway, I have the following directory:

root@hellion# ls ~/S56/vcs/20060504/
000_29.10.05_Meeting.vcs   019_24.02.06_Meeting.vcs
038_03.04.06_Meeting.vcs
001_02.11.05_Memo.vcs      020_25.02.06_Meeting.vcs
039_13.04.06_Meeting.vcs
002_05.11.05_Meeting.vcs   021_26.02.06_Call.vcs
040_14.04.06_Meeting.vcs
003_07.11.05_Meeting.vcs   022_28.02.06_Memo.vcs
041_18.04.06_Meeting.vcs
004_03.12.05_Memo.vcs      023_08.03.06_Memo.vcs
042_19.04.06_Meeting.vcs
005_03.12.05_Call.vcs      024_09.03.06_Memo.vcs
043_24.04.06_Meeting.vcs
006_05.12.05_Memo.vcs      025_12.03.06_Memo.vcs
044_28.04.06_Memo.vcs
007_08.12.05_Memo.vcs      026_15.03.06_Memo.vcs
045_04.05.06_Memo.vcs
008_12.01.06_Memo.vcs      027_17.03.06_Memo.vcs
046_31.07.06_Memo.vcs
009_13.01.06_Meeting.vcs   028_17.03.06_Meeting.vcs
047_15.09.79_Birthday.vcs
010_18.01.06_Meeting.vcs   029_19.03.06_Memo.vcs
048_18.11.83_Birthday.vcs
011_23.01.06_Memo.vcs      030_20.03.06_Memo.vcs
049_11.12.06_Memo.vcs
012_25.01.06_Meeting.vcs   031_25.03.06_Call.vcs
050_03.01.78_Birthday.vcs
013_27.01.06_Meeting.vcs   032_25.03.06_Meeting.vcs
051_09.01.76_Birthday.vcs
014_28.01.06_Meeting.vcs   033_01.04.06_Memo.vcs
052_25.01.77_Birthday.vcs
015_02.02.06_Memo.vcs      034_01.04.06_Memo.vcs
053_08.03.79_Birthday.vcs
016_12.02.06_Meeting.vcs   035_01.04.06_Meeting.vcs
054_12.03.75_Birthday.vcs
017_13.02.06_Meeting.vcs   036_01.04.06_Meeting.vcs
018_21.02.06_Meeting.vcs   037_03.04.06_Memo.vcs

root@hellion# du ~/S56/vcs/20060504/
112K    /root/S56/vcs/20060504/
112K    total

And:
root@hellion# df
Filesystem              Size    Used   Avail Capacity  Mounted on
/dev/ad0s1a             989M    766M    144M    84%    /
devfs                   1.0K    1.0K      0B   100%    /dev
/dev/ad1s1e             248M     25M    203M    11%    /tmp
/dev/ad0s1d              54G     14G     35G    29%    /usr
/dev/ad1s1f              54G     40G    8.9G    82%    /usr2
/dev/ad1s1d             739M    305M    375M    45%    /var
linprocfs               4.0K    4.0K      0B
100%    /usr/compat/linux/proc
/dev/da0s1               19G    1.3G     18G     7%    /back01
/dev/da0s2               19G    1.7G     17G     9%    /back02
blackout:/usr/backup    5.0G    3.7G    906M    81%    /blackout
total                   152G     62G     81G    44%

Anyway, I want to import all those .vcs files into Evolution, but since
there's no bulk import feature and I'm too lazy to do it by hand, I do
the following:

root@hellion# cat S56/vcs/20060504/*.vcs >> S56/vcs/20060504/cal.vcs

/: write failed, filesystem is full
cat: stdout: No space left on device

So:

root@hellion# df
Filesystem              Size    Used   Avail Capacity  Mounted on
/dev/ad0s1a             989M    967M    -57M   106%    /
devfs                   1.0K    1.0K      0B   100%    /dev
/dev/ad1s1e             248M     25M    203M    11%    /tmp
/dev/ad0s1d              54G     14G     35G    29%    /usr
/dev/ad1s1f              54G     40G    8.9G    82%    /usr2
/dev/ad1s1d             739M    305M    375M    45%    /var
linprocfs               4.0K    4.0K      0B
100%    /usr/compat/linux/proc
/dev/da0s1               19G    1.3G     18G     7%    /back01
/dev/da0s2               19G    1.7G     17G     9%    /back02
blackout:/usr/backup    5.0G    3.7G    906M    81%    /blackout
total                   152G     63G     81G    44%

And:

root@hellion# du S56/vcs/20060504/cal.vcs
201M    S56/vcs/20060504/cal.vcs
201M    total

Just to check:

root@hellion# cat ~/S56/vcs/20060504/*.vcs >> /usr/cal.vcs

root@hellion# du /usr/cal.vcs
 46K    /usr/cal.vcs
 46K    total

No matter how much space is left on /, the file will always grow until
it reaches 106% capacity. I know UFS reserves space, that's not my
problem, the problem is why that cat is doing this in the first place?

Just in case, I'm running:
root@hellion# uname -a
FreeBSD hellion.clcw 6.1-RC FreeBSD 6.1-RC #0: Sun Apr 16 12:09:39 BOT
2006     root@hellion.clcw:/usr/obj/usr/src/sys/20051212  i386

-- 
Christian Lopez de Castilla Wagner
lopisaur@gmail.com
lopisaur@acelerate.com
(+591-705)98290
http://lopisaur.googlepages.com