久久精品免费_亚洲精品视频一区_91欧洲在线视精品在亚洲_国产精品一区二区不卡日出白浆,99久久精品视频,日本精品夜色视频一区二区,亚洲精品国产字幕久久vr

服務項目:網站建設、仿站、程序開發、APP開發設計、移動網站開發設計、企業網站設計、電子商務網站開發、網站維護、網站推廣、UX/UI 、HTML5、CSS3、JS / Jquery ...
四川浚浚科技有限公司
四川浚浚科技有限公司 (開發設計官網)TEL : 15308000360 / QQ : 38585404

您的位置:首頁 > 技術經驗 > 服務器 > 正文

linux服務器Read-only file system的修復過程
技術支持服務電話:15308000360 【7x24提供運維服務,解決各類系統/軟硬件疑難技術問題】

這次硬盤損壞情況應該很輕微,出現問題的時候,還能夠ssh上去執行很多操作。所以在客戶備份好全部數據之后,我們就嘗試 fsck -y 來修復。備份參考:只讀文件系統Read-only file system錯誤的備份方法

 
[root@linuxm]# mkdir aa
mkdir: cannot create directory `aa': Read-only file system
 
[root@linuxm]# cat /etc/fstab
LABEL=/                 /                       ext3    defaults        1 1
LABEL=/home  /home  ext3  grpquota,usrquota,rw  0  2
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
LABEL=SWAP-sda3         swap                    swap    defaults        0 0
 
# Modified by BurstNET Technologies, Inc. for additional security
tmpfs            /dev/shm     tmpfs        defaults,nosuid,noexec   0 0
 
[root@linuxm]# fsck -y
fsck 1.39 (29-May-2006)
e2fsck 1.39 (29-May-2006)
/: recovering journal
/ contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
Inode 24641550, i_size is 112000, should be 118784.  Fix? yes
 
Inode 24641550, i_blocks is 232, should be 240.  Fix? yes
 
Inode 24642311, i_size is 266014, should be 270336.  Fix? yes
 
Inode 24642311, i_blocks is 528, should be 536.  Fix? yes
 
 
Pass 2: Checking directory structure
Entry '14646.228' in /var/run/mod_fcgid (24739847) has deleted/unused inode 24740333.  Clear? yes
 
Entry '30851.13' in /var/run/mod_fcgid (24739847) has deleted/unused inode 24740337.  Clear? yes
 
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Inode 24740220 ref count is 1, should be 2.  Fix? yes
 
Unattached inode 24740228
Connect to /lost+found? yes
 
Inode 24740228 ref count is 2, should be 1.  Fix? yes
 
Unattached inode 24740239
Connect to /lost+found? yes
 
 
Pass 5: Checking group summary information
Block bitmap differences:  +24661016 -24682104 -24682106 +24830549 +(24833206--24833207) +24864088 +24874807 +24874945 +(24876303--24876306) +(24878597--24878598) +24878816 +(24879735--24879737) +24880240 +24880758 +24882234 +24882821 +24883526 +24884209 +24884945 +24887058 +(24887211--24887214) +(24889298--24889299) +24889376 +24889416 +(24889659--24889661) +(24949344--24949345) +24949789
Fix? yes
 
Free blocks count wrong for group #752 (2862, counted=2849).
Fix? yes
 
Free blocks count wrong for group #757 (219, counted=216).
Fix? yes
 
 
 
/: ***** FILE SYSTEM WAS MODIFIED *****
/: ***** REBOOT LINUX *****
/: 140610/32407552 files (3.2% non-contiguous), 2165381/32376991 blocks
[root@linuxm]# 
[root@linuxm]# mkdir aa
mkdir: cannot create directory `aa': Read-only file system
 
[root@linuxm]# reboot
 
 
 
重啟后就能正常了



上一篇:vsftp不能上傳下載問題解決
下一篇:簡單實現并發:python concurrent模塊

相關熱詞搜索:linux 服務器 只讀
主站蜘蛛池模板: 和政县| 柯坪县| 临汾市| 平凉市| 班戈县| 晋宁县| 南平市| 五台县| 海阳市| 正镶白旗| 饶阳县| 峨边| 文山县| 鹤岗市| 扎囊县| 龙海市| 蓝田县| 鹤岗市| 临安市| 大邑县| 平罗县| 新巴尔虎左旗| 青田县| 漯河市| 遂川县| 靖宇县| 伊吾县| 临桂县| 通渭县| 郁南县| 于都县| 香河县| 七台河市| 贡觉县| 和龙市| 利辛县| 岑巩县| 札达县| 定西市| 云安县| 岱山县|