2026-01-04, 06:47 PM
I have a TerraMaster NAS where I keep archived recordings. Archiving recordings to the NAS was failing (copying the files via windows explorer fails as well). (My old QNAP NAS did not have this issue. Here are the relevant lines from the NPVR log:
2026-01-03 09:55:27.930 [DEBUG][66] ArchiveRecording@2(469933:Today, TV)
...
2026-01-03 09:55:28.037 [DEBUG][38] Source File: D:\nextpvr\Today\Season 74\Today.S74E89.ts
2026-01-03 09:55:28.041 [DEBUG][38] Target File: \\NAS0324\Public\videos\tv\Today\Season 74\Today.S74E89.ts
2026-01-03 09:55:28.041 [DEBUG][38] Archiving...
2026-01-03 09:55:28.042 [DEBUG][38] Starting: C:\Users\Public\NPVR-data\Scripts\PreArchive.bat "D:\nextpvr\Today\Season 74\Today.S74E89.ts" "\\NAS0324\Public\videos\tv\Today\Season 74\Today.S74E89.ts" 469933
....
2026-01-03 09:57:05.298 [ERROR][38] Unexpected error archiving file: System.IO.IOException: The requested operation could not be completed due to a file system limitation
at System.IO.FileSystem.MoveFile(String sourceFullPath, String destFullPath, Boolean overwrite)
at NShared.ArchivingService.WorkerThread()
As a work around, I was able to use 7zip to zip and unzip the recordings, then I was able to archive them.
This issue was caused by the source NTFS files having alternate "streams" that are not supported by the destination filesystem (BTRFS or EXT4).
You can use this tool from Microsoft to remove them:
https://learn.microsoft.com/en-us/sysint...ds/streams
Now I run this command on a nightly basis against the recording directory (via the updateepg script).
streams -s -d "D:\nextpvr"
If you simply want to check the files, remove the -d option:
D:\nextpvr>streams -s
streams v1.60 - Reveal NTFS alternate streams.
Copyright © 2005-2016 Mark Russinovich
Sysinternals - www.sysinternals.com
D:\nextpvr\CBS News Sunday Morning\Season 2026\CBS.News.Sunday.Morning.S2026E01.ts:
:Timing.Info:$DATA 118405
D:\nextpvr\Sunday Today With Willie Geist\Season 10\Sunday.Today.With.Willie.Geist.S10E15.ts:
:Timing.Info:$DATA 79136
2026-01-03 09:55:27.930 [DEBUG][66] ArchiveRecording@2(469933:Today, TV)
...
2026-01-03 09:55:28.037 [DEBUG][38] Source File: D:\nextpvr\Today\Season 74\Today.S74E89.ts
2026-01-03 09:55:28.041 [DEBUG][38] Target File: \\NAS0324\Public\videos\tv\Today\Season 74\Today.S74E89.ts
2026-01-03 09:55:28.041 [DEBUG][38] Archiving...
2026-01-03 09:55:28.042 [DEBUG][38] Starting: C:\Users\Public\NPVR-data\Scripts\PreArchive.bat "D:\nextpvr\Today\Season 74\Today.S74E89.ts" "\\NAS0324\Public\videos\tv\Today\Season 74\Today.S74E89.ts" 469933
....
2026-01-03 09:57:05.298 [ERROR][38] Unexpected error archiving file: System.IO.IOException: The requested operation could not be completed due to a file system limitation
at System.IO.FileSystem.MoveFile(String sourceFullPath, String destFullPath, Boolean overwrite)
at NShared.ArchivingService.WorkerThread()
As a work around, I was able to use 7zip to zip and unzip the recordings, then I was able to archive them.
This issue was caused by the source NTFS files having alternate "streams" that are not supported by the destination filesystem (BTRFS or EXT4).
You can use this tool from Microsoft to remove them:
https://learn.microsoft.com/en-us/sysint...ds/streams
Now I run this command on a nightly basis against the recording directory (via the updateepg script).
streams -s -d "D:\nextpvr"
If you simply want to check the files, remove the -d option:
D:\nextpvr>streams -s
streams v1.60 - Reveal NTFS alternate streams.
Copyright © 2005-2016 Mark Russinovich
Sysinternals - www.sysinternals.com
D:\nextpvr\CBS News Sunday Morning\Season 2026\CBS.News.Sunday.Morning.S2026E01.ts:
:Timing.Info:$DATA 118405
D:\nextpvr\Sunday Today With Willie Geist\Season 10\Sunday.Today.With.Willie.Geist.S10E15.ts:
:Timing.Info:$DATA 79136