mkdir /mnt/cdrom //创建挂载硬盘目录
mount -o rw /dev/vdb1 /mnt/cdrom //挂载硬盘设备/dev/vdb1 rw是可读可写 ,ro是只读
上面步骤重启会失效,解决办法
chmod +x /etc/rc.local
echo 'mount -o rw /dev/vdb1 /mnt/cdrom' >> /etc/rc.local
标签:rw,vdb1,mnt,CentOS7,cdrom,挂载,硬盘 From: https://www.cnblogs.com/MyExperience/p/17223570.html