* NTFS driver excessive logging by default: Correct links count
@ 2024-03-27 10:28 Artem S. Tashkinov
2024-04-11 11:00 ` Konstantin Komarov
0 siblings, 1 reply; 8+ messages in thread
From: Artem S. Tashkinov @ 2024-03-27 10:28 UTC (permalink / raw)
To: ntfs3; +Cc: Konstantin Komarov
Hello,
I hoped 6.8.2 would have the issue fixed but no luck.
Whenever I list files on my NTFS partitions I get a lot of SPAM in
dmesg, e.g.:
ntfs3: sda3: ino=14c, Correct links count -> 1.
ntfs3: sda3: ino=73, Correct links count -> 1.
ntfs3: sda3: ino=167, Correct links count -> 1.
ntfs3: sda3: ino=d9, Correct links count -> 1.
ntfs3: sda3: ino=d5, Correct links count -> 1.
And the partition in question has been fully chkdsk'ed and has no issues.
Please fix.
Best regards,
Artem
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: NTFS driver excessive logging by default: Correct links count
2024-03-27 10:28 NTFS driver excessive logging by default: Correct links count Artem S. Tashkinov
@ 2024-04-11 11:00 ` Konstantin Komarov
2024-04-11 13:01 ` Artem S. Tashkinov
2024-05-27 8:25 ` Enrico Mioso
0 siblings, 2 replies; 8+ messages in thread
From: Konstantin Komarov @ 2024-04-11 11:00 UTC (permalink / raw)
To: Artem S. Tashkinov, ntfs3
On 27.03.2024 13:28, Artem S. Tashkinov wrote:
> Hello,
>
> I hoped 6.8.2 would have the issue fixed but no luck.
>
> Whenever I list files on my NTFS partitions I get a lot of SPAM in
> dmesg, e.g.:
>
> ntfs3: sda3: ino=14c, Correct links count -> 1.
> ntfs3: sda3: ino=73, Correct links count -> 1.
> ntfs3: sda3: ino=167, Correct links count -> 1.
> ntfs3: sda3: ino=d9, Correct links count -> 1.
> ntfs3: sda3: ino=d5, Correct links count -> 1.
>
> And the partition in question has been fully chkdsk'ed and has no issues.
>
> Please fix.
>
> Best regards,
> Artem
Hello Artem,
Probably your volume contains non-critical (minor) errors.
chkdsk does not show them, but fixes them if you specify /f.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: NTFS driver excessive logging by default: Correct links count
2024-04-11 11:00 ` Konstantin Komarov
@ 2024-04-11 13:01 ` Artem S. Tashkinov
2024-04-15 10:11 ` Enrico Mioso
2024-05-27 8:25 ` Enrico Mioso
1 sibling, 1 reply; 8+ messages in thread
From: Artem S. Tashkinov @ 2024-04-11 13:01 UTC (permalink / raw)
To: Konstantin Komarov, ntfs3
On 4/11/24 11:00, Konstantin Komarov wrote:
> On 27.03.2024 13:28, Artem S. Tashkinov wrote:
>> Hello,
>>
>> I hoped 6.8.2 would have the issue fixed but no luck.
>>
>> Whenever I list files on my NTFS partitions I get a lot of SPAM in
>> dmesg, e.g.:
>>
>> ntfs3: sda3: ino=14c, Correct links count -> 1.
>> ntfs3: sda3: ino=73, Correct links count -> 1.
>> ntfs3: sda3: ino=167, Correct links count -> 1.
>> ntfs3: sda3: ino=d9, Correct links count -> 1.
>> ntfs3: sda3: ino=d5, Correct links count -> 1.
>>
>> And the partition in question has been fully chkdsk'ed and has no issues.
>>
>> Please fix.
>>
>> Best regards,
>> Artem
>
> Hello Artem,
>
> Probably your volume contains non-critical (minor) errors.
> chkdsk does not show them, but fixes them if you specify /f.
>
I have run chkdsk /f twice and I'm still getting these errors:
ntfs3: sda7: ino=14c, Correct links count -> 1.
ntfs3: sda7: ino=73, Correct links count -> 1.
ntfs3: sda7: ino=d9, Correct links count -> 1.
ntfs3: sda7: ino=98, Correct links count -> 1.
ntfs3: sda7: ino=d5, Correct links count -> 1.
ntfs3: sda7: ino=f2, Correct links count -> 1.
ntfs3: sda7: ino=e1, Correct links count -> 1.
ntfs3: sda7: ino=e8, Correct links count -> 1.
ntfs3: sda7: ino=e5, Correct links count -> 1.
ntfs3: sda7: ino=e4, Correct links count -> 1.
1. It's a bug
2. Even if it's not a bug (I'm 100% sure there is one since chkdsk does
not fix it), there must be a single message per partition per boot at most.
Regards,
Artem
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: NTFS driver excessive logging by default: Correct links count
2024-04-11 13:01 ` Artem S. Tashkinov
@ 2024-04-15 10:11 ` Enrico Mioso
2024-04-15 14:12 ` Artem S. Tashkinov
0 siblings, 1 reply; 8+ messages in thread
From: Enrico Mioso @ 2024-04-15 10:11 UTC (permalink / raw)
To: Artem S. Tashkinov; +Cc: Konstantin Komarov, ntfs3
On Thu, Apr 11, 2024 at 01:01:21PM +0000, Artem S. Tashkinov wrote:
>
>
> On 4/11/24 11:00, Konstantin Komarov wrote:
> > On 27.03.2024 13:28, Artem S. Tashkinov wrote:
> > > Hello,
> > >
> > > I hoped 6.8.2 would have the issue fixed but no luck.
> > >
> > > Whenever I list files on my NTFS partitions I get a lot of SPAM in
> > > dmesg, e.g.:
> > >
> > > ntfs3: sda3: ino=14c, Correct links count -> 1.
> > > ntfs3: sda3: ino=73, Correct links count -> 1.
> > > ntfs3: sda3: ino=167, Correct links count -> 1.
> > > ntfs3: sda3: ino=d9, Correct links count -> 1.
> > > ntfs3: sda3: ino=d5, Correct links count -> 1.
> > >
> > > And the partition in question has been fully chkdsk'ed and has no issues.
> > >
> > > Please fix.
> > >
> > > Best regards,
> > > Artem
> >
> > Hello Artem,
> >
> > Probably your volume contains non-critical (minor) errors.
> > chkdsk does not show them, but fixes them if you specify /f.
> >
>
> I have run chkdsk /f twice and I'm still getting these errors:
>
> ntfs3: sda7: ino=14c, Correct links count -> 1.
> ntfs3: sda7: ino=73, Correct links count -> 1.
> ntfs3: sda7: ino=d9, Correct links count -> 1.
> ntfs3: sda7: ino=98, Correct links count -> 1.
> ntfs3: sda7: ino=d5, Correct links count -> 1.
> ntfs3: sda7: ino=f2, Correct links count -> 1.
> ntfs3: sda7: ino=e1, Correct links count -> 1.
> ntfs3: sda7: ino=e8, Correct links count -> 1.
> ntfs3: sda7: ino=e5, Correct links count -> 1.
> ntfs3: sda7: ino=e4, Correct links count -> 1.
>
> 1. It's a bug
You are probably right, but let's make it explicit: you're assuming no bugs can be present in chkdsk.exe.
> 2. Even if it's not a bug (I'm 100% sure there is one since chkdsk does
> not fix it), there must be a single message per partition per boot at most.
I might be wrong, but I see different ino values, so limiting the messages at one per boot wouldn't probably make much sense or am I mistaken?
Thanks,
Enrico
>
> Regards,
> Artem
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: NTFS driver excessive logging by default: Correct links count
2024-04-15 10:11 ` Enrico Mioso
@ 2024-04-15 14:12 ` Artem S. Tashkinov
0 siblings, 0 replies; 8+ messages in thread
From: Artem S. Tashkinov @ 2024-04-15 14:12 UTC (permalink / raw)
To: Enrico Mioso; +Cc: ntfs3, Konstantin Komarov
On April 15, 2024 10:11:26 AM UTC, Enrico Mioso <mrkiko.rs@gmail.com> wrote:
>On Thu, Apr 11, 2024 at 01:01:21PM +0000, Artem S. Tashkinov wrote:
>>
>>
>> On 4/11/24 11:00, Konstantin Komarov wrote:
>> > On 27.03.2024 13:28, Artem S. Tashkinov wrote:
>> > > Hello,
>> > >
>> > > I hoped 6.8.2 would have the issue fixed but no luck.
>> > >
>> > > Whenever I list files on my NTFS partitions I get a lot of SPAM in
>> > > dmesg, e.g.:
>> > >
>> > > ntfs3: sda3: ino=14c, Correct links count -> 1.
>> > > ntfs3: sda3: ino=73, Correct links count -> 1.
>> > > ntfs3: sda3: ino=167, Correct links count -> 1.
>> > > ntfs3: sda3: ino=d9, Correct links count -> 1.
>> > > ntfs3: sda3: ino=d5, Correct links count -> 1.
>> > >
>> > > And the partition in question has been fully chkdsk'ed and has no issues.
>> > >
>> > > Please fix.
>> > >
>> > > Best regards,
>> > > Artem
>> >
>> > Hello Artem,
>> >
>> > Probably your volume contains non-critical (minor) errors.
>> > chkdsk does not show them, but fixes them if you specify /f.
>> >
>>
>> I have run chkdsk /f twice and I'm still getting these errors:
>>
>> ntfs3: sda7: ino=14c, Correct links count -> 1.
>> ntfs3: sda7: ino=73, Correct links count -> 1.
>> ntfs3: sda7: ino=d9, Correct links count -> 1.
>> ntfs3: sda7: ino=98, Correct links count -> 1.
>> ntfs3: sda7: ino=d5, Correct links count -> 1.
>> ntfs3: sda7: ino=f2, Correct links count -> 1.
>> ntfs3: sda7: ino=e1, Correct links count -> 1.
>> ntfs3: sda7: ino=e8, Correct links count -> 1.
>> ntfs3: sda7: ino=e5, Correct links count -> 1.
>> ntfs3: sda7: ino=e4, Correct links count -> 1.
>>
>> 1. It's a bug
>You are probably right, but let's make it explicit: you're assuming no bugs can be present in chkdsk.exe.
In my 30+ years of using NTFS, I've encountered exactly zero cases of
chkdsk not fixing errors when it completed the task successfully.
And if chkdsk from the company leaves errors, then what can fix them?
Paragon has never released chkdsk for Linux except as a paid option.
And what if NTFS3 itself introduces such errors (which sounds quite likely)?
>> 2. Even if it's not a bug (I'm 100% sure there is one since chkdsk does
>> not fix it), there must be a single message per partition per boot at most.
>I might be wrong, but I see different ino values, so limiting the messages at one per boot wouldn't probably make much sense or am I mistaken?
Not a single Linux filesystem spams the kernel log so much unless there
are media errors in which case something absolutely must be done.
When I said such errors must be limited to a single message per
filesystem per boot I was generous. Afaik these are not even errors. I
guess a debug directory in /sys is more appropriate for them.
Best regards,
Artem
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: NTFS driver excessive logging by default: Correct links count
2024-04-11 11:00 ` Konstantin Komarov
2024-04-11 13:01 ` Artem S. Tashkinov
@ 2024-05-27 8:25 ` Enrico Mioso
1 sibling, 0 replies; 8+ messages in thread
From: Enrico Mioso @ 2024-05-27 8:25 UTC (permalink / raw)
To: Konstantin Komarov; +Cc: Artem S. Tashkinov, ntfs3
Hello all!!
So, if I understand things correctly, this problem has been fixed in commit 110b24eb1a749bea3440f3ca2ff890a26179050a and this issue caused corruption in the FS.
Did the corruption happen even when mounting the filesystem read-only (via the mount ... -o ro flag)?
Or was a write needed?
and what kind of write?
Thanks a lot,
Enrico
^ permalink raw reply [flat|nested] 8+ messages in thread
* NTFS driver excessive logging by default: Correct links count
@ 2025-04-20 11:05 Artem S. Tashkinov
0 siblings, 0 replies; 8+ messages in thread
From: Artem S. Tashkinov @ 2025-04-20 11:05 UTC (permalink / raw)
To: ntfs3; +Cc: Konstantin Komarov
Hello,
This is my ~20th attempt to draw attention to this issue. Konstantin has
been emailed twice with a clean Windows image that exhibits the issue.
Whenever I list files on my NTFS partitions I get a lot of SPAM in
dmesg, e.g.:
ntfs3: sda3: ino=14c, Correct links count -> 1.
ntfs3: sda3: ino=73, Correct links count -> 1.
ntfs3: sda3: ino=167, Correct links count -> 1.
ntfs3: sda3: ino=d9, Correct links count -> 1.
ntfs3: sda3: ino=d5, Correct links count -> 1.
And the partition in question has been fully chkdsk'ed and has no issues.
Please fix.
This is still reproducible as of 6.14.3. I first reported the issue for
Linux 6.8.2, i.e. over a year ago. Maybe someone could look into it
after all. I can email you an NTFS image if necessary but _ANY_ Windows
10 or 11 install will exhibit it.
Best regards,
Artem
^ permalink raw reply [flat|nested] 8+ messages in thread
* NTFS driver excessive logging by default: Correct links count
@ 2025-06-28 21:41 Artem S. Tashkinov
0 siblings, 0 replies; 8+ messages in thread
From: Artem S. Tashkinov @ 2025-06-28 21:41 UTC (permalink / raw)
To: ntfs3; +Cc: Konstantin Komarov
Hello,
This is my ~21th attempt to draw attention to this issue. Konstantin has
been emailed twice with a clean Windows image that exhibits the issue.
Whenever I list files on my NTFS partitions I get a lot of SPAM in
dmesg, e.g.:
ntfs3: sda3: ino=14c, Correct links count -> 1.
ntfs3: sda3: ino=73, Correct links count -> 1.
ntfs3: sda3: ino=167, Correct links count -> 1.
ntfs3: sda3: ino=d9, Correct links count -> 1.
ntfs3: sda3: ino=d5, Correct links count -> 1.
And the partition in question has been fully chkdsk'ed and has no issues.
Please fix.
This is still reproducible as of 6.15.4. I first reported the issue for
Linux 6.8.2, i.e. over a year ago. Maybe someone could look into it
after all. I can email you an NTFS image if necessary but _ANY_ Windows
10 or 11 install will exhibit it.
Best regards,
Artem
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2025-06-28 21:41 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-27 10:28 NTFS driver excessive logging by default: Correct links count Artem S. Tashkinov
2024-04-11 11:00 ` Konstantin Komarov
2024-04-11 13:01 ` Artem S. Tashkinov
2024-04-15 10:11 ` Enrico Mioso
2024-04-15 14:12 ` Artem S. Tashkinov
2024-05-27 8:25 ` Enrico Mioso
-- strict thread matches above, loose matches on Subject: below --
2025-04-20 11:05 Artem S. Tashkinov
2025-06-28 21:41 Artem S. Tashkinov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox