You are not logged in.

#1 2024-11-07 12:48:04

Zibi1981
Member
From: Poland
Registered: 2008-01-31
Posts: 702

[SOLVED] NTFS formatted disks can't be mounted anymore.

Recently I'm experiencing issues with mounting NTFS Windows 11 drives, that weren't present before.

Here's the error I get while trying to mount a NTFS formatted drive:

LC_ALL=C sudo mount -t ntfs3 /dev/nvme0n1p3 /mnt/windows_c
mount: /mnt/windows_c: wrong fs type, bad option, bad superblock on /dev/nvme0n1p3, missing codepage or helper program, or other error.
       dmesg(1) may have more information after failed mount system call.
sudo dmesg

(...)
[  861.283214] [UFW BLOCK] IN=wlan0 OUT= MAC=70:d8:23:1d:5a:e7:58:11:22:63:29:f0:08:00 SRC=192.168.50.1 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=50180 DF PROTO=2 
[  861.832713] ntfs3: nvme0n1p3: It is recommened to use chkdsk.
[  861.834759] ntfs3: nvme0n1p3: volume is dirty and "force" flag is not set!
[  863.944028] kauditd_printk_skb: 16 callbacks suppressed
[  863.944030] audit: type=1130 audit(1730983731.213:430): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=man-db comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  863.944032] audit: audit_lost=1170 audit_rate_limit=0 audit_backlog_limit=64
[  863.944033] audit: kauditd hold queue overflow
[  863.944035] audit: type=1131 audit(1730983731.213:431): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=man-db comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  863.944036] audit: audit_lost=1171 audit_rate_limit=0 audit_backlog_limit=64
[  863.944036] audit: kauditd hold queue overflow
[  863.958275] audit: type=1334 audit(1730983731.227:432): prog-id=58 op=UNLOAD
[  863.958285] audit: audit_lost=1172 audit_rate_limit=0 audit_backlog_limit=64
[  863.958290] audit: kauditd hold queue overflow
[  868.200209] audit: type=1101 audit(1730983735.469:433): pid=4520 uid=1000 auid=1000 ses=3 subj=unconfined msg='op=PAM:accounting grantors=pam_unix,pam_permit,pam_time acct="cardiozibi" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'

Any hints what "nvme0n1p3: volume is dirty and "force" flag is not set!" could mean?

Last edited by Zibi1981 (2024-11-07 14:27:53)


"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."

MSI Raider GE78HX 13VI-032PL

Offline

#2 2024-11-07 13:25:39

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,175

Re: [SOLVED] NTFS formatted disks can't be mounted anymore.

The message means what it says. The volume is in a state where it's consistency isn't guaranteed. The in-kernel driver is strict on this and will not mount such a partition. The best course of action here is to boot a Windows system and running a chkdsk on the affected drive. After a successful chkdsk the drive should be mountable again. Should you not be able to boot a Windows install to run chkdsk and you don't care that your data is potentially corrupted, run

sudo ntfsfix -d /dev/nvme0n1p3

this will just clear said dirty flag but not do any real checks, you really should only use this if booting Windows and running chkdsk is completely impossible.

Offline

#3 2024-11-07 14:11:49

cryptearth
Member
Registered: 2024-02-03
Posts: 962

Re: [SOLVED] NTFS formatted disks can't be mounted anymore.

don'T use ntfs on linux - use exfat for data exchange
to PROPER fix ntfs: use WINDOWS(!) chkdsk:

chkdsk X: /F /X /B /R

Offline

#4 2024-11-07 14:27:37

Zibi1981
Member
From: Poland
Registered: 2008-01-31
Posts: 702

Re: [SOLVED] NTFS formatted disks can't be mounted anymore.

V1del wrote:

The best course of action here is to boot a Windows system and running a chkdsk on the affected drive. After a successful chkdsk the drive should be mountable again.

It helped. Probably during a hard reset after one game under Windows had given me a BSD something happened.

Solved.


"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."

MSI Raider GE78HX 13VI-032PL

Offline

Board footer

Powered by FluxBB