The Linux.uk Community Forum

General Help & Advice => Linux Support => Topic started by: BkS on December 07, 2014, 11:51:42 PM

Title: NTFS File Transfering Problems - Error splicing file: Value too large for define
Post by: BkS on December 07, 2014, 11:51:42 PM
Hoping someone can assist here.

When transferring files between both of my NTFS drives I keep getting this error:

Error splicing file: Value too large for defined data type fix

After looking into it, seems like it's a kernel/samba issue. I googled around, and found an old launchpad thread:

https://bugs.launchpad.net/ubuntu/+source/gcc-defaults/+bug/455122

People have been able to get around this error by doing:

mount -t cifs -o user=me,pass=secret,nounix,noserverino //server/share /mount

however my drives aren't CIFS shares. I'm just transferring directly between drives.

Any possible way to change that command so it works with ntfs mounts?
Title: Re: NTFS File Transfering Problems - Error splicing file: Value too large for define
Post by: chemicalfan on December 08, 2014, 09:29:33 AM
That seems to be a bug in gcc when compiling - my guess is that you're using the file manager (Nautilus?), so the bug is probably there.

Is there anything unusual with these files? Are they large? Is either drive heavily fragmented? Can I be clear - both drives are NTFS?
Title: Re: NTFS File Transfering Problems - Error splicing file: Value too large for define
Post by: BkS on December 08, 2014, 12:15:19 PM
The files are pretty large yeah. In excess of 30GB.

Both drives are NTFS. Non are fragmented though.
Title: Re: NTFS File Transfering Problems - Error splicing file: Value too large for define
Post by: Mark Greaves (PCNetSpec) on December 08, 2014, 01:03:33 PM
How is Linux being loaded ? (liveCD ?)

How are these drives connected ?
Title: Re: NTFS File Transfering Problems - Error splicing file: Value too large for define
Post by: BkS on December 08, 2014, 01:24:33 PM
From my Ubuntu installation. The other two drives are backup drives, no OSes on them.
Title: Re: NTFS File Transfering Problems - Error splicing file: Value too large for define
Post by: Mark Greaves (PCNetSpec) on December 08, 2014, 02:52:35 PM
But how are they attached ? (USB / SATA)

and how are they mounted ? (FUSE or via fstab)
Title: Re: NTFS File Transfering Problems - Error splicing file: Value too large for define
Post by: BkS on December 08, 2014, 04:56:38 PM
They're connected via Sata of course. :)

I guess they're FSTAB? I'm not sure... They just mount when I click them in Nautilus.
Title: Re: NTFS File Transfering Problems - Error splicing file: Value too large for define
Post by: Mark Greaves (PCNetSpec) on December 08, 2014, 07:15:03 PM
Reboot, then without doing anything else, post the uotput from:
mount
and the contents of:
gedit /etc/fstab
then click the drives in file manager to mount them .. and post the output from
mount
again