1160 posts
|
This post was updated on Mar 27, 2025; 7:03am.
Hi erman,
We are using OCI DBCS VM which is Base Database Service. We have a requirement to place application files daily in some location in DB server. But as per note id 2704132.1, it is not possible to increase space in either root partition or in /u01 in OCI DB.
So,
We have created a block volume, attached to app server and then performed NFS mount from App
to DBCS server.
Below are steps for reference:
on App Server
$ yum install -y nfs-utils
Add Block Volume mount to /etc/exports file
$ echo "<BV_Mount> <DbServer FQDN>(rw)" | sudo tee -a /etc/exports > /dev/null
Start NFS Services
$ sudo systemctl enable --now nfs-server
$ showmount -e
On DB Server
Mount as below
$ mount <AppServer>:<BV Mount> <BV Mount>
You may have to create Mount location in DB Server if it doesn't exist
To make mount permanent, Update /etc/fstab
<AppServer>:<BV Mount> <BV Mount> nfs rw 00
e.g: apps01.oracle.com:/u01_images/u01_images nfs rw 00
RUn below command to reflect changes of fstab
$ systemctl daemon-reload
In nfs server. Directory owner and group is applyest and applyest.
Is it required to have same user and group in NFS server and client?
Since the files are generated in DB server(NFS Client), permissions of the files we are expecting be oracle user and group. Pls correct me
How to set this,
Can you please kindly share your ideas.
Thanks,
Satish
|