Date: Mon, 6 Jul 2009 22:36:53 +0300 From: Kostik Belousov <kostikbel@gmail.com> To: "Marat N.Afanasyev" <amarat@ksu.ru> Cc: Ralf Folkerts <ralf.folkerts@gmx.de>, FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org> Subject: Re: bug in ufs? Message-ID: <20090706193653.GU2884@deviant.kiev.zoral.com.ua> In-Reply-To: <4A523849.1070001@ksu.ru> References: <4A50E947.9020608@ksu.ru> <4A523518.7050008@gmx.de> <4A523849.1070001@ksu.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
--VoIY86CJP7r500ch Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 06, 2009 at 09:45:45PM +0400, Marat N.Afanasyev wrote: > Ralf Folkerts wrote: > >Marat N.Afanasyev wrote: > >>hello! > >> > >>i have a strange problem with writing data to my ufs2+su filesystem. > >> > >>1. i made a 1T gpt partition on my storage server, and formatted it: > >>newfs -U -m 0 -o time -i 32768 /dev/da1p3a > >> > >>2. i tried to move data from other servers to this filesystem, total=20 > >>size of files is slightly less than 1T > >> > >>3. i encountered a 'No space left on device' while i still have 11G of= =20 > >>free space and about 13 million free inodes on the filesystem: > >> > >>#df -ih > >>Filesystem Size Used Avail Capacity iused ifree %iused=20 > >>Mounted on > >>/dev/da1p3a 1.0T 1.0T 11G 99% 20397465 13363173 60%=20 > >>/mnt/45_114 > >> > >>all i want to know is whether this is a bug or a feature? and if such= =20 > >>a behavior is well-known, where can i read about it? > >Hi Marat, > > > >just a guess: Are there sparse Files on the Source System that are not= =20 > >being detected by the Tool you used to restore the data? If you used=20 > >(bsd)tar, did you try -S? > > > >A while ago I ran into a similar Problem when copying=20 > >Oracle-Database-Files (on Linux, though) and the -S - Option came to=20 > >rescue. > > > >Cheers, > >_ralf_ >=20 > i have a huge amount of small files on the source systems, as you can=20 > see they have about 20 million files and almost each of them is jpeg or= =20 > gif. afaik, there are no sparse files at all. >=20 > i still cannot figure out what is it: a free space leak in ufs2+su or=20 > bug in statfs(3), that is used in df, or something else. My guess that it is due to fragmentation. As an experiment, try to create 1-byte file. Does it work on the filesystem in described state ? --VoIY86CJP7r500ch Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkpSUlUACgkQC3+MBN1Mb4imfACgyipDroKAZqEOVqeScX9cAVBt SooAoMLtKu5no0wCmBc3EPd4G/0C94Io =Xlq2 -----END PGP SIGNATURE----- --VoIY86CJP7r500ch--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090706193653.GU2884>