In Ubuntu 12 LTS, I always used mount.cifs and mount.nfs
Now they are not in the Ubuntu 14.04 repository, so how do you use mount cifs and mount nfs or install them in 14?
Thanks
i.e.)
Ubuntu 12.04 always worked with:
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
But doesnt work in Ubuntu 14.04 machine same command:
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
Best Answer
The
mount.cifs
command is provided bycifs-utils
andmount.nfs
bynfs-common
.In general, when you're looking for a particular file and don't know which package provides it, you can search in the Ubuntu Repositories or in
synaptic
. Alternatively, you can useapt-file
.If it is not installed, install it with
sudo apt-get install apt-file
and then update its database withapt-file update
. Once you've done that, you can easily search package contents: