You are not logged in.

#1 2021-11-04 16:28:03

erickwill
Member
Registered: 2013-11-05
Posts: 137

Kernel 5.15 - Native NTFS

Dear fellas,
Good news since Kernel 5.15 was out early today, though one of the best news so far regarding this new release is not working: "Native" NTFS. I was using ntfs-3g (Already removed it) to manage this partition and to have an improved NTFS would be really compelling. Any thoughts on how to enable it? Did I missed something?

Offline

#2 2021-11-04 16:37:56

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,442
Website

Re: Kernel 5.15 - Native NTFS

https://github.com/archlinux/svntogit-p … nfig#L9549

EDIT: wait, but the next one is set as a module ... I misread the "3" as "3g" but that was never an in-kernel module.  Do you have the module on your system?  Does it load (with modprobe)?

How are you diagnosing it as not working?  What commands / fstab-options / etc are you using?  What errors are you getting?  Are you using fs-type "ntfs3"?

Last edited by Trilby (2021-11-04 16:42:04)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2021-11-04 16:43:53

nl6720
The Evil Wiki Admin
Registered: 2016-07-02
Posts: 591

Re: Kernel 5.15 - Native NTFS

erickwill wrote:

this new release is not working: "Native" NTFS.

That's not a very descriptive error.


CONFIG_NTFS_FS is the old one and CONFIG_NTFS3_FS the new one.

Mounting manually works fine:

# mount -t ntfs3 /dev/something /mountpoint

Udisks doesn't support it yet though. See https://github.com/storaged-project/udisks/issues/932.

Edit: Mounting from /etc/fstab should work too.

Last edited by nl6720 (2021-11-04 16:45:08)

Offline

#4 2021-11-04 16:48:38

Maniaxx
Member
Registered: 2014-05-14
Posts: 732

Re: Kernel 5.15 - Native NTFS

It works without loading ntfs3 module beforehand?


sys2064

Offline

#5 2021-11-04 16:53:51

xerxes_
Member
Registered: 2018-04-29
Posts: 662

Re: Kernel 5.15 - Native NTFS

What will happen if someone have ntfs-3g package installed an will update to new 5.15 kernel - which driver will work?

Also ntfs-3g package have some useful/interesting binarys like ntfsundelete, ntfsclone, ntfsrecover, ntfsresize, ntfsfix, ntfswipe, etc. What will happen with them and with this package?

Offline

#6 2021-11-04 16:56:28

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,422

Re: Kernel 5.15 - Native NTFS

Define "not working". I tested it as well and it indeed didn't work either at first, but that's because it's more strict and dmesg showed that it refuses to mount a NTFS drive where the dirty bit is set which you can clear with a chkdsk from Windows or force a mount with the force parameter.

Hence define what you actually did to surmise it isn't working, and check your dmesg for useful error messages.

Edit @xerxes: There's no conflict you can have both installed and use both at the same time in theory, if you properly adjust your relevant mount commands to use ntfs3 rather than ntfs-3g ntfs3 will be used. Some caveats will be that as mentioned udisks and thus most desktop mount helpers will currently still use ntfs-3g but this will likely be fixed in future developments.

Mod note: Moving to testing.

Last edited by V1del (2021-11-04 17:00:15)

Offline

#7 2021-11-05 00:27:40

erickwill
Member
Registered: 2013-11-05
Posts: 137

Re: Kernel 5.15 - Native NTFS

V1del wrote:

Define "not working". I tested it as well and it indeed didn't work either at first, but that's because it's more strict and dmesg showed that it refuses to mount a NTFS drive where the dirty bit is set which you can clear with a chkdsk from Windows or force a mount with the force parameter.

Hence define what you actually did to surmise it isn't working, and check your dmesg for useful error messages.

Edit @xerxes: There's no conflict you can have both installed and use both at the same time in theory, if you properly adjust your relevant mount commands to use ntfs3 rather than ntfs-3g ntfs3 will be used. Some caveats will be that as mentioned udisks and thus most desktop mount helpers will currently still use ntfs-3g but this will likely be fixed in future developments.

Mod note: Moving to testing.

Thanks for the reply. As you, I also did pretty much the same thing, but didn't have enough time to get a dmesg, sorry about that.
I'll repeat my steps and provide also a useful log.

Offline

#8 2021-11-05 05:54:09

deadite66
Member
Registered: 2015-06-13
Posts: 31

Re: Kernel 5.15 - Native NTFS

Both times i tried ntfs3 on rc6 and rc7 i soon got a corrupted folder, have a windows machine handy in case you need to repair the drive.

Offline

#9 2021-11-06 10:59:42

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,422

Re: Kernel 5.15 - Native NTFS

Can confirm, loads of corrupted folder messages in dmesg and a subsequent failure to remount due to the dirty bit. Besides that have not yet noticed something inherently problematic and don't have many really important files on the Windows drive but not really sure what the "corruption" ultimately entailed as I didn't notice an active loss in functionality despite the messages

Offline

#10 2021-11-06 11:33:48

deadite66
Member
Registered: 2015-06-13
Posts: 31

Re: Kernel 5.15 - Native NTFS

i was unable to delete a corrupted folder in linux.

Offline

#11 2021-11-08 10:32:43

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,422

Re: Kernel 5.15 - Native NTFS

It's only a single non-vital cache folder used by steam during application runs in my case, will check what happens if I properly clean that up from Windows and whether the error returns.

FWIW after cleaning the folder in question properly (... which I assume was already corrupted but ntfs-3g didn't care as much) I haven't had any further corruption so far.

Last edited by V1del (2021-11-10 11:00:22)

Offline

Board footer

Powered by FluxBB