I have looked at this too long. I believe I am close but am blinded by too many clues in my way. I want to join my NAS to the Rasberry2
This command works in WIndows:
net use t: \10.10.20.11\ash /persistent:yes /user:Ashpoint 002yux00
Here is my work to date:
Using username "osmc".
osmc@10.10.20.244's password:
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
osmc@ash_nas:~$ sudo mkdir media/videos
mkdir: cannot create directory 'media/videos': No such file or directory
osmc@ash_nas:~$ sudo mkdor videos
sudo: mkdor: command not found
osmc@ash_nas:~$ sudo mkdir videos
osmc@ash_nas:~$ sudo mount -t cifs -o admin //ASH_NAS/Movies videos
'Password for root@//ASH_NAS/Movies: ********
mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
osmc@ash_nas:~$ sudo mount -t cifs -o admin //ASH_NASsudo mount -t cifs -o admin //ASH_NAS/Movies videos/Movies videos
Usage:
mount [-lhV]
mount -a [options]
mount [options] [--source] <source> | [--target] <directory>
mount [options] <source> <directory>
mount <operation> <mountpoint> [<target>]
Options:
-a, --all mount all filesystems mentioned in fstab
-c, --no-canonicalize don't canonicalize paths
-f, --fake dry run; skip the mount(2) syscall
-F, --fork fork off for each device (use with -a)
-T, --fstab <path> alternative file to /etc/fstab
-h, --help display this help text and exit
-i, --internal-only don't call the mount.<type> helpers
-l, --show-labels lists all mounts with LABELs
-n, --no-mtab don't write to /etc/mtab
-o, --options <list> comma-separated list of mount options
-O, --test-opts <list> limit the set of filesystems (use with -a)
-r, --read-only mount the filesystem read-only (same as -o ro)
-t, --types <list> limit the set of filesystem types
--source <src> explicitly specifies source (path, label, uuid)
--target <target> explicitly specifies mountpoint
-v, --verbose say what is being done
-V, --version display version information and exit
-w, --rw, --read-write mount the filesystem read-write (default)
-h, --help display this help and exit
-V, --version output version information and exit
Source:
-L, --label <label> synonym for LABEL=<label>
-U, --uuid <uuid> synonym for UUID=<uuid>
LABEL=<label> specifies device by filesystem label
UUID=<uuid> specifies device by filesystem UUID
PARTLABEL=<label> specifies device by partition label
PARTUUID=<uuid> specifies device by partition UUID
<device> specifies device by path
<directory> mountpoint for bind mounts (see --bind/rbind)
<file> regular file for loopdev setup
Operations:
-B, --bind mount a subtree somewhere else (same as -o bind)
-M, --move move a subtree to some other place
-R, --rbind mount a subtree and all submounts somewhere else
--make-shared mark a subtree as shared
--make-slave mark a subtree as slave
--make-private mark a subtree as private
--make-unbindable mark a subtree as unbindable
--make-rshared recursively mark a whole subtree as shared
--make-rslave recursively mark a whole subtree as slave
--make-rprivate recursively mark a whole subtree as private
--make-runbindable recursively mark a whole subtree as unbindable
For more details see mount(8).
osmc@ash_nas:~$ ^C
osmc@ash_nas:~$ sudo mount -t cifs -o admin //ASH_NAS/Movies videos
Password for root@//ASH_NAS/Movies: ********
mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
osmc@ash_nas:~$
osmc@ash_nas:~$ sudo mount -t cifs -o admin //ASH/ASH_NAS/Movies
mount: can't find //ASH/ASH_NAS/Movies in /etc/fstab
osmc@ash_nas:~$ sudo mount -t cifs -o admin //ASH_NAS
mount: can't find //ASH_NAS in /etc/fstab
osmc@ash_nas:~$ sudo mount -t cifs -o admin //ASH_NAS/Movies videos
Password for root@//ASH_NAS/Movies: ********
mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
osmc@ash_nas:~$ sudo mount -t cifs -o admin \\ASH_NAS\Movies videos
mount.cifs: bad UNC (\ASH_NASMovies)
osmc@ash_nas:~$ sudo mount -t cifs -o admin \\10.10.20.11\ash videos mount.cifs: bad UNC (\10.10.20.11ash)
osmc@ash_nas:~$ sudo mount -t cifs -o admin //\10.10.20.11/ash videos
Password for root@//10.10.20.11/ash: ********
mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
osmc@ash_nas:~$ sudo mount -t cifs -o admin //\10.10.20.11/ash
mount: can't find //10.10.20.11/ash in /etc/fstab
osmc@ash_nas:~$ sudo mount -t cifs -o ashpoint //\10.10.20.11/ash
mount: can't find //10.10.20.11/ash in /etc/fstab
osmc@ash_nas:~$ sudo mount -t cifs -o Ashpoint \\ASH_NAS\Movies videos
mount.cifs: bad UNC (\ASH_NASMovies)
osmc@ash_nas:~$ sudo mount -t cifs -o Ashpoint //ASH_NAS/Movies videos
Password for root@//ASH_NAS/Movies: ********
mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
osmc@ash_nas:~$ sudo mount -t cifs -o Ashpoint //ASH_NAS/Ash videos
Password for root@//ASH_NAS/Ash: ********
mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
osmc@ash_nas:~$ sudo mkdir media/videos
Please offer suggestions…