NFS mounted files


 
Thread Tools Search this Thread
Operating Systems Solaris NFS mounted files
# 8  
Old 10-06-2010
Quote:
Originally Posted by Harleyrci
It seems to me that if I have a filesystem / directory that I want everyone to be able to see and have access to I need to mount using NFS.
Before planning any mount, you must first share that filesystem on the server owning the filesystem/directory.
Quote:
Next that mounted filesystem should be listed in the /etc/mnttab on each of the machines that will have access to it (Shared I guess is a good term).
Here you are talking about the client side so mounted is the good term (thus mnttab).
Quote:
So, now if I am a user on machine C I can access the mounted filesystem, however, I do not really know as a user on machine C where the filesystem actually resides. So, as a user, how can I find out where the file actually resides?
This was already answered by scottn:
Code:
df somefile

should tell you if somefile is mounted from some remote server.
# 9  
Old 10-06-2010
Here is the result of a df at my location
/home/maldohe (wdcprodhome:/home/maldohe):2407911840 blocks 151088561 files

The machine name does not appear in the out put string.
Harleyrci
# 10  
Old 10-07-2010
So what do you think "wdcprodhome" is ?
# 11  
Old 10-07-2010
Not sure, its not a unix machine I can actually logon to. However, when I do an nslookup, it does resolve to an ip address. In your shop, when you issue a df on a given file, do you see a real machine ?

---------- Post updated at 06:21 PM ---------- Previous update was at 06:20 PM ----------

Sorry for my delays, I work nights and I see you are in Europe. Thanks again for your help. I am getting a little better understanding.
Harleyrci
# 12  
Old 10-08-2010
Quote:
Originally Posted by Harleyrci
Not sure, its not a unix machine I can actually logon to.
It doesn't need to.
Quote:
However, when I do an nslookup, it does resolve to an ip address. In your shop, when you issue a df on a given file, do you see a real machine ?
What would be a "non real" machine ??
# 13  
Old 10-08-2010
Non-real, i mean something other than a known machine name that one could actually logon to. Thanks again.
Harleyrci
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

Unable to write to NFS mounted directory

Hi, I have exported a few nfs mounts from one server to the nfs clients. This is my nfs server dfstab : # cat /etc/dfs/dfstab # place share(1M) commands here for automatic execution # on entering init state 3. # # share <pathname> # .e.g, # share -F... (3 Replies)
Discussion started by: anaigini45
3 Replies

2. How to Post in the The UNIX and Linux Forums

NFS mounted and unmounted shell script

Hi, I making a script to check nfs mount and unmount options. After various findings, i didn't get any solution for that. Can you please help me in making the script. 1) I have used, if grep -qs '/var/JETSHARE' /proc/mounts; then echo "It's mounted." else echo "It's not mounted. ... (2 Replies)
Discussion started by: Santosh101
2 Replies

3. UNIX for Dummies Questions & Answers

Unable to write to a mounted NFS share

Hi All, I created a nfs share in the server(Solaris 10) with the following command and also updated the dfstab file share -F nfs -o rw=server_name2,anon=0 /to_share And then in the client(solaris 10) added the following command to mount the share mount -F nfs server_name1:/to_share... (4 Replies)
Discussion started by: Rossdba
4 Replies

4. UNIX for Dummies Questions & Answers

Want to improve the rsize and wsize of nfs mounted drives

Hi we have couple of nfs mounts between various linux servers. Recently i was wondering how to improve the performance by altering the parameters "msize" and "rsize" for nfs. In my machine i have determined the NFSSVC_MAXBLKSIZE_V2 = 8*1024 but kernel 2.6 supports upto 32k Optimizing NFS... (0 Replies)
Discussion started by: rakeshkumar
0 Replies

5. Red Hat

doubt in NFS mounted filesystem in linux

Hi, I have some filesystem which is nfs mounted and shared to other servers. Nfs server name= nfsserver (here filesystem is locally mounted) server name where filesystem is shared = sharedserver1 and sharedserver2 filesystem which is shared = /filesystem1 when i am checking utilization by... (1 Reply)
Discussion started by: anshu ranjan
1 Replies

6. UNIX Desktop Questions & Answers

VNC + GNOME with nfs mounted homedirs.

Hi! I'm experiencing some disturbing problems with a machine at work. I've got about 20 users and of which 15 uses VNC to connect to the machine for working with GNOME. The problem is that after a while it seems like the homedir get some nfs stales or something, gnome processes hangs and so... (0 Replies)
Discussion started by: Esaia
0 Replies

7. Programming

Not able to use NFS mounted directory as buffer for untar & unzip.

Hi, For a new requirement, we are trying to use NFS mounted directory as the buffer (TMP_DIR) for untar. Target OS- VxWorks Host OS - Windows Embedded. mounted a directory in wondows onto VxWorks. During untar process of GNU we come across utime, for chaning the time stamp of the... (0 Replies)
Discussion started by: suraj.bc
0 Replies

8. Solaris

Remote mount an already mounted nfs filesystem

Hello all, We're using JET to build our systems.. I'm in the process of needing to build a centrally located JET box with access to all our networks rather that 2 or 3 dotted around. Part of the means I need to locate the boot & OS images on an NFS mount (via NETAPP filer).. However in the... (1 Reply)
Discussion started by: itsupplies
1 Replies

9. Shell Programming and Scripting

Testing if nfs filesystem is mounted

Hello, I have a backup script that backs up my system to a nfs mounted file system. The mount point on my local system is /backup. I want my script to check whether the nfs file system is mounted on /backup before actually backing anything up. Even if the nfs file system was NOT mounted,... (2 Replies)
Discussion started by: xadamz23
2 Replies

10. UNIX for Dummies Questions & Answers

How can I tell if a filesystem is NFS mounted?

I would like to know if there is a command or set of commands that I can run to verify that there are no 'extraneous' nfs mounted filesystems on our server. I didn't see anything in doing a search on NFS. We think that we may have some filesystems that are still nfs mounted when the link should... (3 Replies)
Discussion started by: giannicello
3 Replies
Login or Register to Ask a Question