Linux檔案系統變成只讀
很奇怪的問題,由以下方法解決:
1、mount:
用於檢視哪個模組輸入只讀,一般顯示為:
/dev/hda1 on / type ext3 (rw)
none on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hda5 on /home type ext3 (rw)
none on /dev/shm type tmpfs (rw)
/dev/hda2 on /usr/local type ext3 (rw)
/dev/nb1 on /EarthView/RAW type ext3 (ro)
2、如果發現有ro,就重新mount,或者umount以後再remount
3、umount /dev/nb1
如果發現有提示“device is busy”,找到是什麼程式使得他busy
fuser -m /mnt/data 將會顯示使用這個模組的pid
fuser -mk /mnt/data 將會直接kill那個pid
然後重新mount即可。
4、還有一種方法是直接remount,命令為
mount -o rw,remount /mnt/data 沒有用過,看到網路上有這麼寫。
1、mount:
用於檢視哪個模組輸入只讀,一般顯示為:
/dev/hda1 on / type ext3 (rw)
none on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hda5 on /home type ext3 (rw)
none on /dev/shm type tmpfs (rw)
/dev/hda2 on /usr/local type ext3 (rw)
/dev/nb1 on /EarthView/RAW type ext3 (ro)
2、如果發現有ro,就重新mount,或者umount以後再remount
3、umount /dev/nb1
如果發現有提示“device is busy”,找到是什麼程式使得他busy
fuser -m /mnt/data 將會顯示使用這個模組的pid
fuser -mk /mnt/data 將會直接kill那個pid
然後重新mount即可。
4、還有一種方法是直接remount,命令為
mount -o rw,remount /mnt/data 沒有用過,看到網路上有這麼寫。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/241379/viewspace-573067/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- LINUX系統磁碟FC-SAN ext3系統突然變位只讀了Linux
- 檔案系統變成RAW問題解決
- kubernetes高階之建立只讀檔案系統以及只讀asp.net core容器ASP.NET
- word檔案怎樣取消只讀模式 把只讀檔案轉化為可編輯檔案模式
- Linux 系統配置檔案詳細解讀Linux
- Linux系統篇-檔案系統&虛擬檔案系統Linux
- Linux檔案系統Linux
- linux 檔案系統Linux
- win10所有資料夾全變成只讀Win10
- 龍蜥白皮書精選:跨雲-邊-端的只讀檔案系統 EROFS
- Linux系統檔案系統及檔案基礎篇Linux
- 重建控制檔案之後,只讀表空間的狀態變化
- 分散式檔案系統(HDFS)與 linux系統檔案系統 對比分散式Linux
- linux系統環境變數.bash_profile/bashrc檔案Linux變數
- Linux AUFS 檔案系統Linux
- linux的檔案系統Linux
- 論Linux檔案系統Linux
- linux檔案系統概述Linux
- Linux(五)——檔案系統Linux
- 【Linux】XFS檔案系統Linux
- Linux檔案系統 (轉)Linux
- Linux 檔案系統剖析Linux
- Linux 檔案系統-ext3 檔案系統介紹(轉)Linux
- 細說GNU/Linux系統的檔案及檔案系統(轉)Linux
- Oracle 11g RAC如何把物理DG變成只讀庫Oracle
- 『學了就忘』Linux檔案系統管理 — 57、Linux檔案系統介紹Linux
- 完美解讀Linux中檔案系統的目錄結構Linux
- Linux檔案系統-目錄和檔案管理Linux
- Linux檔案系統詳解Linux
- Linux檔案系統、目錄Linux
- linux之路(五)檔案系統Linux
- 【Linux】檔案系統目錄Linux
- Linux 檔案系統詳解Linux
- linux檔案系統簡析Linux
- Linux檔案系統簡介Linux
- linux檔案系統概論Linux
- linux磁碟和檔案系統Linux
- linux檔案系統基礎Linux