LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   mounting problems (https://www.linuxquestions.org/questions/linux-networking-3/mounting-problems-541571/)

activeq 03-29-2007 05:21 AM

mounting problems
 
Hi,

i want to mount a partition, /dev/sda2 from server X on a mountpoint on server Y.
I can't get this done.

I successfully mounted Windows2003 shares before to the linux server, but I can't get it to work with 2 linux servers.

When I do 'mount //10.226.3.246/sda2 /tmp/test' it prompts me for a password.
When I enter that password it can't establish a connection. It says 'connection is refused'.
Even when I disable the firewall on both servers.

Please help with this.

thanks in advance.

vangelis 03-29-2007 06:19 AM

You want to access one shared directory from a linux machine to another linux machine.
That requires for the machine that has the shared dir to run the NFS server and client softare. Check through YaST2 to install the NFS packages for the server

Then follow this simple quide on how to setup an NFS server, export the directories and mount them from the network.

Check back if you have any problems

Cheers,

Vangelis



EDIT: I just saw /dev/sda2 .. that's a device, you can't mount directly a device over the network you need to mount the device to a local folder on let's say X server, set up NFS and export that folder AND then mount it from Y server over the network.

activeq 03-29-2007 06:39 AM

Thanks for the explanation.

I'll try this and let you know.

Quote:

Originally Posted by vangelis
You want to access one shared directory from a linux machine to another linux machine.
That requires for the machine that has the shared dir to run the NFS server and client softare. Check through YaST2 to install the NFS packages for the server

Then follow this simple quide on how to setup an NFS server, export the directories and mount them from the network.

Check back if you have any problems

Cheers,

Vangelis



EDIT: I just saw /dev/sda2 .. that's a device, you can't mount directly a device over the network you need to mount the device to a local folder on let's say X server, set up NFS and export that folder AND then mount it from Y server over the network.



All times are GMT -5. The time now is 07:10 PM.