Visit Our UNIX and Linux User Community


NFS Mount

 
Thread Tools Search this Thread
Operating Systems OS X (Apple) NFS Mount
# 1  
Old 10-06-2009
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 this for every user, and there is a lot of users to do this on.
So my question is this. Is there anyway to use wildcars. Somthing like this :
my.server.com://pub/home/$users - > /pub/home

So that when i login the mount will use the specific user to mount the home dir.

Regards,
dOzY
# 2  
Old 11-26-2009
In the event you do not know this I will briefly outline the process. To setup multiple home folders in the recommended fashion you need to:

1) Setup DNS with forward and reverse lookups for you server. You will need to run the changeIP script on your server after if this was not the case at server build time.

2) Setup your ldap directory services in Server Manager.

3) Set your /pub/home folder as automount in Server Mgr/Sharing

4) Create your users using Workgroup Manager. You can import batches of users but if you are not familiar with the ldap import format you will want to use a program like passenger to create the import files.

5) Once the users are created you can can specify their home folder path in the Workgroup Manager Home folder tab if you did not specify the NFS and AFP paths in your import files by first clicking on the user name, then the home tab.

6) Finally, you can create all of your users home folders using the /Applications/Utilities/terminal.app and the command:
Code:
sudo CreateHomeDir -s

Any future users can easily be created using presets (click on an existing user, click on the Presets dropdown/save preset located in the bottom of wgm window to create a preset) and their home folder created using workgroup manager by clicking on the 'create home now' button in the home tab, then click the save button.

The details for each of these steps is outlined in Apples manuals available from their website support documentation area.

Cheers!

Previous Thread | Next Thread
Test Your Knowledge in Computers #746
Difficulty: Medium
The Z80 is an 8-bit microprocessor introduced by Zilog.
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. UNIX for Dummies Questions & Answers

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! (7 Replies)
Discussion started by: andrewd
7 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