专注收集记录技术开发学习笔记、技术难点、解决方案
网站信息搜索 >> 请输入关键词:
您当前的位置: 首页 > Solaris

提示 read-only file system,该怎么解决

发布时间:2011-06-27 19:17:01 文章来源:www.iduyao.cn 采编人员:星星草
提示 read-only file system
从网上下载了一个vmware 镜相文件,用root 登陆,但用vi, mkdir 总是提示 read-only file system
这是怎么回事,权限应该有呀!谢谢!!

------解决方案--------------------
更改挂载方式为只读或可写
[root@RHEL4_U5 ~]# mount /dev/sdb1 /mountpoint/
[root@RHEL4_U5 ~]# mount
/dev/sda3 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sda1 on /boot type ext3 (rw)
none on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
/dev/sdb1 on /mountpoint type ext3 (rw)
[root@RHEL4_U5 ~]# touch /mountpoint/manifold
[root@RHEL4_U5 ~]# ls /mountpoint/manifold
/mountpoint/manifold
[root@RHEL4_U5 ~]# mount -o remount -o ro /dev/sdb1 /mountpoint/
[root@RHEL4_U5 ~]# touch /mountpoint/manifolden
touch: cannot touch `/mountpoint/manifolden': Read-only file system
[root@RHEL4_U5 ~]# mount -o remount -o rw /dev/sdb1 /mountpoint/
[root@RHEL4_U5 ~]# touch /mountpoint/manifolden
[root@RHEL4_U5 ~]# ls /mountpoint/manifolden
/mountpoint/manifolden
[root@RHEL4_U5 ~]#
友情提示:
信息收集于互联网,如果您发现错误或造成侵权,请及时通知本站更正或删除,具体联系方式见页面底部联系我们,谢谢。

其他相似内容:

热门推荐: