- 論壇徽章:
- 0
|
開始,root密碼正確無法登陸,登陸服務(wù)器,發(fā)現(xiàn)服務(wù)器/home 目錄磁盤滿盤,刪除備份,df -h查看,發(fā)現(xiàn)還是use 100%,磁盤并沒有釋放空間,重啟,umount全都無效,由于是lvm, 準(zhǔn)備縮減空間,但操作錯(cuò)誤,在lvreduce之后,沒有使用resize2fs 調(diào)整文件系統(tǒng)的大小,發(fā)生報(bào)錯(cuò):
運(yùn)行 resize2fs
報(bào)錯(cuò):Attempt to read block from filesystem resulted in short read while trying to resize
運(yùn)行 fsck e2fsck
報(bào)錯(cuò):Either the superblock or the partition table is likely to be corrup
重啟系統(tǒng),進(jìn)入單用戶模式,注釋了 /etc/fstab的home掛載,才恢復(fù), 系統(tǒng)正常,啟動(dòng)sshd network 等常用服務(wù)器,準(zhǔn)備遠(yuǎn)程恢復(fù)磁盤superblock,但是root還是無法登陸,每次登陸之后就是跳回到登陸主頁, 切換nit 3登陸,login incorrect。
sshd 日志如下:
IMG_3953.JPG (1.34 MB, 下載次數(shù): 37)
下載附件
日志
2014-12-26 11:02 上傳
|
|