Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 May 2006 22:30:23 -0400
From:      Christian Lopez de Castilla Wagner <lopisaur@gmail.com>
To:        freebsd-stable@freebsd.org, freebsd-questions@freebsd.org
Subject:   Weird / FS behavior
Message-ID:  <1146796223.21698.7.camel@hellion.clcw>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1146796223.21698.7.camel>