在Ubuntu 12 LTS中,我始终使用mount.cifs和mount.nfs
现在它们不在Ubuntu 14.04存储库中,那么您如何使用mount cifs和mount nfs或将它们安装在14中呢?
谢谢
即
Ubuntu 12.04始终适用于:
root@ub12box# mount -t cifs -o user=administrator '\\192.168.0.1\Data' /tmp/myServer ; df ;
Password: ***************
Filesystem 1K-blocks Used Available Use% Mounted
on /dev/sdb2 144636 85800 26058836 8% /
\\192.168.0.1\Data 8059772 652288 407484 6% /tmp/myServer
但在Ubuntu 14.04机器上的相同命令中不起作用:
root@ub14box# mount -t cifs -o user=administrator '\\192.168.0.1\Data' /tmp/myServer ; df ;
mount: block device \\192.168.0.1\Data is write-protected, mounting read-only
mount: cannot mount block device \\192.168.0.1\Data read-only
Filesystem 1K-blocks Used Available Use% Mounted
on /dev/sdb2 126636 950900 99958936 2% /
root@ub14box# dmesg|tail
[ 2023.664186] Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
[ 2023.664197] CIFS VFS: Send error in SessSetup = -13
[ 2023.667124] CIFS VFS: cifs_mount failed w/return code = -13
[ 2023.676417] Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
[ 2023.676424] CIFS VFS: Send error in SessSetup = -13
[ 2023.676499] CIFS VFS: cifs_mount failed w/return code = -13
它对我来说适用于14.04.4 LTS。
—
克里斯K