NFS mount from windows NAS with NFS server, have hidden folder on UNIX


 
Thread Tools Search this Thread
Operating Systems AIX NFS mount from windows NAS with NFS server, have hidden folder on UNIX
# 1  
Old 04-22-2020
NFS mount from windows NAS with NFS server, have hidden folder on UNIX

I am currently trying to mount a NFS share from a windows NAS using NFS Server to share the nfs folder.

When folder is mounted on my aix/unix, some folders are hidden (not . related) but i can change directory to folder even if it is not shown with "ls -l" . Anyone seen this problem before?

Last edited by collectordk; 04-24-2020 at 03:03 AM..
# 2  
Old 04-23-2020
Welcome on board!

We are missing too much information in order to give you a reply, we have no idea how your Windows server is configured nor do we know how you mount on your linux client, then we know nothing about your current OS both sides...
Do you have a user mapping file in place on your NFS server? what about the groups?...
# 3  
Old 04-24-2020
User mapping is not in use.

Mount is on a AIX 5.3 platform, NFS Server for unix is running on windows server 20212.
Default settings on NFS share + root access and "." hidden folder enabled.

Since all groups and users work fine on AIX, i do not need mapping since windows is "silent" here, and should not touch files. And since most files show and only random files appear hidden, together with random folders, i do not understand why. and if a rename from "MYFILE" to ".MYFILE" suddenly shows file on AIX with "ls -la" and then i rename it back and it is once again hidden, it is really strange.

--- Post updated at 06:08 AM ---

i see now, i put question in wrong section Smilie Should probably be in AIX section.
# 4  
Old 04-24-2020
Let me say firstly that I am not an AIX expert. So what I am posting here now is just a generic Unix world response.

What have you tried already? You may already have tried this, but..................

NFS comes in 3 different currently available versions; version 2, 3 or 4.

Do you know which version the Windows hosted NFS for Unix is talking??

From the symptoms you are posting it seems likely that your issue is security based and the main differences between version 2, 3 and 4 are security performance/features.

Therefore, you need to know that each end of the NFS is talking the same language.

If you don't know the version that the Windows end is talking then no harm in trying your mount command with

Code:
-o vers=2
-o vers=3
-o vers=4

included on the command line (see your mount man page) to explore whether (a) it's the same, (b) it doesn't work at all, or (c) it fixes the issue.

There are other things we can consider but this is the first thing to try if you haven't already.

Last edited by hicksd8; 04-24-2020 at 08:21 AM..
These 2 Users Gave Thanks to hicksd8 For This Post:
# 5  
Old 04-24-2020
Quote:
Originally Posted by hicksd8
NFS comes in 3 different currently available versions; version 2, 3 or 4.
Thanks, i have not tried this and i will try it out.

The strange thing is, 2 days later, this afternoon when i checked folders that were not found 22-apr-2020 , are now suddenly found 24-apr-2020.
I suspect now that either it is a NFS v2,3,4 issue, or some cache size or something like that that is syncing.

Since i did try umount on aix, and restarting NFS server for unix on windows server, i hoped the cache would not be rememberd, but since
folders starting to appear, i do not know why and even harder to debug now.

I could see those hidden folders appear, due to 2 missing issues. 1: group sticky bit missing , and 2: ownership/group were wrong on hidden folders. and now i could run my "chmod + chown" again on all NFS folders and fix it finally Smilie

So thanks and yes, there is a "disable v3" option in NFS Server as well, so it could be it, but i believe i checked early on (mount shows it)
# 6  
Old 04-25-2020
I am not an AIX expert, but NFS is a standard - I guess IBM even licenced it from SUN.
The NFS version is "negotiated" once, at mount time. The client simply asks the server via rpcinfo what versions are available and picks the highest version that it supports itself.
A test command:
Code:
rpcinfo servername

The client stores the version in the mount values, and sticks to it. You can view the mount values, at least some of them with the mount or mount -v (verbose) command.

In this case I suspect a problem or odd behavior on the NFS server.

Last edited by MadeInGermany; 04-25-2020 at 05:15 AM..
# 7  
Old 04-25-2020
I concur with MadeInGermany that the next place to look is the Windows NFS Server. Compared to our Unix world, Windows has weird and wonderful access rights settings that you will need to check out.

