Hi,
i have multiple USB Devices connected to my qnap and have a strange behavior.
two of them have exact the same fsid? I tried everything, fsck, removeing nfs share readding but DEV5005_1 and DEV5105_1 keep having the same fsid. Via SMB everything is fine...
[~] # cat /etc/exports
"/share/external/DEV5107_1" *(sec=sys,ro,async,wdelay,insecure,no_subtree_check,no_root_squash,fsid=0e7cd42e8d4ff68f3bae83caa69a5943)
"/share/CACHEDEV1_DATA/DATADISK0" *(sec=sys,ro,async,wdelay,insecure,no_subtree_check,no_root_squash,fsid=a302b362ef882cb2fe55650313225f0b)
"/share/external/DEV3705_1" *(sec=sys,ro,async,wdelay,insecure,no_subtree_check,no_root_squash,fsid=da13e213f9a7fef9e31473e3bd036eb7)
"/share/external/DEV3703_1" *(sec=sys,ro,async,wdelay,insecure,no_subtree_check,no_root_squash,fsid=edff1574ab20d04ce4a859ffe44df11a)
"/share/external/DEV5106_1" *(sec=sys,ro,async,wdelay,insecure,no_subtree_check,no_root_squash,fsid=4f4777e6664aa1fe3dc7e3c7cb656287)
"/share/external/DEV3704_1" *(sec=sys,ro,async,wdelay,insecure,no_subtree_check,no_root_squash,fsid=6900a2998931eb4a12b6edf49b9e820f)
"/share/external/DEV3706_1" *(sec=sys,ro,async,wdelay,insecure,no_subtree_check,no_root_squash,fsid=80fa98efb5b3848fd32d353e6a415536)
"/share/external/DEV5005_1" *(sec=sys,ro,async,wdelay,insecure,no_subtree_check,no_root_squash,fsid=4bc17c9d807c8ca3adef910c33d15f04)
"/share/external/DEV5105_1" *(sec=sys,ro,async,wdelay,insecure,no_subtree_check,no_root_squash,fsid=4bc17c9d807c8ca3adef910c33d15f04)
"/share/CACHEDEV1_DATA/Public" *(sec=sys,rw,async,wdelay,insecure,no_subtree_check,no_root_squash,fsid=37b143ba0ca575d37a356ab03a7a28db)
Same FSID on different devices?
-
- Starting out
- Posts: 13
- Joined: Fri Nov 03, 2017 11:09 pm
-
- Starting out
- Posts: 13
- Joined: Fri Nov 03, 2017 11:09 pm
Re: Same FSID on different devices?
/sbin/gen_exports creates this: (found it in /etc/init.d/nfs )
[/etc] # /sbin/gen_exports
"/share/external/DEV5107_1" *(sec=sys,ro,async,wdelay,insecure,no_subtree_check,no_root_squash,fsid=0e7cd42e8d4ff68f3bae83caa69a5943)
"/share/CACHEDEV1_DATA/DATADISK0" *(sec=sys,ro,async,wdelay,insecure,no_subtree_check,no_root_squash,fsid=a302b362ef882cb2fe55650313225f0b)
"/share/external/DEV3705_1" *(sec=sys,ro,async,wdelay,insecure,no_subtree_check,no_root_squash,fsid=da13e213f9a7fef9e31473e3bd036eb7)
"/share/external/DEV3703_1" *(sec=sys,ro,async,wdelay,insecure,no_subtree_check,no_root_squash,fsid=edff1574ab20d04ce4a859ffe44df11a)
"/share/external/DEV5104_1" *(sec=sys,ro,async,wdelay,insecure,no_subtree_check,no_root_squash,fsid=fb4fd33233a3accc31f4c77781bd4d38)
"/share/external/DEV5106_1" *(sec=sys,ro,async,wdelay,insecure,no_subtree_check,no_root_squash,fsid=4f4777e6664aa1fe3dc7e3c7cb656287)
"/share/external/DEV3704_1" *(sec=sys,ro,async,wdelay,insecure,no_subtree_check,no_root_squash,fsid=6900a2998931eb4a12b6edf49b9e820f)
"/share/external/DEV3706_1" *(sec=sys,ro,async,wdelay,insecure,no_subtree_check,no_root_squash,fsid=80fa98efb5b3848fd32d353e6a415536)
"/share/external/DEV5005_1" *(sec=sys,ro,async,wdelay,insecure,no_subtree_check,no_root_squash,fsid=4bc17c9d807c8ca3adef910c33d15f04)
"/share/external/DEV5105_1" *(sec=sys,ro,async,wdelay,insecure,no_subtree_check,no_root_squash,fsid=4bc17c9d807c8ca3adef910c33d15f04)
"/share/CACHEDEV1_DATA/Public" *(sec=sys,rw,async,wdelay,insecure,no_subtree_check,no_root_squash,fsid=37b143ba0ca575d37a356ab03a7a28db)
So where does gen_exports get the same fsid from....
[/etc] # /sbin/gen_exports
"/share/external/DEV5107_1" *(sec=sys,ro,async,wdelay,insecure,no_subtree_check,no_root_squash,fsid=0e7cd42e8d4ff68f3bae83caa69a5943)
"/share/CACHEDEV1_DATA/DATADISK0" *(sec=sys,ro,async,wdelay,insecure,no_subtree_check,no_root_squash,fsid=a302b362ef882cb2fe55650313225f0b)
"/share/external/DEV3705_1" *(sec=sys,ro,async,wdelay,insecure,no_subtree_check,no_root_squash,fsid=da13e213f9a7fef9e31473e3bd036eb7)
"/share/external/DEV3703_1" *(sec=sys,ro,async,wdelay,insecure,no_subtree_check,no_root_squash,fsid=edff1574ab20d04ce4a859ffe44df11a)
"/share/external/DEV5104_1" *(sec=sys,ro,async,wdelay,insecure,no_subtree_check,no_root_squash,fsid=fb4fd33233a3accc31f4c77781bd4d38)
"/share/external/DEV5106_1" *(sec=sys,ro,async,wdelay,insecure,no_subtree_check,no_root_squash,fsid=4f4777e6664aa1fe3dc7e3c7cb656287)
"/share/external/DEV3704_1" *(sec=sys,ro,async,wdelay,insecure,no_subtree_check,no_root_squash,fsid=6900a2998931eb4a12b6edf49b9e820f)
"/share/external/DEV3706_1" *(sec=sys,ro,async,wdelay,insecure,no_subtree_check,no_root_squash,fsid=80fa98efb5b3848fd32d353e6a415536)
"/share/external/DEV5005_1" *(sec=sys,ro,async,wdelay,insecure,no_subtree_check,no_root_squash,fsid=4bc17c9d807c8ca3adef910c33d15f04)
"/share/external/DEV5105_1" *(sec=sys,ro,async,wdelay,insecure,no_subtree_check,no_root_squash,fsid=4bc17c9d807c8ca3adef910c33d15f04)
"/share/CACHEDEV1_DATA/Public" *(sec=sys,rw,async,wdelay,insecure,no_subtree_check,no_root_squash,fsid=37b143ba0ca575d37a356ab03a7a28db)
So where does gen_exports get the same fsid from....
-
- Experience counts
- Posts: 1081
- Joined: Thu Aug 24, 2017 10:28 pm
Re: Same FSID on different devices?
It looks like there's a bug in QNAP's /sbin/gen_exports tool. Distinct paths must have different fsids. I don't know what algorithm or heuristics they use to generate the "unique" ids. Contact QNAP to report and ask for a solution.
-
- Starting out
- Posts: 13
- Joined: Fri Nov 03, 2017 11:09 pm
Re: Same FSID on different devices?
i did open a request...