Mounting Linux box to Linux box


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Mounting Linux box to Linux box
# 1  
Old 11-05-2013
Mounting Linux box to Linux box

Hi,

I've been able to mount my linux box to a windows machine, but I can't seem to mount my linux box to another linux box I have. (I know I could scp, but for other reasons I need to do it this way) Samba is installed.

Here is an example where I mount to a Win machine.--> works fine
Code:
mount -t cifs -o username=Ren_user,password=AIB#1109$ //10.204.129.246/c$ /mnt/molecular/246

Here is where I try to mount to a Linux machine.--> doesn't work fine
Code:
mount -t cifs -o username=Ren_user,password=AIB#1109$ //10.204.129.234/c$ /mnt/clinical/234mac

And here is the error it throws...
Code:
mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

Thanks,
-J
# 2  
Old 11-05-2013
Change the destination IP to an invalid IP address and see if you still get the same message. It's ambiguous whether it's mount or the remote host which is objecting to these options.
# 3  
Old 11-05-2013
Used invalid IP

Code:
[informatics@aib-bitest mountAGIs]$ sudo mount -t cifs -o username=Ren_user,password=AIB#1109$ //10.204.129.126/c$ /mnt/clinical/234mac
[sudo] password for informatics:
Unable to find suitable address.

# 4  
Old 11-05-2013
Okay, so it doesn't like the username= or password= options. What happens if you try and mount it without them? Perhaps a uid might work.
# 5  
Old 11-05-2013
Same thing happens

Code:
[informatics@aib-bitest mountAGIs]$ sudo mount -t cifs //10.204.129.234/c$ /mnt/clinical/234mac
Password:
mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

# 6  
Old 11-05-2013
Hmmm.... cifs //10.204.129.234/c$ -- does that server actually have a shared folder named c ?
# 7  
Old 11-05-2013
Does samba need to be installed on other device?

I'm not sure if the 'c' dir is there or not. It is in the windows. I removed it and still..
Does samba need to be installed on the other device? If so, maybe that's my problem.

Code:
[informatics@aib-bitest mountAGIs]$ sudo mount -t cifs //10.204.129.234 /mnt/clinical/234mac
Password:
mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. How to Post in the The UNIX and Linux Forums

Copying , renaming the file from windox box and ftp to Linux box

Hello my dear friends, Two file are auto generated from mon - fri at different directories on same windows box.Every day i have to copy the file, rename it (specific name)and ftp it to linux box specified directory. is it possible to automate this process,If yes this has to be done from windows... (1 Reply)
Discussion started by: umesh yadav
1 Replies

2. Red Hat

Could any one tell me how to assign IP to a linux box.

Hi All, Could any one please help me how to assign IP to a linux box permanently. IP should not be changed even after Rebooting the machine.:b::b::b: (8 Replies)
Discussion started by: vamshigvk475
8 Replies

3. Red Hat

How to access redhat Linux box graphically from windows box?

Hi I have a linux box and need to access from windows graphically # uname -a Linux pc-l416116 2.6.18-155.el5 #1 SMP Fri Jun 19 17:06:47 EDT 2009 i686 i686 i386 GNU/Linux What components do I need to install on Linux and windows to do that? TIA (6 Replies)
Discussion started by: magnus29
6 Replies

4. Linux

How to find remote Linux box login account without login in to that box?

Hi, How to find remote Linux box login account without login in to that box? I don't have login account at my remote Linux box. But I need who are all having login account. How do I findout? Thanks, --Muthu. (3 Replies)
Discussion started by: Muthuselvan
3 Replies

5. Linux

Need to see CDROM on Linux box

Hi All. New to Linux and can't see cdrom after inserting into drive on linux box df -k doesn't show it. Can anyone tell em how to access the cd? Thanks (3 Replies)
Discussion started by: jamie_collins
3 Replies

6. Debian

VPN over Linux box.

Hi, I've installed Linux fedora 3 on my machine and I want to develop the VPN server on Linux. I've several machines which access the linux box as gateway for net and mail usage. The Webmin cp is installed on it. Now I want a external windows based machine connect to my internal windows server... (4 Replies)
Discussion started by: ashwin_think
4 Replies

7. Linux

ipv6 on a linux box

how to enable an ipv6 address on a linux pc? thanks in advance (3 Replies)
Discussion started by: sunittaneja
3 Replies

8. Shell Programming and Scripting

Script to Reboot a linux box from a windows box

HI All, I need a script to reboot a linux box from a windows box. The script needs to run automatically whenever a sitescope alerts with an error message. Have searched for this in the forums, but could not get something relative. Pls. let me know the various alternatives we have to do... (2 Replies)
Discussion started by: Crazy_murli
2 Replies

9. UNIX for Advanced & Expert Users

Xconfigurator on Linux box.

Folks, I am loosing X configurations once I restart the linux box. Same is true with ftp and telnet services. Any clues ? I am trying RedHat 7.2, it sucks btw !! (3 Replies)
Discussion started by: amol
3 Replies

10. UNIX for Dummies Questions & Answers

How to log on to Linux box???

Hey, Boy! I am having problem with loging on to linux box?? I am trying to log on to telnet cis.hfcc.net but it's not letting me...everytime I try it is saying that an error has occured??? Do I have to download something, or there is something wrong that I am not getting!!?;confused; Tell... (2 Replies)
Discussion started by: tahaislam
2 Replies
Login or Register to Ask a Question