Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Feb 2003 21:32:35 +0100 (CET)
From:      Anders Nordby <anders@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/48316: File size limit on NTFS filesystems
Message-ID:  <20030215203235.DA14A20244@totem.fix.no>

next in thread | raw e-mail | index | archive | help

>Number:         48316
>Category:       kern
>Synopsis:       File size limit on NTFS filesystems
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 15 12:40:03 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Anders Nordby
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
Fluxpod Information eXchange
>Environment:
System: FreeBSD eggsilo.localnet 4.7-STABLE FreeBSD 4.7-STABLE #0: Sun Jan  5 22:01:13 CET 2003     root@eggsilo.localnet:/usr/obj/usr/src/sys/EGGSILO  i386

And: FreeBSD current 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Sat Feb 15 02:28:31 GMT 2003     root@current:/usr/obj/usr/src/sys/GENERIC  i386
>Description:

Unable to copy a file larger than 659393536 bytes from a filesystem mounted off
an USB mass storage disk:

# pwd
/tmpdisk
# mount | grep tmpdisk
/dev/da0s1 on /tmpdisk (ntfs, local)
# ls -l Untitled_0001.avi 
-rwxr-xr-x  2 root  wheel  13544295424 Feb  4 19:50 Untitled_0001.avi
# cp Untitled_0001.avi /space/
# ls -l /space/Untitled_0001.avi
-rwxr-xr-x  1 1000  wheel  659393536 Feb 13 22:03 /space/Untitled_0001.avi

I don't believe the fact that the file is on a USB mass storage disk matters,
the problem should be within the NTFS implementation for FreeBSD.

Oh, and, the problem is serious for me because I am trying to do some work on
large video files.. And it's not very practical to have to ask people to split
up files etc.

>How-To-Repeat:

Create a NTFS filesystem (on probably any disk), copy a file that is larger
than 659393536 to it with an OS that has better NTFS support than FreeBSD (like
Windows!). Then mount said filesystem with FreeBSD, -stable or -current, try to
copy the file to a local filesystem. The copy will stop at 659393536 bytes.

>Fix:

N/A

I talked to tjr@ about it, and he suggested trying
http://people.freebsd.org/~tjr/ntfs-read-big.diff, but it has no effect on the
problem I mention here. Sigh.
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030215203235.DA14A20244>