Skip to content

testNFF

DevWithNehaCloud edited this page Aug 15, 2026 · 2 revisions
image

give the name and leave all the default things and click create

image image image image

Mount Target IP : 10.0.0.212 Mount Target : hub-private-subnet

VM1 : hub-public-subnet VM2 : hub-public-subnet

यह कोई problem नहीं है। ✅

अगर दोनों subnets same VCN (hub-vcn) में हैं, तो public subnet और private subnet एक-दूसरे से internal private IP पर communicate कर सकते हैं, बशर्ते Security Rules allow हों।

login to vm1 and run this command

sudo dnf install -y nfs-utils
showmount -e 10.0.0.212
image

इसका मतलब:

✅ VM → Mount Target connectivity working है ✅ NFS service working है ✅ Export visible है ✅ Security Rules ठीक हैं

अब अगला step: FSS को mount करना

now run the commands

sudo mkdir /fss-share
sudo mount -t nfs 10.0.0.212:/FileSystem-20260815-1125-22 /fss-share
df -h | grep fss
image

मतलब OCI ने तुम्हें 8 Exabytes logical capacity दिखाई है (FSS dynamically scalable है)।

अब VM1 पर file बनाओ

sudo su -
echo "Hello from VM1" > /fss-share/test.txt

Check:

cat /fss-share/test.txt

Output:

Hello from VM1

image

now go to VM2 and do the same steps

image
cat /fss-share/test.txt

Output:

it should be Hello from VM1

image

Now it is proved that

VM1 → File Create ↓ OCI File Storage Service ↓ VM2 → Same File Read

यानी दोनों VMs एक ही shared storage use कर रहे हैं।

extra verification on VM2

sudo su -

फिर:

echo "Hello from VM2" > /fss-share/test2.txt

फिर check करो:

cat /fss-share/test2.txt
image

now again in VM1 run

cat /fss-share/test2.txt
image

✅ Same FSS mount दोनों VMs पर है ✅ VM1 की file VM2 को दिख रही है ✅ VM2 की file VM1 को दिख रही है ✅ Shared Storage successfully working

Interview Answer (Real Practical Experience)

"I configured OCI File Storage Service by creating a File System and Mount Target. I mounted the same NFS file system on two Compute Instances and verified shared access by creating files from one VM and accessing them from the other. This demonstrated shared storage across multiple servers."

OCI FSS Architecture

            OCI File Storage Service
                     |
              Mount Target
                10.0.0.212
                     |
     ---------------------------------
     |                               |
     |                               |
 App-Server-01                  App-Server-02
  /fss-share                     /fss-share
     |                               |
     -------- Same Files ------------

Interview Question: What is Mount Target?

"A Mount Target is an NFS endpoint that provides network access to an OCI File Storage Service file system. Compute Instances use the Mount Target IP address to mount and access the shared file system."

Block Volume = Storage for one server FSS = Shared storage for multiple servers

Clone this wiki locally