Invalid export entry in /etc/exports

Permissions, Users, Uear groups, shared folders, LDAP/domain
User avatar
bugacha
Posts: 59
Joined: 09 Nov 2024, 16:25
Algeria

Invalid export entry in /etc/exports

Post by bugacha »

After re-installing TOS6 and restoring system configuration, I noticed NFS mount stopped working

First entry in exports file is corrupt, no idea where its coming from

Code: Select all

# cat /etc/exports


"" *(rw,async,crossmnt,insecure_locks,sec=sys,no_root_squash,anonuid=1001,anongid=997)
"/Volume2/video" 192.168.1.0/24(ro,async,crossmnt,insecure_locks,sec=sys,no_root_squash,anonuid=1001,anongid=997)
"/Volume2/music" 192.168.1.0/24(ro,async,crossmnt,insecure_locks,sec=sys,no_root_squash,anonuid=1001,anongid=997)
"/Volume2/photos" 192.168.1.0/24(ro,async,crossmnt,insecure_locks,sec=sys,all_squash,anonuid=0,anongid=997)
User avatar
TMzethar
TM Support
Posts: 2574
Joined: 27 Oct 2020, 16:43

Re: Invalid export entry in /etc/exports

Post by TMzethar »

We will verify the problem you mentioned. If it is confirmed to exist, we will fix it in a future version.
To contact our team, please send email to following addresses, remember to replace (at) with @:
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
User avatar
bugacha
Posts: 59
Joined: 09 Nov 2024, 16:25
Algeria

Re: Invalid export entry in /etc/exports

Post by bugacha »

TMzethar wrote: 13 Nov 2024, 11:34 We will verify the problem you mentioned. If it is confirmed to exist, we will fix it in a future version.
Any luck finding it ?
User avatar
bugacha
Posts: 59
Joined: 09 Nov 2024, 16:25
Algeria

Re: Invalid export entry in /etc/exports

Post by bugacha »

I'm asking because after manual fix of the file, it gets reverted back to have that bogus entry every day which kills NFS server. All clients that mount from NAS stop working
User avatar
bugacha
Posts: 59
Joined: 09 Nov 2024, 16:25
Algeria

Re: Invalid export entry in /etc/exports

Post by bugacha »

Looks like /etc/exports is generated by /usr/sbin/allconf nfsdconf

But I cant find where its called from yet
User avatar
TMeric
TM Product Manager
Posts: 212
Joined: 03 Jul 2023, 11:01

Re: Invalid export entry in /etc/exports

Post by TMeric »

We are still continuing to validate the issue you mentioned, please stay tuned.
To contact our team, please send email to following addresses, remember to replace (at) with @:

Technical team: support(at)terra-master.com(for technical support)
Service team: service(at)terra-master.com(for purchasing, return, replacement, RMA service)
User avatar
bugacha
Posts: 59
Joined: 09 Nov 2024, 16:25
Algeria

Re: Invalid export entry in /etc/exports

Post by bugacha »

TMeric wrote: 13 Nov 2024, 22:07 We are still continuing to validate the issue you mentioned, please stay tuned.
This got even worse after 2nd restore to a new NVMe. I think the problem is in your Restore config scripts.

Have now 2 sets of invalid entries :

Code: Select all

"" *(rw,async,crossmnt,insecure_locks,sec=sys,no_root_squash,anonuid=1001,anongid=997)

"" 192.168.1.0/24(ro,async,crossmnt,insecure_locks,sec=sys,no_root_squash,anonuid=1001,anongid=997)
"" 192.168.1.0/24(ro,async,crossmnt,insecure_locks,sec=sys,no_root_squash,anonuid=1001,anongid=997)
"" 192.168.1.0/24(rw,async,crossmnt,insecure_locks,sec=sys,all_squash,anonuid=0,anongid=997)

"/Volume2/photos" 192.168.1.0/24(rw,async,crossmnt,insecure_locks,sec=sys,all_squash,anonuid=0,anongid=997)
"/Volume2/music" 192.168.1.0/24(ro,async,crossmnt,insecure_locks,sec=sys,no_root_squash,anonuid=1001,anongid=997)

User avatar
Gremlin
Gold Member
Posts: 1392
Joined: 02 Dec 2022, 22:31
Great Britain

Re: Invalid export entry in /etc/exports

Post by Gremlin »

I think the problem is in your Restore config scripts.
That's not a new issue unfortunately.
F5-221 TOS6.0.794 - 4x4TB Traid (TNAS UPS Server :?: Broken :?: )
F2-424 TOS7.0.0392 {BETA} - 2x500GB nvme (P3) Traid, 2x6T HDD Traid
F2-221 TOS7.0.0364 - 1x3TB Ext4, 1x4TB Ext4 [Test system]
Gremlin is in 'Listening' mode
User avatar
cadbomb
Posts: 2
Joined: 04 Dec 2024, 08:38
United States of America

Re: Invalid export entry in /etc/exports

Post by cadbomb »

I am having this exact problem. I'm running on a brand new F8 SSD. Latest software 6.0.353-00158.

In my case, I didn't do a restore, I removed my existing shares/volumes/pool to recreate as a new pool. After doing so, I now have this invalid entry in my exports and am unable to mount anything NFS on the new shares on the new volumes in the new pool. It's not a restore file problem, it's a coding problem somewhere.

cat /etc/exports; echo;

"" *(rw,async,insecure_locks,sec=sys,no_root_squash,anonuid=6,anongid=4)
"/Volume2/nfs-nvme-btrfs" 10.100.200.0/24(rw,async,crossmnt,insecure,insecure_locks,sec=sys,no_root_squash,anonuid=1001,anongid=997)
"/Volume1/nfs-nvme-ext4" 10.100.200.0/24(rw,async,crossmnt,insecure,insecure_locks,sec=sys,no_root_squash,anonuid=1001,anongid=997)
"/Volume1/public" *(ro,insecure_locks,sec=sys,no_root_squash,anonuid=1001,anongid=997)

I have 30 days to return this device. Hope it gets fixed quickly. I can remove the invalid entry, but as soon as the system decides to rewrite the exports via an apply to the shares, bye bye working config. Can't have this!
User avatar
bugacha
Posts: 59
Joined: 09 Nov 2024, 16:25
Algeria

Re: Invalid export entry in /etc/exports

Post by bugacha »

TMeric wrote: 13 Nov 2024, 22:07 We are still continuing to validate the issue you mentioned, please stay tuned.
Whats the latest on the fix please ?
Post Reply

Return to “Privileges”