Skip to contentSkip to conversation

New: Files with size more >2GB was truncated after copy by ncpfs

Bugme-new Andrew Morton 2 participants 2 messages Nov 27, 2008 – Nov 29, 2008 1 message not in the archive VFS

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]/

#1 lore raw

(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface).

Quoted 29 lines · On Thu, 27 Nov 2008 09:12:29 -0800 (PST) [email protected] wrote:

http://bugzilla.kernel.org/show_bug.cgi?id=12112

Summary: Files with size more >2GB was truncated after copy by
ncpfs
Product: File System
Version: 2.5
KernelVersion: 2.6.27
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: high
Priority: P1
Component: Other
AssignedTo: [email protected]
ReportedBy: [email protected]

Latest working kernel version: none
Earliest failing kernel version: any
Distribution: Ubuntu/SuSE
Hardware Environment: any
Software Environment: any
Problem Description: I can't copy files more then 2Gb by ncpfs. They are trancate.

Steps to reproduce: Copy files from Netware/SuSE server to Ubuntu/SuSE desktop by ncpfs.

#2 lore raw
Quoted 33 lines · Andrew Morton

(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface).

Quoted 28 lines · On Thu, 27 Nov 2008 09:12:29 -0800 (PST) [email protected] wrote:

http://bugzilla.kernel.org/show_bug.cgi?id=12112

Summary: Files with size more >2GB was truncated after copy by
ncpfs
Product: File System
Version: 2.5
KernelVersion: 2.6.27
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: high
Priority: P1
Component: Other
AssignedTo: [email protected]
ReportedBy: [email protected]

Latest working kernel version: none
Earliest failing kernel version: any
Distribution: Ubuntu/SuSE
Hardware Environment: any
Software Environment: any
Problem Description: I can't copy files more then 2Gb by ncpfs. They are trancate.

Steps to reproduce: Copy files from Netware/SuSE server to Ubuntu/SuSE desktop by ncpfs.

ncpfs does not support files bigger than 4GB. If you get truncated files, I guess that your app is at fault, it should get SIGXFSZ or an error when you go over 4GB boundary:

(from fs/ncpfs/inode.c)

        sb->s_flags |= MS_NODIRATIME;   /* probably even noatime */
        sb->s_maxbytes = 0xFFFFFFFFU;
        sb->s_blocksize = 1024; /* Eh...  Is this correct? */

								Petr