首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 服务器 > 其他服务器 >

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

2012-03-19 
提示 read-only file system从网上下载了一个vmware 镜相文件,用root登陆,但用vi, mkdir 总是提示 read-on

提示 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 ~]#

热点排行