Package Details: ntfs3-dkms 1:5.17-1

Git Clone URL: https://aur.archlinux.org/ntfs3-dkms.git (read-only, click to copy)
Package Base: ntfs3-dkms
Description: NTFS3 is fully functional NTFS Read-Write driver. The driver works with NTFS versions up to 3.1.
Upstream URL: https://www.kernel.org/doc/html/latest/filesystems/ntfs3.html
Licenses: GPL2
Conflicts: ntfs3
Provides: ntfs3, NTFS3-MODULE
Submitter: rdnvndr
Maintainer: rdnvndr
Last Packager: Hanabishi
Votes: 37
Popularity: 1.12
First Submitted: 2020-08-16 11:43 (UTC)
Last Updated: 2022-03-29 14:57 (UTC)

Pinned Comments

Hanabishi commented on 2021-06-28 13:33 (UTC) (edited on 2022-06-28 11:38 (UTC) by Hanabishi)

Note: the driver was merged to the upstream kernel in 5.15. So this package is useless for Arch official kernels.
If you want bleeding edge updates, use ntfs3-dkms-git.

Readme
More info and tips
How to use DKMS modules
Paragon NTFS3 FAQ

doug commented on 2020-09-09 07:24 (UTC) (edited on 2020-09-09 10:07 (UTC) by doug)

I made some test using bonnie and pts, this driver seems to be much faster than ntfs-3g

http://moodle.math.sk/~doug/bonnie_ntfs3_paragon.html

http://moodle.math.sk/~doug/bonnie_ntfs-3g.html

(disregard the read tests, since they were done from page cache)

edit: compilebench in pts, now includes native ext4, the paragon ntfs3 driver performance is comparable

https://openbenchmarking.org/result/2009092-NE-NTFSCOMPA56

Latest Comments

1 2 3 4 5 6 .. 16 Next › Last »

lacsaP commented on 2021-12-03 13:10 (UTC) (edited on 2021-12-03 13:19 (UTC) by lacsaP)

@Hanabishi, compilation is OK with all patches applied : thanks again. :-)

@Why? I had applied only the first one commented because it was the only one stamped 5.15 from which I took the sources. ;-)

Hanabishi commented on 2021-12-03 10:45 (UTC) (edited on 2021-12-03 10:51 (UTC) by Hanabishi)

I applied two patches : Makefile.patch and kernel-5.15-backport.patch

Why? I said lines 48-50. You need to apply all 3 backport patches in the strict order:

patch -p1 -N -i "${srcdir}/kernel-5.15-backport.patch"
patch -p1 -N -i "${srcdir}/kernel-5.14-backport.patch"
patch -p1 -N -i "${srcdir}/kernel-5.12-backport.patch"

Because you are targeting 5.10, it needs the whole downgrade chain.
And you don't need Makefile.patch, it's only for DKMS package.

lacsaP commented on 2021-12-03 10:08 (UTC) (edited on 2021-12-03 10:40 (UTC) by lacsaP)

I tried to compile Linux-LTS 5.10.83 with NTFS3 backported but I get an error.

after extracting the fs/ntfs3/ folder from the linux-5.15.6 archive, I applied two patches : Makefile.patch and kernel-5.15-backport.patch (which is in comment in the PKGBUILD file).

I then moved the patched ntfs3/ folder to the linux-5.10.83/fs/ folder and modified linux-5.10.83/fs/Makefile and linux-5.10.83/fs/Kconfig as indicated.

some questions are asked after launching makepkg :

...
NTFS Read-Write file system support (NTFS3_FS) [N/m/y/?] (NEW) y
  64 bits per NTFS clusters (NTFS3_64BIT_CLUSTER) [N/y/?] (NEW) n
  activate support of external compressions lzx/xpress (NTFS3_LZX_XPRESS) [N/y/?] (NEW) y
  NTFS POSIX Access Control Lists (NTFS3_FS_POSIX_ACL) [N/y/?] (NEW) n

then the compilation started but stopped on the backport :

...
  CC      fs/ntfs3/attrib.o
  CC      fs/ntfs3/attrlist.o
  CC      fs/ntfs3/bitfunc.o
  CC      fs/ntfs3/bitmap.o
  CC      fs/ntfs3/dir.o
  CC      fs/ntfs3/fsntfs.o
fs/ntfs3/fsntfs.c: In function 'ntfs_bio_fill_1':
fs/ntfs3/fsntfs.c:1602:38: error: 'BIO_MAX_VECS' undeclared (first use in this function); did you mean 'BIO_MAX_PAGES'?
 1602 |                 new = ntfs_alloc_bio(BIO_MAX_VECS);
      |                                      ^~~~~~~~~~~~
      |                                      BIO_MAX_PAGES
fs/ntfs3/fsntfs.c:1602:38: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [scripts/Makefile.build:280: fs/ntfs3/fsntfs.o] Error 1
make[1]: *** [scripts/Makefile.build:497: fs/ntfs3] Error 2
make: *** [Makefile:1822: fs] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

lacsaP commented on 2021-12-03 08:14 (UTC)

@Hanabishi, thanks a lot ! :-)

Hanabishi commented on 2021-12-02 10:56 (UTC) (edited on 2021-12-02 10:58 (UTC) by Hanabishi)

@lacsaP, the package already contains backport patches.

If you don't want to use DKMS and want to include it in the custom kernel build, well:
1) Extract fs/ntfs3 source from 5.15.
2) Apply the backport patches to it. (See lines 48-50 in the PKGBUILD as example.)
3) Put the sources into your kernel tree. Don't forget to include it in fs/Makefile and fs/Kconfig (again, see how it's done in 5.15).
4) Build the kernel.

lacsaP commented on 2021-12-02 10:13 (UTC) (edited on 2021-12-02 10:15 (UTC) by lacsaP)

@Hanabishi, could you give (me) explanations on how to backport NTFS3 on Linux-LTS (with, if possible, the non use of DKMS) ? may be in PKGBUILD file... regards, lacsaP

Hanabishi commented on 2021-11-13 09:13 (UTC) (edited on 2021-11-13 13:18 (UTC) by Hanabishi)

Well, 5.15 update is rolled out. Mainline users can uninstall the package now. But I will continue to update it to provide a backport for LTS users.
For those who wants the bleeding edge updates, even on 5.15+ (for testing or whatever reason), there is git package version.

Hanabishi commented on 2021-11-11 06:57 (UTC) (edited on 2021-11-11 07:29 (UTC) by Hanabishi)

@theriddick, I still think there are some issues with your system, not the driver.
Anyway, all the kernel discussion made through mailing lists. Here is ntfs3 archive: https://lore.kernel.org/ntfs3/, you can respond there or email directly to ntfs3@lists.linux.dev.

theriddick commented on 2021-11-11 02:33 (UTC)

Getting some MAJOR integrity issues with this driver and my NTFS SSD's and NVMe drives. Is there a place I can bug report? I'm needing to freq jump into windows10 to fix my drives.. something is very wrong!

jpegxguy commented on 2021-11-02 16:49 (UTC) (edited on 2021-11-02 16:49 (UTC) by jpegxguy)

Btw 5.15 kernel was released recently. So soon all mainline kernel users will not need this package anymore

You bet I'm frequently checking the repos to see 5.15 land on Arch. I am assuming/hoping that the vanilla arch config will have this and ksmbd enabled.