博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Linux文件系统变成只读以后
阅读量:2435 次
发布时间:2019-05-10

本文共 956 字,大约阅读时间需要 3 分钟。

很奇怪的问题,由以下方法解决:
DtQLinux联盟
DtQLinux联盟
  1、mount:
DtQLinux联盟
  用于查看哪个模块输入只读,一般显示为:
DtQLinux联盟
DtQLinux联盟
  /dev/hda1 on / type ext3 (rw)
DtQLinux联盟
  none on /proc type proc (rw)
DtQLinux联盟
  usbdevfs on /proc/bus/usb type usbdevfs (rw)
DtQLinux联盟
  none on /dev/pts type devpts (rw,gid=5,mode=620)
DtQLinux联盟
  /dev/hda5 on /home type ext3 (rw)
DtQLinux联盟
  none on /dev/shm type tmpfs (rw)
DtQLinux联盟
  /dev/hda2 on /usr/local type ext3 (rw)
DtQLinux联盟
  /dev/nb1 on /EarthView/RAW type ext3 (ro)
DtQLinux联盟
DtQLinux联盟
  2、如果发现有ro,就重新mount,或者umount以后再remount
DtQLinux联盟
DtQLinux联盟
  3、umount /dev/nb1
DtQLinux联盟
  如果发现有提示“device is busy”,找到是什么进程使得他busy
DtQLinux联盟
DtQLinux联盟
  fuser -m /mnt/data 将会显示使用这个模块的pid
DtQLinux联盟
  fuser -mk /mnt/data 将会直接kill那个pid
DtQLinux联盟
DtQLinux联盟
  然后重新mount即可。
DtQLinux联盟
DtQLinux联盟
  4、还有一种方法是直接remount,命令为
DtQLinux联盟
DtQLinux联盟
  mount -o rw,remount /mnt/data 没有用过,看到网络上有这么写。
DtQLinux联盟
DtQLinux联盟
都是网上找的资料,第四种方法我试过了可以。

转载地址:http://zcmmb.baihongyu.com/

你可能感兴趣的文章
决策树
查看>>
CGI
查看>>
时间换算
查看>>
csv文件
查看>>
xml空格WhiteSpace处理
查看>>
XML CDATA
查看>>
转义字符
查看>>
TIOBE开发语言排行榜
查看>>
分区和卷
查看>>
换行符
查看>>
O2O
查看>>
jlandzpa's blog
查看>>
在MyIE2里面发表不了文章.
查看>>
Oracle10g New Features(1)
查看>>
yangtingkun's blog
查看>>
解析计算公式
查看>>
设计模式应用之Observer模式(1)
查看>>
版本控制之道-使用CVS
查看>>
FreeMind
查看>>
"测试"驱动开发
查看>>