[Bug 381658] New: du returns wrong size in curlftpfs-mounted directory
https://bugzilla.novell.com/show_bug.cgi?id=381658 Summary: du returns wrong size in curlftpfs-mounted directory Product: openSUSE 10.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: mszeredi@novell.com ReportedBy: suse-beta@cboltz.de QAContact: qa@suse.de Found By: --- I have a strange problem with a curlftpfs-mounted directory: "du" reports the wrong size for the directory. # mount |grep curl curlftpfs on /home/backup/ftp type fuse (rw,nosuid,nodev) # cd /home/backup/ftp/backups/2008-04-12 # du 6094996 . # about 6 GB - wrong # find -type f -ls | awk "{sum += \$7} END {print sum}" 10536101807 # about 10 GB - correct When running "du" in the local copy of the directory, I get the correct size listed. Filesizes in the directory: # find -ls |awk '{print $7}' | xargs echo 8192 7855504 1766665 8099791 691 481243633 9493 57403 1742047 418171565 4137844 14147 8748 10720926 169934867 11621 12441 139038070 3941648 100351227 161402117 804182769 910914 16990408 1777658 20595263 1173191 335 54252311 4679472300 1421265548 741224971 4506683 286260068 335781 1002692 56990201 6429579 9236121 25974440 181814956 181841628 178594018 51370 4176224 382074 33446787 134 545028 270638947 281 34713169 132 256 10945 8743296 30533 10066 282 (Sorry for not including the filenames, but they include a customer's name. If needed, I can provide an anonyzized list.) Unfortunately I can't test this with a newer distribution than 10.2. # rpm -q curlftpfs curlftpfs-0.9-16 -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=381658
User mszeredi@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=381658#c1
Miklos Szeredi
https://bugzilla.novell.com/show_bug.cgi?id=381658
User suse-beta@cboltz.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=381658#c2
Christian Boltz
https://bugzilla.novell.com/show_bug.cgi?id=381658
User mszeredi@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=381658#c3
--- Comment #3 from Miklos Szeredi
https://bugzilla.novell.com/show_bug.cgi?id=381658
User mszeredi@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=381658#c4
Miklos Szeredi
participants (1)
-
bugzilla_noreply@novell.com