Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-72-2137452.1
Update Date:2017-10-04
Keywords:

Solution Type  Problem Resolution Sure

Solution  2137452.1 :   ODAVP:Unable to Automatically mount CFIS Share: Mount -a Fails When Mounting A CFS Windows Share on ODA Virtualized Platform  


Related Items
  • Oracle Database Appliance Software
  •  
  • Oracle VM
  •  
  • Big Data Appliance X5-2 Hardware
  •  
  • Linux OS
  •  
Related Categories
  • PLA-Support>Eng Systems>Exadata/ODA/SSC>Oracle Database Appliance>DB: ODA_EST
  •  




In this Document
Symptoms
Changes
Cause
Solution
References


Created from <SR 3-12581142421>

Applies to:

Oracle Database Appliance Software - Version 12.1.2.6 to 12.1.2.6 [Release 12.1]
Big Data Appliance X5-2 Hardware - Version All Versions to All Versions [Release All Releases]
Oracle VM - Version 3.2.2 to 3.2.3 [Release OVM32]
Linux OS - Version Oracle Linux 5.5 to Oracle Linux 6.7 [Release OL5U5 to OL6U7]
Information in this document applies to any platform.

Symptoms

ODA OAK 12.1.2.6.

Unable to mount a CFIS windows share automatically, manual mount works fine:

[root@oda01]# mount -t cifs -o credentials=/etc/.cifs_credentials,uid=oracle,gid=oinstall //ps01/MyOraArchive /mnt/MyOraArchive

After successfully mounting a CFIS Windows share manually, the attempt to do so automatically fails:

[root@oda01 etc]# umount /mnt/MyOraArchive/


Added an entry in the fstab file

[root@oda01 etc]# cat /etc/fstab
LABEL=rootfs / ext3 defaults 1 1
LABEL=bootfs /boot ext3 defaults 1 2
LABEL=u01fs /u01 ext3 defaults 0 0
LABEL=swapfs swap swap defaults 0 0
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
xenfs /proc/xen xenfs defaults 0 0
//ps01/MyOraArchive /mnt/MyOraArchve cifs credentials=/etc/.cifs_credentials,uid=oracle,gid=oinstall 0 0


Issued mount -a command ...

[root@oda01]# mount -a
Couldn't chdir to /mnt/MyOraArchve: No such file or directory

 

Changes

 

Cause

missing mount option "_netdev"
 

Solution

Add "_netdev" to /etc/fstab:

\\ps01\MyOraArchive /mnt/MyOraArchive cifs credentials=/etc/.cifs_credentials,uid=oracle,gid=oinstall,_netdev 0 0

 

References

<NOTE:1633879.1> - ODA (Oracle Database Appliance): HowTo export ACFS (cloudfs) using protected Samba/CIFS
<NOTE:1905103.1> - Samba share hangs on ACFS Filesystem
<NOTE:1634154.1> - ODA (Oracle Database Appliance): How to export ACFS using Samba-CIFS to MS Windows
<NOTE:1968929.1> - ODAVP: How to export ACFS using Samba-CIFS and mount it on local guest VM
<NOTE:1461798.1> - How to download Linux RPM's directly on the Oracle Database Appliance (ODA)

Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback