File corruption after copying files via samba from Karmic to Karmic
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba |
Fix Released
|
Unknown
|
|||
samba (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Binary package hint: samba
Yesterday, I tried to copy flac files from my laptop (Ubuntu Karmic, 32-bit, running ext4 but source files are on ntfs) to my desktop (Ubuntu Karmic, 32-bit, running ext4 but destination was on ntfs) via samba. I mounted the samba share of my desktop on my latop and started the copy process on the laptop.
After this, I tried to play the files on my desktop. However, I got errors from Exaile: the stream was not correct. So, I used foobar to test the File integrity of the files, and in almost all files, it found errors. I checked on my laptop, and those errors did not exist on the files on the laptop.
So, I tried to copy them again using samba, but with the same result. foobar's File Integrity test even give exactly the same errors for the files (see the attached error log).
Then, I copied the files using a USB stick and this time, foobar reported al was ok.
So, I think this is a bug in the samba package, as copying over samba did not work and an USB stick worked fine.
I think I should give more info, but I don't know what to report.
$ apt-cache policy samba
samba:
Installed: 2:3.4.0-3ubuntu5.1
Candidate: 2:3.4.0-3ubuntu5.2
Version table:
2:
500 http://
*** 2:3.4.0-3ubuntu5.1 0
500 http://
100 /var/lib/
2:
500 http://
$ apt-cache policy ntfs-3g
ntfs-3g:
Installed: 1:2009.4.4-1ubuntu4
Candidate: 1:2009.4.4-1ubuntu4
Version table:
*** 1:2009.4.4-1ubuntu4 0
500 http://
100 /var/lib/
Changed in samba: | |
status: | Unknown → Fix Released |
Changed in samba (Ubuntu): | |
status: | Triaged → Fix Released |
Changed in samba: | |
importance: | Unknown → Critical |
Changed in samba: | |
importance: | Critical → Unknown |
I have some more information:
- this does not happen if the desktop computer is running Windows 7 (So I'm copying from my latop with Karmic 2.6.31.15 to the Windows computer).
- Currently, the share is mounted via /etc/fstab. If I mount the share using the Gnome interface (Places > Connect to server), the corruption does not happen. (It doesn't matter if I run Win7 or Linux)
I mount the share with the following entry in /etc/fstab:
//172.19.3.4/Media /home/ernstblaa uw/media cifs comment= sshfs,username= user,password= pass,noauto, nounix, users,exec, uid=1000, gid=1000, domain= domain, iocharset= utf8 0 0
The comment is used to unmount the share if the network goes down and remount it if the network comes up.
Do I have weird options in my fstab entry? I think this bug is quite severe, I hope it attracts some attention.