LQ Newbie
Registered: Jul 2008
Posts: 5
Rep:
|
Issues with CIFS on CentOS 5.2 (but not 5.0)
I have been installing CentOS 5 for many months now. I have been adding the u/mount.cifs(v1.8) files and using them to connect to Netgear/ Infrant ReadyNAS NV+ devices. Having a need to ghost these machines I needed to start installing CentOS 5.2 which allows ghost to work with the selinux partition information.
Following the same procedure I always do on a freshly installed OS (copying the u/mount.cifs (v1.8)) and the scripts I use to mount the NAS shares. I ran the scripts only to come up with:
mount error 13 = Permission denied
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
I have tried all forms to mount the share to no avail. Meanwhile the same script and u/mount.cifs files work fine on the CentOS 5 boxes.
script entry:
mount -t cifs //nas1.domain.internal/vm-base /mnt/NAS1/vm-base -o credentials=/root/VMbkp.cred
Other attempts:
mount -t cifs //nas1.domain.internal/vm-base /mnt/NAS1/vm-base -o credentials=/root/VMbkp.cred :: where password was enclosed with quotes. -> mount error 13 = Permission denied Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
mount.cifs -t cifs //nas1.domain.internal/vm-base /mnt/NAS1/vm-base -o credentials=/root/VMbkp.cred -> Mounting the DFS root for domain not implemented yetNo ip address specified and hostname not found
mount -t cifs //nas1.domain.internal/vm-base /mnt/NAS1/vm-base -ousername=domain\vmbackup,password=[R#M)T#D@T@] -> mount error 13 = Permission denied Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
mount -t cifs //nas1.domain.internal/vm-base /mnt/NAS1/vm-base -o[SPACE]username=domain\vmbackup,password=[R#M)T#D@T@] -> mount error 13 = Permission denied Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
mount -t cifs //nas1.domain.internal/vm-base /mnt/NAS1/vm-base -o username=domain/vmbackup,password=[R#M)T#D@T@] -> mount error 13 = Permission denied Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
mount -t cifs //nas1.domain.internal/vm-base /mnt/NAS1/vm-base -o user=domain\vmbackup,pass=[R#M)T#D@T@] -> mount error 13 = Permission denied Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
mount.cifs //nas1.domain.internal/vm-base /mnt/NAS1/vm-base -o user=domain\vmbackup,pass=[R#M)T#D@T@] -> mount error 13 = Permission denied Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
mount.cifs //nas1.domain.internal/vm-base /mnt/NAS1/vm-base -o user=vmbackup,pass=[R#M)T#D@T@],dom=domain -> -bash: !,dom=domain: event not found
mount.cifs //nas1.domain.internal/vm-base /mnt/NAS1/vm-base -o dom=domain,user=vmbackup,pass=[R#M)T#D@T@] -> mount error 13 = Permission denied Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
mount.cifs //nas1.domain.internal/vm-base /mnt/NAS1/vm-base -o domain=domain,user=vmbackup,pass=[R#M)T#D@T@] -> mount error 13 = Permission denied Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
Please can anyone help explain why I can mount from CentOS 5 systems but not CentOS 5.2?
UPDATE: Using --verbose for 5.0 and 5.2 systems shows that CIFS appears to be mis-parsing options. Notice the quotes in the verbose output on the 5.2 system.
5.0:
# ./mountNAS1.sh
parsing options: rw,credentials=/root/VMbkp.cred
mount.cifs kernel mount options unc=//nas1.domain.internal\vm-base,ip=10.1.129.16,user=vmbackup,,,,,,,,,,domain=domain,pass=[R#M)T#D@T@],ver=1,rw,credentials=/root/VMbkp.cred
parsing options: rw,credentials=/root/VMbkp.cred
mount.cifs kernel mount options unc=//nas1.domain.internal\backup,ip=10.1.129.16,user=vmbackup,,,,,,,,,,domain=domain,pass=[R#M)T#D@T@],ver=1,rw,credentials=/root/VMbkp.cred
5.2:
# ./mountNAS1.sh
parsing options: rw,credentials=/root/VMbkp.cred
mount.cifs kernel mount options unc=//nas1.domain.internal\vm-base,ip=10.1.129.16,user=vmbackup",,,,,,,,,,,domain="domain,pass="[R#M)T#D@T@]",ver=1,rw,credentials=/root/VMbkp.cred
mount error 13 = Permission denied
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
parsing options: rw,credentials=/root/VMbkp.cred
mount.cifs kernel mount options unc=//nas1.domain.internal\backup,ip=10.1.129.16,user=vmbackup",,,,,,,,,,,domain="domain,pass="[R#M)T#D@T@]",ver=1,rw,credentials=/root/VMbkp.cred
mount error 13 = Permission denied
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
Last edited by navigat0; 07-30-2008 at 01:02 PM.
Reason: UPDATE
|