Centos 7 – How to fix read only disk on mount

Last updated on March 29th, 2018 at 02:44 pm

sudo mount -o rw,remount /

192.168.1.200

mkdir -p /home/pbx01newlive
mkdir -p /home/pbx01mp3
chmod -R 777 /home/pbx01newlive
chmod -R 777 /home/pbx01mp3

nano /etc/exports

/home/pbx01newlive   192.168.100.220(rw,sync,no_root_squash,no_all_squash)
/home/pbx01mp3     192.168.1.200(rw,sync,no_root_squash,no_all_squash)
mount -t nfs 192.168.1.200:/home/pbx01mp3 /var/spool/asterisk/monitor/pbx01mp3
systemctl restart nfs-server
cp -rf -n pbx/var/spool/asterisk/monitor/* /var/spool/asterisk/monitor/pbx01mp3