mount directory on Linux problem


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers mount directory on Linux problem
# 1  
Old 11-11-2008
Power mount directory on Linux problem

folks;
I have 3 similar Linux SUSE 10 servers A, B & C
I log as root and when i'm on B server & try to mount a directory on A server it works fine, but when i try to mount the same directory when i'm on C it doesn't and i get this error:

Server C# mount 172.32.5.2:/var/local/export/ /var/local/export/

mount: 172.32.5.2:/var/local/export/ failed, reason given by server: Permission denied

I'm able to ping the server & ssh to it fine though
Any help?
# 2  
Old 11-11-2008
When you do this, do you currently have /var/local/export from server A mounted on server B as /var/local/export?

If so, `umount' /var/local/export on server B from server A, and try to mount server C's /var/local/export again.

Edit:
I misread or misunderstood initially. Not sure which.

I want to be clear. You have /var/local/export mounted in the following fashion?
Server A -> Server B <- Server C

Last edited by glen.barber; 11-11-2008 at 03:58 PM..
# 3  
Old 11-11-2008
i did that with nothing mounted already with no luck, still the same problem
# 4  
Old 11-11-2008
What are the permissions on the directory you can mount versus the one you cannot?

Also, do you allow SSH as root to the server you cannot mount?

One more (possibly too obvious) question: does that directory exist on the failing machine?
# 5  
Old 11-11-2008
I do allow ssh as a root (it works with the second server when i mount as a root fine).
the permissions are 755 on both and the directory exist.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Can we have 2 mount point under the same name but at different directory?

guys i would like to know can we have 2 mount point which is same name but on different directory? (3 Replies)
Discussion started by: leecopper
3 Replies

2. Linux

Make directory used as mount point read-only

For my backup , I mount and external hard disk to /mnt/mybackup and then I do an rsync to /mnt/mybackup If for some reason the rsync fails, I want to prevent it from writing data on the server hard disk itself since the external hard disk will no longer be mounted on it. I want /mnt/mybackup... (8 Replies)
Discussion started by: coolatt
8 Replies

3. HP-UX

Mount problem with Linux

Hello, I want to mount a directory with nfs (v3). Server HP-UX 10.20 Client Centos If I export the path "/tausch" with access control for hosts with the command mount -t nfs <SERVER_HP-UX_IP>:/tausch/ /mnt/mnt_bach2/ /etc/exports: /tausch ... (8 Replies)
Discussion started by: nuts
8 Replies

4. UNIX for Advanced & Expert Users

Find Mount Directory

HI , I am trying to find directories/folder for the mount path . Ex mount path : /real/path/oracle/ora/ output is drwxr-xr-x 2 oracle dba 37888 Feb 10 08:36 realdum drwxr-xr-x 2 oracle dba 16384 Feb 10 09:08 delete Is there any unix command to get... (3 Replies)
Discussion started by: Perlbaby
3 Replies

5. UNIX for Dummies Questions & Answers

Mount a file or directory

Hi All, I am very new to Linux. I have just started preparation for RHCE. Can anybody pls tell me the meaning of mount a file or directory. When we mount particular file at that time what exactly we do with the file. (2 Replies)
Discussion started by: kunalpatil09
2 Replies

6. UNIX for Dummies Questions & Answers

How to mount a directory on one server to another?

Question 1) I have directory /home/userme/reports on server 1 and I want to mount that directory anywhere on server 2. How do I make this happen? Question 2) Server 2 is behind a firewall and server 1 is public...by mounting server 1 on server 2 do I compromise the security of server 2? (3 Replies)
Discussion started by: vincaStar
3 Replies

7. AIX

mount directory as cdrom

Hi guy's, my first post here on the forum :p I did a quick search here, but did not find a direct hit, so decided to post my question. I'm taking my first steps into AIX, and right now I'm trying to install some software that I've downloaded as a zip file, and have this extracted into a mounted... (1 Reply)
Discussion started by: psyduck
1 Replies

8. Solaris

How to mount a directory on another server?

Hi, I have two solaris 10 servers, and I want a directory (test) in server A be accessible in server B. I searched the web and the concept should be as follows: Server A: # share -F nfs /home/nms/test Server B: # mount -F nfs serverA:/home/nms/test /home/nms/test But when I... (1 Reply)
Discussion started by: racbern
1 Replies

9. UNIX for Dummies Questions & Answers

NFS mount home directory

Hello All, I have a question that I think I have the answer to but I'm not sure. All the information I get kind of dance around it. Well, my question is if you have NFS running, automount running, with auto_master and auto_home on a server. If a user logs in form cleint machine that has... (3 Replies)
Discussion started by: larry
3 Replies
Login or Register to Ask a Question