ntfs3 kernel driver corrupts volume during file move operations

Bug #2019153 reported by Andreas Kromke
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Dual boot system Windows 10 / Ubuntu.
Shared magnetic disk drive (4 TB), mounted via "ntfs3".

Windows fast boot is deactivated to avoid corruption while Windows is hibernating.

I had no problems with Ubuntu 22.10. Then I installed Ubuntu 23.04, and soon the shared disk was corrupted (after some file move and rename operations via Nautilus file manager). I do not know if Ubuntu 22.10 also used "ntfs3" or the old "fuse" mechanism.

Windows could not repair the drive (-> chkdsk-Protokoll-1.txt), and I had to reboot Windows.

On the next start Windows repaired the drive (-> chkdsk-Protokoll-2.txt).

Then I started Ubuntu, moved some more files, and the drive was again corrupted.

Finally I started Windows again, and it repaired the drive without further reboots (-> chkdsk-Protokoll-3.txt).

I did not dare to start Ubuntu again.

PS: Obviously this dangerous malfunction is not new, and the same symptoms were described before. I found these witnesses via internet search:

https://forums.gentoo.org/viewtopic-p-8746048.html

https://randthoughts.github.io/i-tried-paragons-ntfs3-and-it-didnt-go-well/

https://www.reddit.com/r/archlinux/comments/13ona5u/ntfs3_driver_keeps_corrupting_ntfs_filesystem_on/
---
ProblemType: Bug
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: and 2082 F.... wireplumber
 /dev/snd/controlC1: and 2082 F.... wireplumber
 /dev/snd/seq: and 2078 F.... pipewire
CRDA: N/A
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 23.04
InstallationDate: Installed on 2022-11-29 (175 days ago)
InstallationMedia: Ubuntu 22.10 "Kinetic Kudu" - Release amd64 (20221020)
IwConfig:
 lo no wireless extensions.

 enp5s0 no wireless extensions.

 virbr0 no wireless extensions.
MachineType: Micro-Star International Co., Ltd. MS-7D25
NonfreeKernelModules: nvidia_modeset nvidia
Package: linux (not installed)
ProcFB:

ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.2.0-20-generic root=UUID=b8ec5967-60c8-454b-911f-b973bfd36212 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 6.2.0-20.20-generic 6.2.6
RelatedPackageVersions:
 linux-restricted-modules-6.2.0-20-generic N/A
 linux-backports-modules-6.2.0-20-generic N/A
 linux-firmware 20230323.gitbcdcfbcf-0ubuntu1
RfKill:

Tags: lunar
Uname: Linux 6.2.0-20-generic x86_64
UpgradeStatus: Upgraded to lunar on 2023-05-01 (22 days ago)
UserGroups: adm cdrom dip libvirt lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 10/14/2022
dmi.bios.release: 5.27
dmi.bios.vendor: American Megatrends International, LLC.
dmi.bios.version: 1.92
dmi.board.asset.tag: Default string
dmi.board.name: PRO Z690-A DDR4(MS-7D25)
dmi.board.vendor: Micro-Star International Co., Ltd.
dmi.board.version: 1.0
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 3
dmi.chassis.vendor: Micro-Star International Co., Ltd.
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInternational,LLC.:bvr1.92:bd10/14/2022:br5.27:svnMicro-StarInternationalCo.,Ltd.:pnMS-7D25:pvr1.0:rvnMicro-StarInternationalCo.,Ltd.:rnPROZ690-ADDR4(MS-7D25):rvr1.0:cvnMicro-StarInternationalCo.,Ltd.:ct3:cvr1.0:skuDefaultstring:
dmi.product.family: Default string
dmi.product.name: MS-7D25
dmi.product.sku: Default string
dmi.product.version: 1.0
dmi.sys.vendor: Micro-Star International Co., Ltd.

Revision history for this message
Andreas Kromke (dandreas) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Libera.chat.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/2019153/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
tags: added: ntfs3
removed: ntfs
description: updated
affects: ubuntu → linux (Ubuntu)
description: updated
summary: - NTFS volume gets corrupted
+ ntfs3 kernel driver corrupts volume during file move operations
description: updated
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 2019153

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Andreas Kromke (dandreas) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected lunar
description: updated
Revision history for this message
Andreas Kromke (dandreas) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Andreas Kromke (dandreas) wrote : Lspci.txt

apport information

Revision history for this message
Andreas Kromke (dandreas) wrote : Lspci-vt.txt

apport information

Revision history for this message
Andreas Kromke (dandreas) wrote : Lsusb.txt

apport information

Revision history for this message
Andreas Kromke (dandreas) wrote : Lsusb-t.txt

apport information

Revision history for this message
Andreas Kromke (dandreas) wrote : Lsusb-v.txt

apport information

Revision history for this message
Andreas Kromke (dandreas) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Andreas Kromke (dandreas) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Andreas Kromke (dandreas) wrote : ProcEnviron.txt

apport information

Revision history for this message
Andreas Kromke (dandreas) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Andreas Kromke (dandreas) wrote : ProcModules.txt

apport information

Revision history for this message
Andreas Kromke (dandreas) wrote : UdevDb.txt

apport information

Revision history for this message
Andreas Kromke (dandreas) wrote : WifiSyslog.txt

apport information

Revision history for this message
Andreas Kromke (dandreas) wrote : acpidump.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.