Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #173181

Re: Problem getting NAS box NFS/CIFS to work with Jessie

From Dan Purgert <dan@djph.net>
Newsgroups linux.debian.user
Subject Re: Problem getting NAS box NFS/CIFS to work with Jessie
Date 2016-10-04 16:00 +0200
Message-ID <soyqe-3pI-11@gated-at.bofh.it> (permalink)
References <sodvr-6I1-9@gated-at.bofh.it>
Organization A noiseless patient Spider

Show all headers | View raw


Fred wrote:
> [...]
> When I try to mount the -321 to access it:
>
> root@ragnok:/home/fred# mount.nfs 192.168.0.32:Volume_1 /mnt/dns321 -v
> [...]
> mount.nfs: mount(2): Permission denied
> mount.nfs: access denied by server while mounting 192.168.0.32:Volume_1
>
> [...]
>
> root@ragnok:/home/fred# mount.cifs 192.168.0.32:Volume_1 /mnt/dns321 -v
> mount.cifs: bad UNC (192.168.0.32:Volume_1)
>
> What does UNC mean in the above response and where do I go from here?
> Best regards,
> Fred

I don't systemd, so I can't comment on whether or not it is throwing a
spanner into the works.  

The first error looks like your /etc/exports is using a different path
thatn you think it is, or /etc/hosts.allow is broken on the NAS.

Given your command, exports should look something this:

 - Volume_1 192.168.1.0/24(rw,no_subtree_check)

However, in my experience, /etc/exports will use the full path
(commonly, this'll be something like "/srv/Volume_1").  You will likely
have to check the file to verify what it really is.

Your hosts.allow should be something like 
 - "ALL: 192.168.1.0/255.255.255.0" (possibly /24, depending on how your
   system behaves).

The UNC path is "Universal Naming Convention", and essentially means
"path".  Given the error, it reinforces my thinking that you forgot to
provide the full path of the share.

-- 
|_|O|_| Registered Linux user #585947
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5  4AEE 8E11 DDF3 1279 A281

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Problem getting NAS box NFS/CIFS to work with Jessie Fred <fred@blakemfg.com> - 2016-10-03 17:40 +0200
  Re: Problem getting NAS box NFS/CIFS to work with Jessie Reco <recoverym4n@gmail.com> - 2016-10-03 19:30 +0200
  Re: Problem getting NAS box NFS/CIFS to work with Jessie Joe <joe@jretrading.com> - 2016-10-03 19:50 +0200
    Re: Problem getting NAS box NFS/CIFS to work with Jessie Fred <fred@blakemfg.com> - 2016-10-03 22:40 +0200
      Re: Problem getting NAS box NFS/CIFS to work with Jessie SOLVED Fred <fred@blakemfg.com> - 2016-10-04 04:50 +0200
  Re: Problem getting NAS box NFS/CIFS to work with Jessie Andrew F Comly   康大成 <andrew.comly@protonmail.com> - 2016-10-04 02:30 +0200
  Re: Problem getting NAS box NFS/CIFS to work with Jessie Dan Purgert <dan@djph.net> - 2016-10-04 16:00 +0200
    Re: Problem getting NAS box NFS/CIFS to work with Jessie Fred <fred@blakemfg.com> - 2016-10-04 21:10 +0200

csiph-web