Remove the File Storage

If you created an Oracle WebLogic Server for OCI domain with a file storage , and no longer require the file storage, you can remove it.

Note:

You cannot use this procedure on a domain that was created before Release 21.3.3 (September 16, 2021).

To remove a file storage:

  1. Run the following command to manually unmount from all the VMs:
    umount -l /u01/shared
  2. Remove the /etc/fstab entries on all VMs.

    Note:

    Even if you do not unmount the file storage, the VM instance is functional as long as there are no domain dependencies. The VMs restart successfully, even if it fails to mount the deleted file storage. After removing the file storage, you can remove the /etc/fstab entries on all VMs.
  3. Sign in to the Oracle Cloud Infrastructure Console.
  4. Click the navigation menu Navigation Menu icon, select Developer Services. Under the Resource Manager group, click Stacks.
  5. Select the Compartment that contains your stack.
  6. Click the name of your stack.
  7. Click Variables.
  8. Click Edit Variables.
  9. Clear Add File System Storage.
  10. Click Next.
  11. Click Save Changes.
  12. Click Terraform Actions, and then click Apply.
  13. Enter a name for the job, and then click Apply.
  14. Periodically monitor the progress of the Apply job until it is finished.