https://bugzilla.novell.com/show_bug.cgi?id=230254 ------- Comment #1 from mfabian@novell.com 2006-12-21 09:24 MST ------- How to reproduce: I have a 4.4G file which I want to write into an udf filesystem: root@magellan:/sakura/mfabian/test# ls -lh ttt 合計 4.4G -r-xr-xr-x 1 mfabian suse 4.4G 2005-06-11 14:36 ttt.avi* root@magellan:/sakura/mfabian/test# I create a big enough file to use it as a file system image: root@magellan:/sakura/mfabian/test# dd if=/dev/zero of=ttt.image bs=4700 count=1000000 1000000+0 records in 1000000+0 records out 4700000000 bytes (4.7 GB) copied, 132.993 s, 35.3 MB/s root@magellan:/sakura/mfabian/test# Now I format this image with an udf file system: root@magellan:/sakura/mfabian/test# mkudffs ttt.image mkudffs ttt.image start=0, blocks=16, type=RESERVED start=16, blocks=3, type=VRS start=19, blocks=237, type=USPACE start=256, blocks=1, type=ANCHOR start=257, blocks=16, type=PVDS start=273, blocks=1, type=LVID start=274, blocks=2294390, type=PSPACE start=2294664, blocks=1, type=ANCHOR start=2294665, blocks=239, type=USPACE start=2294904, blocks=16, type=RVDS start=2294920, blocks=1, type=ANCHOR root@magellan:/sakura/mfabian/test# Seems to have worked. Loopback mount the image: root@magellan:/sakura/mfabian/test# mount -o loop ttt.image /mnt root@magellan:/sakura/mfabian/test# mount | grep mnt /sakura/mfabian/test/ttt.image on /mnt type udf (rw,loop=/dev/loop0) root@magellan:/sakura/mfabian/test# Seems to have worked as well. Try to write into the UDF file system: root@magellan:/sakura/mfabian/test# echo "今日は世界" > /mnt/ttt root@magellan:/sakura/mfabian/test# root@magellan:/sakura/mfabian/test# ls -l /mnt/ttt -rw-r--r-- 1 root root 16 2006-12-21 17:08 /mnt/ttt root@magellan:/sakura/mfabian/test# cat /mnt/ttt 今日は世界 root@magellan:/sakura/mfabian/test# OK, works. Now try the 4.4GB file: root@magellan:/sakura/mfabian/test# time cp ttt.image /mnt ファイルサイズ制限を超過しました (core dumped) real 1m7.186s user 0m0.044s sys 0m3.008s root@magellan:/sakura/mfabian/test# cp dumps core. It has written only 1GB: root@magellan:/sakura/mfabian/test# ls -l /mnt 合計 1048576 drwxr-xr-x 2 root root 40 2006-12-21 16:04 lost+found/ -rw-r--r-- 1 root root 16 2006-12-21 17:08 ttt -rw-r--r-- 1 root root 1073741824 2006-12-21 17:10 ttt.image root@magellan:/sakura/mfabian/test# Remove the file again and try again with rsync instead of copy: root@magellan:/sakura/mfabian/test# rm /mnt/ttt.image root@magellan:/sakura/mfabian/test# time rsync ttt.image /mnt rsync: writefd_unbuffered failed to write 4 bytes [sender]: Broken pipe (32) rsync: write failed on "/mnt/ttt.image": File too large (27) rsync error: error in file IO (code 11) at receiver.c(253) [receiver=2.6.8] rsync: connection unexpectedly closed (40 bytes received so far) [generator] rsync error: error in rsync protocol data stream (code 12) at io.c(459) [generator=2.6.8] rsync: connection unexpectedly closed (30 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(459) [sender=2.6.8] real 1m12.860s user 0m5.328s sys 0m2.768s root@magellan:/sakura/mfabian/test# rsync also fails. When using "rsync -P" one can see that it also fails after having written 1GB. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.