安装 MyCloud

安装 MyCloud

据我了解,8TB WD MyCloud NAS-WDBCTL0080HWT-NESN已配置 SAMBA。通过 cifs 挂载的尝试失败:

sudo mount -t cifs  //192.168.8.109/shares/Public /mnt/nas
mount: wrong fs type, bad option, bad superblock on //192.168.8.109/shares/Public, missing codepage or helper program, or other error (for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program)

问题

  1. mount -t cifs 与 MyCloud 一起使用是否不正确?
  2. 如果正确,语法是否存在问题?
  3. 如果语法正确,还可以执行哪些其他命令行诊断?

使用 smbfs 代替 cifs 进行了类似的尝试:

sudo mount -t smbfs 192.168.8.109:/shares/Public  /mnt/nas username=root

Usage:  mount [-lhV]  mount -a [options]  mount [options] [--source] <source> | [--target] <directory>  mount [options] <source> <directory>  mount <operation> <mountpoint> [<target>]

Mount a filesystem.

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  -i, --internal-only     don't call the
mount.<type> helpers  -l, --show-labels       show also filesystem
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  -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

相关内容