Visit Our UNIX and Linux User Community


NFS mount


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers NFS mount
# 1  
Old 09-15-2008
NFS mount

I have a NAS server that needs to have the share mounted on a unix server. I am not that familiar with NFS mounts....any help on what I have to do on the UNIX box...thanks!
# 2  
Old 09-16-2008
?
You should have on your unix box nfs client running...
Then all you do is mount the nfs-filsystem
mount <options may be required depending OS> <Host>:/<exported FS/dir> /<mount-point>
# 3  
Old 09-16-2008
Once you've determined that the file system can be mounted, you'll likely wish to update /etc/vfstab or /etc/fstab (depending on OS) to include the mount request for this volume. This will ensure that the volume is mounted on reboot.

If you wish to use automount (or something similar) to manage mounting, you'll need to update a handful of files (like /etc/auto_master, /etc/auto_<dirtree>) to ensure that when you cd into the expected directory, the file system will be mounted for you.
# 4  
Old 09-18-2008
so I created a directory /share

When I do the following command I get an error

mount hostname:/directory /share

nfs mount: mount:/share: Not owner

I am logged in as superuser so not sure why, any suggestions?
# 5  
Old 09-18-2008
Who is the owner server side? (your NAS that is...)
NFS can be tricky for to avoid security issues by default root cannot access the FS (but can mount!)...
# 6  
Old 09-18-2008
Show us the results of:

If your NFS server is Solaris:
Code:
grep <share> /etc/dfs/sharetab
showmount -e | grep <share>
ls -dl <share>

If your NFS server is HPUX:
Code:
grep <share> /etc/xtab
showmount -e localhost | grep <share>
ls -dl <share>    #(I haven't tried this one - might be different ls options)

Other OSes have similar commands to get the information from the host about what is being shared

Then, on the client, show us the result of
Code:
ls -dl <mountpoint>

# 7  
Old 09-18-2008
The NAS server is accessed via a program called RAIDar which is used on the Windows side.
 

Previous Thread | Next Thread
Test Your Knowledge in Computers #497
Difficulty: Medium
A computer compiler or interpreter is just as smart as a human.
True or False?

10 More Discussions You Might Find Interesting

1. 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

2. Red Hat

NFS mount issue

we are facing a weird NFS mount issue on one of the linux host , a NFS volume of 2.4TB is mounted in the linux host , but df only reports 131g , which exactly matches rootfilesytem size nfs mount filer_filer1:/vol/bug_test/q0 131G 116G 8.5G 94% /nas/bug_test root... (2 Replies)
Discussion started by: skamal4u
2 Replies

3. Red Hat

NFS mount issue

Hi Friends, My source server is HP and my destination is linux. I have to mount a dir thru nfs from source to destn. almost 8 servers i did the same thing and it is working fine but on the 9th server i can't able to mount. Everything i have did for nfs configuration.Even i can able to ping... (1 Reply)
Discussion started by: Mohamed Thamim
1 Replies

4. Red Hat

NFS mount issues

Hi Experts, I have been using Linux (Redhat server 5.6) as a NFS server and it is mounted to 4 linux (SUSE) servers for storing the db logs. I added an entry in fstab in all my 4 clients to make sure the mount is available all the time. but unfortunately the mount is not showing in servers after... (6 Replies)
Discussion started by: sarav
6 Replies

5. UNIX for Dummies Questions & Answers

Mount NFS

Hi I have 2 servers, one is running on SunOS SPARC and the other is running on GNU Linux. Since my Linux is very poor I am not sure on how to mount a NFS from SunOS to Gnu Linux. Please help! FS at Host Server: root@rocux4 # ls -ld /data/PCFILES/GTPROD/DWHFILES.NEW drwxrwxrwx 4 nobody ... (6 Replies)
Discussion started by: hedkandi
6 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. OS X (Apple)

NFS Mount

Hello! Im trying to mount an nfs share. But got a bit of a problem. The problem im having is that i try to mount The problem is that the my.server.com/pub/home is owned by root. I know i can make a mount point my.server.com://pub/home/username - > /pub/home But that means i have to do... (1 Reply)
Discussion started by: dozy
1 Replies

8. UNIX for Dummies Questions & Answers

mount -o llock -F nfs vs mount -F nfs

Hi, We encountered NFS issue (solaris) especially running on Oracle application. Problem such as forms hang when close button is click, concurrent job shows running status all time. Understand we need to use mount -o llock -F nfs instead of mount -F nfs to eliminate? this problem.. Can... (1 Reply)
Discussion started by: KhawHL
1 Replies

9. Filesystems, Disks and Memory

NFS mount

Hi All, Can any one help in Mounting remote filesystems with NFS? Thanks in advance. Regards, Suresh. (4 Replies)
Discussion started by: srvaka1
4 Replies

10. UNIX for Dummies Questions & Answers

Mount nfs filesystem

I try to share a directory from a wortstation to a server. the share command was no problem. Solaris 8 on mars share -F nfs -o rw /dir/dir2 on the server mount mars:/dir/dir2 /mount_point RPC: Program not registered <--- What is the meaning of this ? Thanks for you help ! (2 Replies)
Discussion started by: joerg
2 Replies

Featured Tech Videos