September 3Sep 3 hi,i created a new share today and experienced wrong paths used to write. i found double fsidroot@Unraid:/boot/config/shares# grep -rn "Fsid" /boot/config/shares//boot/config/shares/download.cfg:19:shareExportNFSFsid="101"/boot/config/shares/serien.cfg:19:shareExportNFSFsid="103"/boot/config/shares/domains.cfg:19:shareExportNFSFsid="0"/boot/config/shares/kodicache.cfg:19:shareExportNFSFsid="100"/boot/config/shares/doku-archiv.cfg:19:shareExportNFSFsid="100"/boot/config/shares/filme.cfg:19:shareExportNFSFsid="102"/boot/config/shares/musik.cfg:19:shareExportNFSFsid="101"/boot/config/shares/appdata.cfg:18:shareExportNFSFsid="0"/boot/config/shares/system.cfg:19:shareExportNFSFsid="0"/boot/config/shares/3d-filme.cfg:19:shareExportNFSFsid="0"/boot/config/shares/Fridgemaster.cfg:19:shareExportNFSFsid="0"/boot/config/shares/backup.cfg:19:shareExportNFSFsid="0"/boot/config/shares/isos.cfg:19:shareExportNFSFsid="0"why us unraid using fsid that is already used ? why have so many fsid="0" ?yes, i can fix it manually for my new kodicache share, but it will happen again
September 3Sep 3 The diagnostics confirm the issue. When the new export was mounted, rpc.mountd reported that it and an existing export had the same filehandle and selected the first one. That explains why the client reached the wrong path.The repeated FSID 0 values are not a problem in this case because those shares have NFS export disabled. The problem is duplicate explicit nonzero FSIDs assigned to different shares.The new share is now using FSID 104, and the global next-FSID counter is currently 107. Please unmount and remount the affected exports on the client, since the client may retain the previous filehandle mapping. Also check both shares for any files that may have been written to the wrong location.Can you confirm whether the flash configuration or share configuration files were previously restored, copied, or recreated, and whether NFS was recently disabled and re-enabled? If you have a flash backup from before correcting the FSID, please preserve it, as comparing its config/share.cfg and affected share files may show how the allocator’s counter became stale.This should not happen, the new-share allocator should validate existing IDs before assigning one, so it may be a bug.
September 3Sep 3 Author the diagnostic was taken after i created 5 shares to increase the counter .. so after this kodicache .. the next was 101 .. up to 105, so creating another 3 dublicates. i have diagnostic files from may 2025 and, october august 2024 if you like to compare ? stick is same.. maybe i deleted the network.cfg once but not 100% sure.
September 3Sep 3 Thanks, that clarification is very useful. It confirms this was not a single duplicate assignment: after FSID 100, the allocator continued assigning 101, 102, and 103 even though those values were already retained by other shares, before reaching unused values. Please do not create any more test shares to advance the counter, as that can create additional duplicate FSIDs.please attach the diagnostics from May 2025 and August and October 2024. Since they are from the same boot device, we can compare config/share.cfg with the per-share configuration files to determine when the global FSID counter became stale. The anonymized diagnostics are sufficient. If you also have a flash backup from before the affected share was created, please it.Deleting network.cfg by itself would not normally reset this counter because the value is stored in share.cfg, but the older diagnostics may show whether another configuration change occurred around the same time.
September 3Sep 3 Author unraid-diagnostics-20240829-1422.zipunraid-diagnostics-20241031-2110.zipunraid-diagnostics-20250522-1324.ziphere we are .. dont know why i store them at that time
September 3Sep 3 Thanks, these older diagnostics were very useful.On August 29, 2024, while running Unraid 7.0.0-beta.2, the global next-FSID counter was 108, and the existing exported shares had unique IDs 101, 102, 103, and 107.By October 31, the server was running 6.12.13 with 7.0.0-beta.2 recorded as the previous version. The existing share IDs were unchanged, but the global counter had reset to 100. This means the counter became stale during that interval, which includes the downgrade from 7.0.0-beta.2 to 6.12.13.The May 2025 diagnostics still show the counter at 100, and the stored share configuration already contains a duplicate 101. Global NFS was disabled then, so it was dormant, but this confirms the stale state existed well before the 7.3 upgrade.This therefore does not appear to have been introduced by 7.3. However, the current allocator should still validate all retained share IDs before assigning a new one, rather than trusting the global counter, so it looks like there may still exist a product bug to address.If you remember restoring any flash configuration or manually changing share.cfg around the October 2024 downgrade, please let us know. Otherwise, these diagnostics have narrowed the relevant window sufficiently.
September 3Sep 3 Author sorry , sadly i cannot remember any restore or manual changes that may help you.
September 3Sep 3 OK, thanks, I'll keep an eye out for any other occurrences to see if I can find anything in common to create a bug report.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.