Moun Error 6
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta
Mount Error(6) No Such Device Or Address Fstab
Discuss the workings and policies of this site About Us Learn more no such device or address linux about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Unix
Cifs_mount Failed W Return Code 6
& Linux Questions Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating tree connect failed: nt_status_bad_network_name systems. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Can't mount samba share up vote 6 down vote favorite 2 I'm trying to mount a samba host located at 192.168.2.5. I can ping the host, kernel: cifs vfs: cifs_mount failed w/return code = -6 I can open the share on Ubuntu and windows (with the credentials). When I try to manually connect: pi@raspberrypi-web-server ~ $ smbclient -L 192.168.2.5 Enter pi's password: Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.6] Sharename Type Comment --------- ---- ------- IPC$ IPC IPC Service (raspberrypi-media server) Media Folder Disk Media Folder print$ Disk Printer Drivers Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.6] Server Comment --------- ------- RASPBERRYPI-MEDI raspberrypi-media server Workgroup Master --------- ------- WORKGROUP I have this line in /etc/fstab: //192.168.2.5/ /mnt/smb cifs user=maikel,pass=PASSWORD,_netdev 0 0 But whenever I do: sudo mount -a I get the following error: Retrying with upper case share name mount error(6): No such device or address Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) Why doesn't my mount work? I've tried host raspberrypi-media but I got the same error? mount samba share|improve this question edited Mar 4 '14 at 19:07 Anthon 47.6k1462125 asked Mar 4 '14 at 19:02 user1226868 135115 add a comment| 2 Answers 2 active oldest votes up vote 5 down vote accepted Try this: $ mount -t cifs -o user=maikel,pass=PASSWORD,_netdev \ '//
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting
No Such Device Or Address Git
ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join cp no such device or address the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes
Mount.cifs: Bad Unc
a minute: Sign up mount error(6): No such device or address when sharing windows folder to ubuntu up vote 7 down vote favorite 1 I have a windows shared folder named \\mymachine\sf and I want to map it as a ubuntu http://unix.stackexchange.com/questions/118115/cant-mount-samba-share device. I use smbmount command as below: smbmount //mymachine/sf /mnt/sf -o
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more http://askubuntu.com/questions/632411/15-04-mounting-using-cifs-failing-with-no-such-device-or-address about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top 15.04 - Mounting using CIFS failing with “No such device or address” up vote 0 down no such vote favorite I'm trying to mount a cifs share using: sudo mount \ -t cifs \ -o credentials=$HOME/.smbcredentials \ //server.example.com/Common/Share/Path /mnt/mountpoint Which fails with: Retrying with upper case share name mount error(6): No such device or address Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) Watching /var/log/syslog shows that there is some sort of dns problem: Jun 4 18:06:12 laptop key.dns_resolver: DFSAPP03: No address associated with name Jun 4 18:06:12 laptop kernel: [ 1807.650756] CIFS VFS: cifs_mount failed no such device w/return code = -6 Does anybody know what the return code -6 means, or how I might go about debugging this problem? mount dns cifs share|improve this question asked Jun 4 '15 at 22:14 Rob Syme 112 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote accepted Ok, it turns out that the problem was with the DNS resolution of the file server. It was trying to resolve the hostname "DFSAPP03" and failing. In my case the problem was fixed by using a different server address. The error: cifs_mount failed w/return code = -6 Probably indicates that while the authentication steps are all OK, these is a problem with actually finding the share on the network. share|improve this answer answered Jun 5 '15 at 19:08 Rob Syme 112 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged mount dns cifs or ask your own question. asked 1 year ago viewed 5509 times active 1 year ago Related 1smbfs/cifs won't mount3Can't mount CIFS drive5CIFS shares not mounting after modifying /etc/fstab0cifs filesystem not found on mount2CIFS