Есть проблема! — Read-only file system
непонятно из-за чего корневая файловая система стала Read-only.
пытаюсь создать файл
загружался с live-cd сканировал раздел:
UPD fsck исправляет какието ошибки:
пытаюсь создать файл
# echo 'bla-bla-bla' > hello
bash: hello: Read-only file system
bash: hello: Read-only file system
# cat /etc/fstab
1 2 3 4 5 |
# <file system> <dir> <type> <options> <dump> <pass> |
загружался с live-cd сканировал раздел:
# badblocks -v /dev/sda1
Checking blocks 0 to 9663096
Checking for bad blocks (read-only test): done
Pass completed, 0 bad blocks found.
Checking blocks 0 to 9663096
Checking for bad blocks (read-only test): done
Pass completed, 0 bad blocks found.
UPD fsck исправляет какието ошибки:
# fsck /dev/sda1
fsck from util-linux-ng 2.16
e2fsck 1.41.9 (22-Aug-2009)
/dev/sda1 contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
Inodes that were part of a corrupted orphan linked list found. Fix? yes
Inode 14808 was part of the orphaned inode list. FIXED.
Inode 14824 was part of the orphaned inode list. FIXED.
Deleted inode 14826 has zero dtime. Fix? yes
Inode 14827 was part of the orphaned inode list. FIXED.
Inode 14899 was part of the orphaned inode list. FIXED.
Inode 14900 was part of the orphaned inode list. FIXED.
Inode 14901 was part of the orphaned inode list. FIXED.
Inode 14902 was part of the orphaned inode list. FIXED.
Inode 14903 was part of the orphaned inode list. FIXED.
Inode 14904 was part of the orphaned inode list. FIXED.
Inode 14905 was part of the orphaned inode list. FIXED.
Inode 24434 was part of the orphaned inode list. FIXED.
Inode 408526 was part of the orphaned inode list. FIXED.
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Block bitmap differences: -(121728--121818) -(921604--921609) -1590248
Fix? yes
Free blocks count wrong for group #3 (0, counted=91).
Fix? yes
Free blocks count wrong for group #28 (3915, counted=3921).
Fix? yes
Free blocks count wrong for group #48 (19479, counted=19480).
Fix? yes
Free blocks count wrong (1093676, counted=1093774).
Fix? yes
Inode bitmap differences: -14808 -14824 -(14826--14827) -(14899--14905) -24434 -408526
Fix? yes
Free inodes count wrong for group #1 (556, counted=567).
Fix? yes
Free inodes count wrong for group #2 (31, counted=32).
Fix? yes
Free inodes count wrong for group #49 (273, counted=274).
Fix? yes
Directories count wrong for group #49 (2444, counted=2443).
Fix? yes
Free inodes count wrong (445269, counted=445282).
Fix? yes
/dev/sda1: ***** FILE SYSTEM WAS MODIFIED *****
/dev/sda1: 159742/605024 files (0.1% non-contiguous), 1322000/2415774 blocks
e2fsck 1.41.9 (22-Aug-2009)
/dev/sda1 contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
Inodes that were part of a corrupted orphan linked list found. Fix? yes
Inode 14808 was part of the orphaned inode list. FIXED.
Inode 14824 was part of the orphaned inode list. FIXED.
Deleted inode 14826 has zero dtime. Fix? yes
Inode 14827 was part of the orphaned inode list. FIXED.
Inode 14899 was part of the orphaned inode list. FIXED.
Inode 14900 was part of the orphaned inode list. FIXED.
Inode 14901 was part of the orphaned inode list. FIXED.
Inode 14902 was part of the orphaned inode list. FIXED.
Inode 14903 was part of the orphaned inode list. FIXED.
Inode 14904 was part of the orphaned inode list. FIXED.
Inode 14905 was part of the orphaned inode list. FIXED.
Inode 24434 was part of the orphaned inode list. FIXED.
Inode 408526 was part of the orphaned inode list. FIXED.
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Block bitmap differences: -(121728--121818) -(921604--921609) -1590248
Fix? yes
Free blocks count wrong for group #3 (0, counted=91).
Fix? yes
Free blocks count wrong for group #28 (3915, counted=3921).
Fix? yes
Free blocks count wrong for group #48 (19479, counted=19480).
Fix? yes
Free blocks count wrong (1093676, counted=1093774).
Fix? yes
Inode bitmap differences: -14808 -14824 -(14826--14827) -(14899--14905) -24434 -408526
Fix? yes
Free inodes count wrong for group #1 (556, counted=567).
Fix? yes
Free inodes count wrong for group #2 (31, counted=32).
Fix? yes
Free inodes count wrong for group #49 (273, counted=274).
Fix? yes
Directories count wrong for group #49 (2444, counted=2443).
Fix? yes
Free inodes count wrong (445269, counted=445282).
Fix? yes
/dev/sda1: ***** FILE SYSTEM WAS MODIFIED *****
/dev/sda1: 159742/605024 files (0.1% non-contiguous), 1322000/2415774 blocks