oracle/vagrant-projects

OracleRAC OL8 - mounting failed with the error: No such device

DT-234 opened this issue · 4 comments

DT-234 commented

Try to build the OracleRAC OL8, mounting failed with the error: No such device after the UEK6 installed and reboot.

    node2: Rebooting to make UEK6 the running kernel, a prerequisite for ASMFD
==> node2: Waiting for machine to reboot...
==> node2: Running provisioner: shell...
    node2: Running: inline script
==> node2: Running provisioner: shell...
    node2: Running: C:/Users/user/AppData/Local/Temp/Mxt242/tmp/vagrant-shell20240821-18528-hiw57y.sh
    node2: /sbin/mount.vboxsf: mounting failed with the error: No such device
    node2: -----------------------------------------------------------------
    node2: 2024-08-21 13:40:53: Make the setup.env
    node2: -----------------------------------------------------------------
    node2: /tmp/vagrant-shell: line 487: /vagrant/config/setup.env: No such file or directory

    node1: Rebooting to make UEK6 the running kernel, a prerequisite for ASMFD
==> node1: Waiting for machine to reboot...
==> node1: Running provisioner: shell...
    node1: Running: inline script
==> node1: Running provisioner: shell...
    node1: Running: C:/Users/user/AppData/Local/Temp/Mxt242/tmp/vagrant-shell20240821-18528-uxg0i4.sh
    node1: /sbin/mount.vboxsf: mounting failed with the error: No such device
    node1: -----------------------------------------------------------------
    node1: 2024-08-21 14:07:35: Setup the environment variables
    node1: -----------------------------------------------------------------
    node1: -----------------------------------------------------------------
    node1: /tmp/vagrant-shell: line 583: /vagrant/config/setup.env: No such file or directory

Action Taken:

1. # vagrant destroy -f
2. # vagrant up

Log as attached VirtualBox_vagrant_mounting failed with the error No such device.txt

Action Taken to solve:

1. Added sleep 60 prior the line mount -t vboxsf vagrant /vagrant in OracleRAC\OL8\scripts\setup.sh as below
if [ "${PROVIDER}" == "virtualbox" ]; then
  sleep 60
  mount -t vboxsf vagrant /vagrant
fi
2. # vagrant destroy -f
3. # vagrant up

=========================================================================

Environment (please complete the following information):

  • Host OS: Windows 11 Pro N
  • Vagrant version: 2.4.1
  • Vagrant provider:
    • For VirtualBox:
      • VirtualBox version: 7.0.20r163906
  • Vagrant project: OracleRAC\OL8

How much memory is having your host and how much memory have been dedicated to the VMs?

DT-234 commented

How much memory is having your host and how much memory have been dedicated to the VMs?

Windows Host : 8cpu 32GB Memory
VM Host 1: 2cpu 8GB Memory
VM Host 2: 2cpu 8GB Memory

DT-234 commented

I had rerun again and uplaoded details in #520

/home/mobaxterm  VBoxManage showvminfo rac-213-ol8-node1 | egrep -w "Name:|Guest OS:|Memory size:|CPUs:"
Name:                        rac-213-ol8-node1
Guest OS:                    Oracle Linux (64-bit)
Memory size:                 8192MB
Number of CPUs:              2

/home/mobaxterm  VBoxManage showvminfo rac-213-ol8-node2 | egrep -w "Name:|Guest OS:|Memory size:|CPUs:"
Name:                        rac-213-ol8-node2
Guest OS:                    Oracle Linux (64-bit)
Memory size:                 8192MB
Number of CPUs:              2

sleep 60 is now implemented, please check and in case close the issue