Read this thread and post#3 by me (hicksd8) on this issue..............
Unable to search NFS Share

And follow the MS link I provide there for more information.

Last edited by hicksd8; 04-25-2020 at 07:00 AM..
This User Gave Thanks to hicksd8 For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Solaris 10 NFS client cannot mount a share from a Windows server

I have a Solaris 10 server, I'm trying to mount a share from a Windows nfs server. If I add this entry (tst-walnut:/test_sap_nfs - /majid nfs - yes rw,soft) to my /etc/vfstab, then I can mount, but when I create a file by root:root, the file owner changes to... (1 Reply)
Discussion started by: Hiroshi
1 Replies

2. Shell Programming and Scripting

Mount NFS Share On NFS Client via bash script.

I need a help of good people with effective bash script to mount nfs shared, By the way I did the searches, since i haven't found that someone wrote a script like this in the past, I'm sure it will serve more people. The scenario as follow: An NFS Client with Daily CRON , running bash script... (4 Replies)
Discussion started by: Brian.t
4 Replies

3. Shell Programming and Scripting

Move script from windows to Linux using NFS mount

Hi All, Is there a command or script which will push a file from Windows server to Linux box? using the mount command. I want the details or document of the whole process please. I want this script to run every 30 minutes to push the file from windows to unix Thanks (16 Replies)
Discussion started by: thinkingeye
16 Replies

4. Windows & DOS: Issues & Discussions

NFS mount error in windows

I am trying to set a share between windows and an AIX server. I was able to do this to a windows 2008 server. I am now trying to get this to worked on a windows 7 enterprise pc. below is what i get. I have turned off the firewall wall in windows the user is an admin in the pc. same account works... (6 Replies)
Discussion started by: fierfek
6 Replies

5. UNIX for Dummies Questions & Answers

NFS mount of Windows NAS

The UPS connected to the Disk Array portion of my Windows 2003 NAS burned up over the weekend. Reconnected it to a new UPS and re-booted the NAS box. Since then I have not been able to get my HPUX 10.2 box to mount the shared drives on the NAS. At boot, the NFS client & server subsystems do a... (0 Replies)
Discussion started by: twalker0
0 Replies

6. IP Networking

Can't see home folder on one NFS mount but can in another mount on another share

Hello, I have a few Ubuntu 9.10 laptops I'm trying to learn NFS sharing with. I am just experimenting on this right now, so no harsh words about the security of what I'm playing with, please ;) Below are the configs /etc/exports on host /home/woodnt/Homeschool... (2 Replies)
Discussion started by: Narnie
2 Replies

7. Solaris

how to mount Windows NFS share on solaris

Hi, How can i mount an NFS share on a solaris machine a filesystem ? I have enabled nfs on a windows server and the shares has given read/write access to it to all the users. I would like to mount it on around 10 different solaris boxes with different versions of solaris. Thanks in advance. (2 Replies)
Discussion started by: uxadmin007
2 Replies

8. UNIX for Advanced & Expert Users

can i mount nfs share on windows 2003 server

this is probably a bit dumb ...but i read somewhere that one of the nfs versions can be mounted on a windows 2003 server ..if yes ..does anyone know how this can be achieved (1 Reply)
Discussion started by: tarunicon
1 Replies

9. Windows & DOS: Issues & Discussions

NFS HDD mount on Windows XP

Hi, Unix based, My harddrive won't boot and I'm looking for a reliable tool that can mount a hdd on Windows XP and show me the files stored on a NFS system. I tried the tool: Ext2IFS but this didn't work. I found a lot of tools on google to mount nfs share thru a network but that's... (1 Reply)
Discussion started by: severt
1 Replies

10. Ubuntu

Problem to auto mount on NFS server

I am new in Ubuntu and i use Ubuntu 7.10, and have problem to mount automatic when i reboot computer, Here is my /etc/fstab 192.168.0.91:/home/DATA/it /home/USER/usertest/Documents/Z nfs defaults 0 0 I try many option in that line, but the result is same, I cannot automatic mounting the... (5 Replies)
Discussion started by: blesets
5 Replies
Login or Register to Ask a Question