Subj : NFS.. again. To : All From : paulie420 Date : Sun Aug 15 2021 20:26:18 Gosh, guys. I figured out my permissions a bit more. The NAS NFS *is working, and serving files to users thru the BBS box. I didn't have the owner set to root, and when I did that, other users were given their correct accesses - I don't wanna get into that deeply; I KNOW I need to learn a lot more about permissions. Its really confusing. Ok... so now I have the NFS working, and need to make sure the two drives are always mounted @ /mnt/Backup6TB /mnt/Backup4TB... Ok... so I have a mountroms.sh that works fine... The directories are already there, when I run mountroms.sh they populate. I could create a Mystic event that runs that every hour; who cares about the extra commands when its already mounted... Eh. Thats kinda ugly... So, I edited my /etc/fstab and put in: 10.0.0.131:/export/Backup4TB /mnt/Backup4TB nfs defaults 0 0 10.0.0.131:/export/Backup6TB /mnt/Backup6TB nfs defaults 0 0 Reboot; mount points aren't populated. I read that nfs's don't LOVE the fstab because their network drives and don't connect fast enough. Remember, My NAS [for NOW, anyway. :P] is on a Pi... so its the most sucky one you could have. Anyway, I learn of autofs... install autofs, modify auto.master to include: /- /etc/auto.Backup4TB -nosuid,noowners /- /etc/auto.Backup6TB -nosuid,noowners and edit /etc/auto.Backup4TB/6TB like this: /mnt/Backup4TB -fstyle=nfs,user,nolock,nosuid,rw 10.0.0.x:/export/Backup4TB ..... and restart autofs.... Now the /mnt/Backup4TB / other say 'filesystem isn't there'.../error out. So... question; how would you make sure this NFS is mounted for the BBS box always? I can just run a mountroms.sh - but think that sucks.... I wish fstab just worked, and am ok with autofs as a solution, IF it worked - am I forgetting some THINGS that I should look at .... with either fstab OR autofs? Thanks guys... I *did* get the permissions ironed out - just wish I understood more about why. :/ And I'm about to get some actual server hardware- feeling like I'm not ready to be that sysOp... :/ Thanks for any help at all. |07p|15AULIE|1142|07o |08......... .... A bird in the hand might. --- Mystic BBS v1.12 A47 2021/08/08 (Raspberry Pi/32) * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (1337:3/129) .