LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-26-2018, 04:19 AM   #1
jnith
LQ Newbie
 
Registered: Jul 2018
Posts: 1

Rep: Reputation: Disabled
Can't mount a windows drive to linux cloud box (EC2 instance)


Hi all,
I'm trying to mount a shared windows drive in the linux cloud box using this command.
Code:
sudo mount -t cifs -o username=jnith,uid=jnith,gid=amazon //FILEUW2ADEPT17.ant.amazon.com/HS3C_SERP_SERP /mnt/
And I'm getting the following error:
Code:
Password: 
mount error(112): Host is down
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
When I used dmegs to check the logs, I'm seeing this error:
Code:
[   35.380864] xenbus_probe_frontend: Timeout connecting to device: device/vfb/0 (local state 3, remote state 1)
[   35.669337] EXT4-fs (xvda1): re-mounted. Opts: (null)
[   35.869323] EXT4-fs (xvda1): resizing filesystem from 2621432 to 20971512 blocks
[   35.993808] NET: Registered protocol family 10
[   36.072570] EXT4-fs (xvda1): resized filesystem to 20971512
[   36.260689] ixgbevf 0000:00:03.0: NIC Link is Up 10 Gbps
[   36.261704] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   36.269826] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[509658.831699] Key type cifs.spnego registered
[509658.835350] Unable to determine destination address.
[510262.426409] CIFS VFS: cifs_mount failed w/return code = -112
[510802.507264] CIFS VFS: cifs_mount failed w/return code = -112
[510978.140645] CIFS VFS: cifs_mount failed w/return code = -112
[514266.718777] CIFS VFS: cifs_mount failed w/return code = -112
[514656.103943] CIFS VFS: cifs_mount failed w/return code = -112
[514721.395119] CIFS VFS: cifs_mount failed w/return code = -112
[518377.321297] CIFS VFS: cifs_mount failed w/return code = -112

Can anyone tell me how to mount this drive to the cloud box (or) can you give any alternative for this ?
 
Old 07-26-2018, 06:33 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 20,661

Rep: Reputation: 5077Reputation: 5077Reputation: 5077Reputation: 5077Reputation: 5077Reputation: 5077Reputation: 5077Reputation: 5077Reputation: 5077Reputation: 5077Reputation: 5077
Quote:
Originally Posted by jnith View Post
Hi all,
I'm trying to mount a shared windows drive in the linux cloud box using this command.
Code:
sudo mount -t cifs -o username=jnith,uid=jnith,gid=amazon //FILEUW2ADEPT17.ant.amazon.com/HS3C_SERP_SERP /mnt/
And I'm getting the following error:
Code:
Password: 
mount error(112): Host is down
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
When I used dmegs to check the logs, I'm seeing this error:
Code:
[   35.380864] xenbus_probe_frontend: Timeout connecting to device: device/vfb/0 (local state 3, remote state 1)
[   35.669337] EXT4-fs (xvda1): re-mounted. Opts: (null)
[   35.869323] EXT4-fs (xvda1): resizing filesystem from 2621432 to 20971512 blocks
[   35.993808] NET: Registered protocol family 10
[   36.072570] EXT4-fs (xvda1): resized filesystem to 20971512
[   36.260689] ixgbevf 0000:00:03.0: NIC Link is Up 10 Gbps
[   36.261704] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   36.269826] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[509658.831699] Key type cifs.spnego registered
[509658.835350] Unable to determine destination address.
[510262.426409] CIFS VFS: cifs_mount failed w/return code = -112
[510802.507264] CIFS VFS: cifs_mount failed w/return code = -112
[510978.140645] CIFS VFS: cifs_mount failed w/return code = -112
[514266.718777] CIFS VFS: cifs_mount failed w/return code = -112
[514656.103943] CIFS VFS: cifs_mount failed w/return code = -112
[514721.395119] CIFS VFS: cifs_mount failed w/return code = -112
[518377.321297] CIFS VFS: cifs_mount failed w/return code = -112
Can anyone tell me how to mount this drive to the cloud box (or) can you give any alternative for this ?
I bolded a line above for emphasis only; did you see that?? It's not finding the host/address, and is clearly telling you that the host can't be found. So, either there's no route to that host, or a firewall/network security is preventing the mount.

Could also be a cifs version mismatch error. But since you're using Amazon for all this, their tech support can assist.
 
Old 07-26-2018, 01:06 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 18,550

Rep: Reputation: 2778Reputation: 2778Reputation: 2778Reputation: 2778Reputation: 2778Reputation: 2778Reputation: 2778Reputation: 2778Reputation: 2778Reputation: 2778Reputation: 2778
Do you have a GRE tunnel to that instance?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How to guide: Associate Elastic IP to EC2 Linux instance. LXer Syndicated Linux News 0 08-29-2017 04:12 PM
LXer: Default usernames in AWS for logging on to different Linux distros EC2 instance. LXer Syndicated Linux News 0 05-02-2017 09:21 AM
LXer: Setup Light Weight X Windows environment on Fedora 20 Cloud instance LXer Syndicated Linux News 0 02-03-2014 05:11 AM
[SOLVED] EC2 instance ... get IP address Skaperen Linux - Virtualization and Cloud 5 10-07-2013 08:56 AM
Device won't mount during boot - CentOS 5.4 on Amazon EC2 instance s_elkind Linux - Server 1 02-17-2011 08:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration