Mount Cifs Error 6
Contents |
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 mount error(6) no such device or address fstab more about Stack Overflow the company Business Learn more about hiring developers or posting
No Such Device Or Address Linux
ads with us Unix & Linux Questions Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a question
Cifs_mount Failed W Return Code 6
and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The
Kernel: Cifs Vfs: Cifs_mount Failed W/return Code = -6
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, 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 cp no such device or address --------- ---- ------- 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 \ '//192.168.2.5/Media Folder' /mnt/smb This should work. Also, try this to make sure you have permissions: $ smbclient '\\192.168.2.5\Media Folder' -U maikel Type in your password and type in ls at the smbclient prompt. share|improve this answer edited Mar 5 '14 at 0:18 slm♦ 166k40305474 answered Mar 4 '14 at 23:32 samiam 1,961412 1 The single quotes did the job. i used an \040 (space) in /etc/fstab and it work
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 no such device or address git About Us Learn more about Stack Overflow the company Business Learn more about hiring tree connect failed: nt_status_bad_network_name developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a mount.cifs: bad unc 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 http://unix.stackexchange.com/questions/118115/cant-mount-samba-share voted up and rise to the top 15.04 - Mounting using CIFS failing with “No such device or address” up vote 0 down 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. http://askubuntu.com/questions/632411/15-04-mounting-using-cifs-failing-with-no-such-device-or-address 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 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
#1 2015-10-29 19:30:17 ArchArching Member Registered: 2015-10-25 Posts: 14 [SOLVED]Error: "mount error(6): No such device or address" mounting NA Hi, No doubt I have missed or misunderstood something from the wiki and will be pointed to https://bbs.archlinux.org/viewtopic.php?id=204463 the relevent text (the shame), but really struggling to get my NAS mounted. 1. I've left the /etc/samba/smb.conf as default2. Set smbpasswd on my user profile3. testparm -s just displays the config, which is https://bugzilla.redhat.com/show_bug.cgi?id=1194380 default as per #14. smbclient -L 192.168.0.7/volume1/NetBackup displays the details of my NASWhen I atttempt to mount using below command:$ sudo mount -t cifs //192.168.0.7/volume1/NetBackup /mnt/NAS -o user=XXXXXX,password=XXXXXXI get the below error:mount error(6): no such No such device or addressI have done a seach on this error and seems it could be one of many things. Any idea how I can isolate the cause of the problem?Thanks Last edited by ArchArching (2015-10-29 21:55:39) Offline #2 2015-10-29 21:55:15 ArchArching Member Registered: 2015-10-25 Posts: 14 Re: [SOLVED]Error: "mount error(6): No such device or address" mounting NA ArchArching wrote:Hi, No doubt I have missed or misunderstood no such device something from the wiki and will be pointed to the relevent text (the shame), but really struggling to get my NAS mounted. 1. I've left the /etc/samba/smb.conf as default2. Set smbpasswd on my user profile3. testparm -s just displays the config, which is default as per #14. smbclient -L 192.168.0.7/volume1/NetBackup displays the details of my NASWhen I atttempt to mount using below command:$ sudo mount -t cifs //192.168.0.7/volume1/NetBackup /mnt/NAS -o user=XXXXXX,password=XXXXXXI get the below error:mount error(6): No such device or addressI have done a seach on this error and seems it could be one of many things. Any idea how I can isolate the cause of the problem?ThanksTypo. Fixed. Working. Offline Pages: 1 Index »Newbie Corner »[SOLVED]Error: "mount error(6): No such device or address" mounting NA Board footer Jump to Newbie Corner Installation Kernel & Hardware Applications & Desktop Environments Laptop Issues Networking, Server, and Protection Multimedia and Games System Administration Other Architectures Announcements, Package & Security Advisories Arch Discussion Forum & Wiki discussion Pacman & Package Upgrade Issues [testing] Repo Forum Creating & Modifying Packages AUR Issues, Discussion & PKGBUILD Requests GNU/Linux Discussion Community Contributions Programming & Scripting Other Languages Artwork and Screenshots Atom topic feed Powered by FluxBB
Log In [x] | Forgot Password Login: [x] Format For Printing -XML -Clone This Bug -Last Comment First Last Prev Next This bug is not in your last search results. Bug1194380 - "mount error(6): No such device or address " when mounting gluster volume as samba-share Summary: "mount error(6): No such device or address " when mounting gluster volume as ... Status: CLOSED EOL Aliases: None Product: GlusterFS Classification: Community Component: gluster-smb (Show other bugs) Sub Component: --- Version: 3.6.2 Hardware: Unspecified Unspecified Priority high Severity high TargetMilestone: --- TargetRelease: --- Assigned To: bugs@gluster.org QA Contact: Docs Contact: URL: Whiteboard: Keywords: Triaged Depends On: Blocks: Show dependency tree /graph Reported: 2015-02-19 12:02 EST by mauro fattore Modified: 2016-08-23 08:48 EDT (History) CC List: 6 users (show) bugs lmohanty maurof pgurusid rjoseph stefanos See Also: Fixed In Version: Doc Type: Bug Fix Doc Text: Story Points: --- Clone Of: Environment: Last Closed: 2016-08-23 08:48:12 EDT Type: Bug Regression: --- Mount Type: --- Documentation: --- CRM: Verified Versions: Category: --- oVirt Team: --- RHEL 7.3 requirements from Atomic Host: Cloudforms Team: --- Attachments (Terms of Use) Add an attachment (proposed patch, testcase, etc.) Groups: None (edit) Description mauro fattore 2015-02-19 12:02:25 EST Description of problem: S20 S21 storage-gluster nodes with CTDB volume named "SAMBA" active Volume Name: SAMBA Type: Distributed-Replicate Volume ID: a1e83f05-b63c-4c28-af92-8c505b113233 Status: Started Number of Bricks: 2 x 2 = 4 Transport-type: tcp Bricks: Brick1: s20gfs.ovirt.prisma:/gluster/VOL_SAMBA/b1 Brick2: s21gfs.ovirt.prisma:/gluster/VOL_SAMBA/b2 Brick3: s20gfs.ovirt.prisma:/gluster/VOL_SAMBA/b3 Brick4: s21gfs.ovirt.prisma:/gluster/VOL_SAMBA/b4 Options Reconfigured: storage.batch-fsync-delay-usec: 0 performance.quick-read: off performance.read-ahead: off performance.io-cache: off performance.stat-prefetch: off cluster.eager-lock: enable network.remote-dio: enable cluster.quorum-type: auto cluster.server-quorum-type: server storage.owner-uid: 36 storage.owner-gid: 36 server.allow-insecure: on Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. configure Gluster volume "SAMBA" as samba-share on Storage nodes S20 S21: /etc/samba/smb.conf: [gluster-SAMBA] comment = For samba share of volume SAMBA vfs objects = glusterfs glusterfs:volume = SAMBA glusterfs:logfile = /var/log/samba/glusterfs-SAMBA.%M.log glusterfs:loglevel = 7 path = / read only = no guest ok = yes valid users = jon 2. gluster-SAMBA is correctly listed at client-side sudo sm