今天我在生产xen vm服务器上做了一些愚蠢的事.我将外部设备映射器挂载为只读以制作文件系统的副本.此过程进行得很顺利,但rootfs /在来宾计算机内变为只读.
/dev/xvda on / type ext4 (ro,relatime,errors=remount-ro,user_xattr,barrier=1,data=ordered)
幸运的是,所有重要的服务都使用/ home和/ var分区,因此机器不会停止运行,但现在我无法重新安装/ root作为RW而不重新启动它(这不是一个选项,因为它的生产).
我试过了:
> fsck -f / dev / xvda
> mount -o rw,remount /
> mount -n -o remount,rw /
它不允许将其重新安装为RW.
[Mon Jul 7 14:59:06 2014] EXT4-fs error (device xvda): ext4_remount:4558: Abort forced by user [Mon Jul 7 14:59:21 2014] EXT4-fs error (device xvda): ext4_remount:4558: Abort forced by user [Mon Jul 7 14:59:50 2014] EXT4-fs error (device xvda): ext4_remount:4558: Abort forced by user [Mon Jul 7 15:00:13 2014] EXT4-fs error (device xvda): ext4_remount:4558: Abort forced by user [Mon Jul 7 15:00:16 2014] EXT4-fs error (device xvda): ext4_remount:4558: Abort forced by user
请告诉我是否可以不重启?