Solved

Mount

Posted on 2011-02-22
16
1,018 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 77

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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
route 2 traffic streams on single NIC 6 48
Adding more CPU cores to a Linux VM 5 93
cannot rename datastore 3 44
bash file 10 34
This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

813 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

11 Experts available now in Live!

Get 1:1 Help Now