Can someone please look this over? I think I need a second set of eyes here.
So I have a cifs share on this small network that I need to mount on this desktop. It mounted fine under Fedora 14, but after the upgrade to Fedora 16 it is not working.
The share is on //192.168.1.50/data
Now on the F16 box I have created a mount:
Code:
[root@f16d ~]$ ls -la /
drwxrwxrwx. 2 root root 8192 Mar 20 21:26 nasdata
I have set the credentials in:
Code:
[root@f16d ~]# ls -la /root/.smbcredentials
-rwx------. 1 root root 182 Feb 12 11:12 /root/.smbcredentials
[root@f16d ~]# cat /root/.smbcredentials
username=administrator@thecompany.local
password=<password>
The last line of my fstab has the entry:
Code:
[root@f16d ~]# ls -la /etc/fstab
-rw-r--r--. 1 root root 892 Mar 31 13:23 /etc/fstab
[root@f16d ~]# cat /etc/fstab
#
# /etc/fstab
# Created by anaconda on Sun Jan 1 22:03:39 2012
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/vol1-os / ext4 defaults 1 1
/dev/mapper/vol1-data /data ext4 defaults 1 1
UUID=2ebfe9c5-7fd7-4134-adfa-9d9ceeb88c18 /boot ext4
defaults 1 2
UUID=770479df-ba31-4e11-8be1-ac8760676763 swap swap
defaults 0 0
//192.168.1.50/data /nasdata cifs
credentials=/root/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777 0
0
Now if I try to access the volume in Dolphin I get:
An error occurred with accessing "data on //192.168.1.50'. the system responded:
mount: only root can mount //192.168.1.50/data on /nasdata
However if I do a:
Code:
[langenoir@f16d ~]$ sudo mount -a
It mounts fine.
Prior to the upgrade we had a desktop and a laptop both running Fedora 14 and neither had a problem accessing this share. Now I have copied all the setting from the f14l laptop, but it's not working. Booting to the laptop the share mounts fine, no additional commands needed.
Here is the relevant configs of the two systems.
f14l Old Laptop
Code:
[root@f14l ~]# ls -la /
drwxrwxrwx 1 root root 8192 Mar 20 21:26 nasdata
[root@f14l ~]# ls -la /root/.smbcredentials
-rwx------. 1 root root 59 Mar 6 2011 /root/.smbcredentials
[root@f14l ~]# cat /root/.smbcredentials
username=administrator@thecompany.local
password=<password>
[root@f14l ~]# ls -la /etc/fstab
-rw-r--r--. 1 root root 961 May 2 2011 /etc/fstab
-
[root@f14l ~]# cat /etc/fstab
#
# /etc/fstab
# Created by anaconda on Thu Feb 3 22:10:17 2011
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=8ff3e06c-5fa8-4fa9-9cdb-23866379bc13 /boot ext4 defaults 1 2
/dev/mapper/f14lvg-osvol / ext4 defaults 1 1
/dev/mapper/f14lvg-swap swap swap defaults 0 0
/dev/mapper/f14lvg-data /data ext4 defaults 1 1
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
//192.168.1.50/data /nas cifs
credentials=/root/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777 0
0
f16d New Desktop
Code:
[root@f16d ~]$ ls -la /
drwxrwxrwx. 2 root root 8192 Mar 20 21:26 nasdata
[root@f16d ~]# ls -la /root/.smbcredentials
-rwx------. 1 root root 182 Feb 12 11:12 /root/.smbcredentials
[root@f16d ~]# cat /root/.smbcredentials
username=administrator@thecompany.local
password=<password>
[root@f16d ~]# ls -la /etc/fstab
-rw-r--r--. 1 root root 892 Mar 31 13:23 /etc/fstab
[root@f16d ~]# cat /etc/fstab
#
# /etc/fstab
# Created by anaconda on Sun Jan 1 22:03:39 2012
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/vol1-os / ext4 defaults 1 1
/dev/mapper/vol1-data /data ext4 defaults 1 1
UUID=2ebfe9c5-7fd7-4134-adfa-9d9ceeb88c18 /boot ext4
defaults 1 2
UUID=770479df-ba31-4e11-8be1-ac8760676763 swap swap
defaults 0 0
//192.168.1.50/data /nasdata cifs
credentials=/root/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777 0
0
Am I missing something here?