I have a 2Tb of storage on a linux box, and i want to use that storage as a mount point from another machine.
As a root user on the remote machine, specify the mount point details
$cat /etc/exports
/scratch *(rw)
/fusionapps *(rw,no_root_squash)
And restart the NFS
sudo /etc/rc.d/init.d/nfs restart (All services should be in running condition)
sudo /etc/rc.d/init.d/nfs status (All services should be in running condition)
And on the local machine, perfrom the following steps
1. Create the stage dir under / as a root user and assign 777 permissions
2. Ad the entry to /etc/fstab file
slcai664.us.oracle.com:/fusionapps /stage nfs rw,hard,nointr,rsize=131072,wsize=131072,timeo=600,noacl,noatime,nodiratime,lock 0 0
3. Then try “mount -a”
If there are any mount point issues, say even as root user, you are not able to modify the files
Unable to mount Read-Only file System
then use
sudo mount -n -o remount,rw /
I am working as a Training Development Manager in Cotocus, managing a team of Trainers, Consultants, and Experts who support DevOps, DevSecOps, Master in DevOps, Site Reliability Engineering (SRE) training, consulting and outsourcing projects for our Corporate clients and individuals.
In just 4 years of hard work and commitment to deliver results, our organization is continuously growing and serving 30+ clients globally. We ensure the highest levels of certainty and satisfaction through a deep-set commitment to our clients with our comprehensive industry expertise and a global network of innovative professionals. Our dedication towards delivering the right solution and approach has earned us top clients from the industry with the highest satisfaction rating.
We provide over 40 specialized programs on DevOps, Cloud, and Containers, DevSecOps, SRE, MDE that are focused on industry requirements and each curriculum is developed and delivered by leading experts in each domain and aligned to authoritative certification bodies.
Contact me at contact@DevOpsSchool.com
Latest posts by Mantosh Singh
(see all)