Solved

Mount

Posted on 2011-02-22
16
1,015 Views
Last Modified: 2012-05-11
I am trying to mount from my RedHat server to another RedHat server across the network.

I am running mount -t ext3 server.remote.location:/gevol /mnt/gedev

But I am getting a special device server.remote.location:/gevol does not exist

The directory does exist.  I just need to copy a directory from that server to my sever.  Is there an easy way?
0
Comment
Question by:StrongD1
  • 6
  • 5
  • 2
  • +2
16 Comments
 
LVL 3

Expert Comment

by:KCarney81
ID: 34953985
Try using samba shares instead of direct mapping
0
 
LVL 76

Expert Comment

by:arnold
ID: 34954085
Use nfs instead of samba for linux to linux share.

define the shares in /etc/exports
mount -t nfs server:/sharename
0
 
LVL 3

Expert Comment

by:KCarney81
ID: 34954200
Either method will work, nfs or samba is a matter of preference
0
 
LVL 5

Expert Comment

by:rysic
ID: 34954281
If you need just copy directory, you can use ssh connection.
Have a look at SCP
http://pl.wikipedia.org/wiki/Secure_copy

or winscp if client is using Windows.
0
 
LVL 5

Expert Comment

by:rysic
ID: 34954293
SORRY! English version http://en.wikipedia.org/wiki/Secure_copy
(I'm from Poland :D )
0
 
LVL 1

Author Comment

by:StrongD1
ID: 34954340
smbclient \\\\server.remote.location\\gevol --user=root

Connection to ge.edwards.af.mil failed (Error NT_STATUS_CONNECTION_REFUSED)

Can you guys give to the syntax for smb stuff?
0
 
LVL 3

Expert Comment

by:KCarney81
ID: 34954359
0
 
LVL 5

Expert Comment

by:rysic
ID: 34954391
Why samba?? It isn't Windows server...
0
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 
LVL 1

Author Comment

by:StrongD1
ID: 34954420
I am doing what someone suggested...  

If you have an easy way to do this, let me know.  

0
 
LVL 5

Expert Comment

by:rysic
ID: 34954435
W wroto you - SCP
0
 
LVL 5

Accepted Solution

by:
rysic earned 500 total points
ID: 34954459
If you connected to server via SSH, you can use SCP.
0
 
LVL 3

Expert Comment

by:KCarney81
ID: 34954471
rysic's solutions will also work.  It's basically connecting via FTP on port 22
0
 
LVL 5

Expert Comment

by:rysic
ID: 34954514
Well not exacly... it is secure and you don't need FTP server setting up. Just OpenSSH daemon started.
0
 
LVL 3

Expert Comment

by:KCarney81
ID: 34954526
Correct, just functionally the same
0
 
LVL 26

Expert Comment

by:lnkevin
ID: 34955767
Here are the complete steps:

Let's assume the source (server.remote.location) server is serverA and the other server is ServerB.

On serverA do the following:

vi /etc/exports
then add the following save and exit
/gevol *(rw,sync)
then you run this on serverA:
/etc/init.d/nfs restart

From serverB:
mkdir /mnt/gedev

then
mount ServerA:/gevol /mnt/gedev

if you want your mount point existed after serverB reboot, you set the mount point in fstab:
vi /etc/fstab
add the following line then save and exit
ServerA:/gevol           /mnt/gedev        nfs       defaults      0 0

Done!

K







0
 
LVL 26

Expert Comment

by:lnkevin
ID: 34955778
NO SAMBA for Linux to Linux mounting!

K
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

In this tutorial I will explain how to make squid prevent malwares in five easy steps: Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-…
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now