Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

udf maximum file size 1GiB ?

5 views
Skip to first unread message

Jamil Djadala

unread,
Oct 29, 2006, 8:00:13 AM10/29/06
to
Hi,

I'm use debian testing(etch), amd64 and i386.
for my usb mass storage i use udf, according to specs, udf have maximum
file size 16EiB
http://en.wikipedia.org/wiki/Comparison_of_file_systems

But i cant create file more that 1GiB:


mkudffs --media-type=hd /dev/sda1
mount -t udf /dev/sda1 /mnt
cd /mnt
dd if=/dev/zero of=big_file bs=1024 count=2000000
File size limit exceeded

and big_file is 1G big.
same on amd64 and i386

any ideas what is wrong ?

--
Jamil Djadala <dja...@datamax.bg>


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Dominique Dumont

unread,
Nov 3, 2006, 6:00:18 AM11/3/06
to
Jamil Djadala <dja...@datamax.bg> writes:

> I'm use debian testing(etch), amd64 and i386.
> for my usb mass storage i use udf, according to specs, udf have maximum
> file size 16EiB
> http://en.wikipedia.org/wiki/Comparison_of_file_systems
>
> But i cant create file more that 1GiB:

[snip]


> dd if=/dev/zero of=big_file bs=1024 count=2000000
> File size limit exceeded
>
> and big_file is 1G big.
> same on amd64 and i386
>
> any ideas what is wrong ?

This problem was covered on lkml.

Long story short, the udf module has a bug which often corrupted
something (slab ?) in the kernel when writing file > 1Gb.

The udf module maintainer imposed this limit with 2.6.17 to avoid
harmful corruptions. He intends to write a proper fix for udf. But
this fix is not trivial and it will take some time.

Look for lklm archives if you want more details.

Until then, we're stuck.

Cheers

--
Dominique Dumont
"Delivering successful solutions requires giving people what they
need, not what they want." Kurt Bittner

0 new messages