[dolphin] [Bug 445468] Cannot mount NTFS with the new ntfs3 module from Linux 5.15
https://bugs.kde.org/show_bug.cgi?id=445468 TraceyC changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|--- |DOWNSTREAM CC||[email protected] --- Comment #13 from TraceyC --- I'm closing this back out, since the latest comments confirm this is a problem with udisk2 and distro configuration. -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 445468] Cannot mount NTFS with the new ntfs3 module from Linux 5.15
https://bugs.kde.org/show_bug.cgi?id=445468 Geekley changed: What|Removed |Added CC||[email protected] -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 445468] Cannot mount NTFS with the new ntfs3 module from Linux 5.15
https://bugs.kde.org/show_bug.cgi?id=445468 notmyfirstrealname changed: What|Removed |Added CC||[email protected] --- Comment #12 from notmyfirstrealname --- (In reply to stargeizer from comment #11) > Ok, here's a fix. > > It seems there's a bug with udisk2, because if ntfs-3g is not present in the > system, udisk2 will not use the kernel NTFS driver. It needs to be > configured in /etc/udisks2/mount_options.conf (and by default, Archlinux > doesn't create it, you need to change the name of the file from > mount_options.conf.example to mount_options.conf. The file states that these > are the defaults, but for some reason, at least on my machines, udisk2 fails > on NTFS and XFS without explicitally configuring this file. For this bug > report, you need to create/edit the /etc/udisk2/mount_options.conf to > include the following: > > [defaults] > ntfs:ntfs3_defaults=uid=$UID,gid=$GID > ntfs:ntfs3_allow=uid=$UID,gid=$GID,umask,dmask,fmask,iocharset,discard, > nodiscard,sparse,nosparse,hidden,nohidden,sys_immutable,nosys_immutable, > showmeta,noshowmeta,prealloc,noprealloc,hide_dot_files,nohide_dot_files, > windows_names,nocase,case > ntfs_drivers=ntfs > > This should fix the KDE mount problem. > > Please confim if work or not on your machines, i tried to edit the Archlinux > "udisk2" wiki page and somebody there marked the solution as "non-factual". Yeah it worked with this fix, thanks for the solution. But I still don't know why it doesn't work when I have the 'ntfs-3g' archlinux package installed and without this fix. My specs: Operating System: Arch Linux KDE Plasma Version: 6.3.2 KDE Frameworks Version: 6.11.0 Qt Version: 6.8.2 Kernel Version: 6.13.5-zen1-1-zen (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 2700X Eight-Core Processor Memory: 23.4 GiB of RAM Graphics Processor: AMD Radeon RX 5600 XT Manufacturer: Gigabyte Technology Co., Ltd. Product Name: B450M GAMING -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 445468] Cannot mount NTFS with the new ntfs3 module from Linux 5.15
https://bugs.kde.org/show_bug.cgi?id=445468 stargeizer changed: What|Removed |Added CC||[email protected] --- Comment #11 from stargeizer --- Ok, here's a fix. It seems there's a bug with udisk2, because if ntfs-3g is not present in the system, udisk2 will not use the kernel NTFS driver. It needs to be configured in /etc/udisks2/mount_options.conf (and by default, Archlinux doesn't create it, you need to change the name of the file from mount_options.conf.example to mount_options.conf. The file states that these are the defaults, but for some reason, at least on my machines, udisk2 fails on NTFS and XFS without explicitally configuring this file. For this bug report, you need to create/edit the /etc/udisk2/mount_options.conf to include the following: [defaults] ntfs:ntfs3_defaults=uid=$UID,gid=$GID ntfs:ntfs3_allow=uid=$UID,gid=$GID,umask,dmask,fmask,iocharset,discard,nodiscard,sparse,nosparse,hidden,nohidden,sys_immutable,nosys_immutable,showmeta,noshowmeta,prealloc,noprealloc,hide_dot_files,nohide_dot_files,windows_names,nocase,case ntfs_drivers=ntfs This should fix the KDE mount problem. Please confim if work or not on your machines, i tried to edit the Archlinux "udisk2" wiki page and somebody there marked the solution as "non-factual". -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 445468] Cannot mount NTFS with the new ntfs3 module from Linux 5.15
https://bugs.kde.org/show_bug.cgi?id=445468 David Nemeskey changed: What|Removed |Added CC||[email protected] --- Comment #10 from David Nemeskey --- I have two laptops, one with KDE neon 6.1 (22.04) and another one with KDE neon 6.2 (24.04). On the former, Dolphin could mount a "dirty" NTFS volume; on the latter, it couldn't until I ran `ntfsfix -d` (thanks Jaka!). udisks2 versions are 2.9.4-1ubuntu2 and 2.10.1-6build1, respectively. -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 445468] Cannot mount NTFS with the new ntfs3 module from Linux 5.15
https://bugs.kde.org/show_bug.cgi?id=445468 [email protected] changed: What|Removed |Added CC||[email protected] -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 445468] Cannot mount NTFS with the new ntfs3 module from Linux 5.15
https://bugs.kde.org/show_bug.cgi?id=445468 Andrew Shark changed: What|Removed |Added Resolution|FIXED |--- Ever confirmed|0 |1 Status|RESOLVED|REOPENED CC||[email protected] --- Comment #9 from Andrew Shark --- Not working for me. I am on Arch, udisks2 version is 2.10.1-5. I created the file /etc/udisks2/mount_options.conf with this content: ``` [defaults] ntfs_defaults=uid=$UID,gid=$GID ``` then rebooted. Did not help. Dolphin still fails to mount ntfs usb stick. -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 445468] Cannot mount NTFS with the new ntfs3 module from Linux 5.15
https://bugs.kde.org/show_bug.cgi?id=445468 soredake changed: What|Removed |Added CC|[email protected]| -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 445468] Cannot mount NTFS with the new ntfs3 module from Linux 5.15
https://bugs.kde.org/show_bug.cgi?id=445468 Jaka Kranjc changed: What|Removed |Added CC||[email protected] --- Comment #8 from Jaka Kranjc --- Just hit the same thing with Kubuntu 24.04 and the udisks workaround does not help, even after restarting the udisks2 systemd service. Turns out the underlying reason was that the partition was marked dirty (seen in dmesg), so running `ntfsfix -d` on it made it all dandy again. -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 445468] Cannot mount NTFS with the new ntfs3 module from Linux 5.15
https://bugs.kde.org/show_bug.cgi?id=445468 --- Comment #7 from Moltke --- Not fixed for me. -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 445468] Cannot mount NTFS with the new ntfs3 module from Linux 5.15
https://bugs.kde.org/show_bug.cgi?id=445468 Martino Fontana changed: What|Removed |Added Resolution|--- |FIXED Status|REPORTED|RESOLVED --- Comment #6 from Martino Fontana --- Nobody is replying "not fixed for me", so I think this can be closed. (Especially since this was an issue on udisks end) -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 445468] Cannot mount NTFS with the new ntfs3 module from Linux 5.15
https://bugs.kde.org/show_bug.cgi?id=445468 --- Comment #5 from Martino Fontana --- This issue is fixed on my end. Recently mounted two ntfs3 drives from Dolphin with no problem. Operating System: NixOS 23.11 KDE Plasma Version: 5.27.6 KDE Frameworks Version: 5.108.0 Qt Version: 5.15.9 Kernel Version: 6.4.4-cachyos (64-bit) -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 445468] Cannot mount NTFS with the new ntfs3 module from Linux 5.15
https://bugs.kde.org/show_bug.cgi?id=445468 Moltke changed: What|Removed |Added CC||[email protected] --- Comment #4 from Moltke --- I, too, have this issue; can't mount ntfs partition in dolphin. It does mount just fine via terminal, though. Operating System: KDE neon Testing Edition KDE Plasma Version: 5.27.3 KDE Frameworks Version: 5.105.0 Qt Version: 5.15.8 Kernel Version: 5.19.0-35-generic (64-bit) Graphics Platform: X11 -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 445468] Cannot mount NTFS with the new ntfs3 module from Linux 5.15
https://bugs.kde.org/show_bug.cgi?id=445468 Patrick Silva changed: What|Removed |Added Version|21.08.3 |22.12.2 CC||[email protected] --- Comment #3 from Patrick Silva --- I can't mount a usb flash drive with ntfs3 kernel driver, Dolphin says: "An error occurred while accessing '28,9 GiB Removable Media', the system responded: The requested operation has failed: Error mounting /dev/sdd1 at /media/111D369D6BDE9734: Filesystem type ntfs3,ntfs not configured in kernel." Operating System: Arch Linux KDE Plasma Version: 5.27.0 KDE Frameworks Version: 5.103.0 Qt Version: 5.15.8 Kernel Version: 6.1.11-zen1-1-zen (64-bit) Graphics Platform: Wayland -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 445468] Cannot mount NTFS with the new ntfs3 module from Linux 5.15
https://bugs.kde.org/show_bug.cgi?id=445468 Martino Fontana changed: What|Removed |Added CC||[email protected] -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 445468] Cannot mount NTFS with the new ntfs3 module from Linux 5.15
https://bugs.kde.org/show_bug.cgi?id=445468 soredake changed: What|Removed |Added CC||[email protected] -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 445468] Cannot mount NTFS with the new ntfs3 module from Linux 5.15
https://bugs.kde.org/show_bug.cgi?id=445468 Dennis Schridde changed: What|Removed |Added CC||[email protected] -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 445468] Cannot mount NTFS with the new ntfs3 module from Linux 5.15
https://bugs.kde.org/show_bug.cgi?id=445468
Alexander M. changed:
What|Removed |Added
CC||apmichalopoulos@protonmail.
||com
--- Comment #2 from Alexander M. ---
(Most of this info, the fix included, is courtesy of the nice people discussing
it at https://github.com/storaged-project/udisks/pull/917)
This isn't a KDE bug but a udisks2/libmount one and ultimately a ntfs3 one. It
does indeed happen because the new ntfs3 driver does not support the
'windows_names' flag, for the time being at least (ntfs3 upstream have
commented that it's a good and necessary flag for dual-booting with Windows, so
in the near future they'll probably be looking into implementing it), but the
flag is passed by default when trying to mount the filesystem via udisks2 (as
Dolphin does in the background), so it will fail to mount.
If you have udisks2 2.9.4+, as a temporary fix you can create the file
/etc/udisks2/mount_options.conf with the following contents:
[defaults]
ntfs_defaults=uid=$UID,gid=$GID
...and you'll be set.
For udisks 2.9.3 and earlier, because it lacks the necessary logic to recognize
and use the ntfs3 driver in the first place, you apparently can "patch" the
support in by also creating the file /etc/udev/rules.d/ntfs3.rules with the
following contents:
SUBSYSTEM=="block", ENV{ID_FS_TYPE}=="ntfs", ENV{ID_FS_TYPE}="ntfs3"
In this case, /etc/udisks2/mount_options.conf should also include some extra
stuff added with udisks2 2.9.4 for ntfs3 to work properly:
[defaults]
ntfs_defaults=uid=$UID,gid=$GID
ntfs_allow=uid=$UID,gid=$GID,umask,dmask,fmask,locale,norecover,ignore_case,windows_names,compression,nocompression,big_writes,nls,nohidden,sys_immutable,sparse,showmeta,prealloc
Do keep in mind that these fixes will force-disable the 'windows_names' flag,
which has the potential to cause you some pain if you dual-boot with Windows
and mount the NTFS partitions.
Anyway, hopefully this mess will be resolved upstream soon, by either ntfs3
implementing 'windows_names' or at least udisks2 (or even better libmount)
implementing these overrides by default.
--
You are receiving this mail because:
You are watching all bug changes.
[dolphin] [Bug 445468] Cannot mount NTFS with the new ntfs3 module from Linux 5.15
https://bugs.kde.org/show_bug.cgi?id=445468 [email protected] changed: What|Removed |Added CC||[email protected] --- Comment #1 from [email protected] --- Also having this issue, hopefully it gets resolved soon. -- You are receiving this mail because: You are watching all bug changes.
