главная - Статьи - Linux, FreeBSD
Вот так выглядит работа с диском виртуальной машины KVM, если его копировали без остановки VM
Теги: Виртуальные машины Linux kvm
Вот так может выглядеть работа с копией диска виртуальной машины, которую сделали копированием без остановки виртуальной машины:
# fsck -fn /dev/mapper/m1--vg-root
fsck from util-linux 2.36.1
e2fsck 1.46.2 (28-Feb-2021)
Warning: skipping journal recovery because doing a read-only filesystem check.
Pass 1: Checking inodes, blocks, and sizes
Inode 266707, end of extent exceeds allowed value
(logical block 16391, physical block 2944942, len 45)
Clear? no
Inode 266707, i_blocks is 131496, should be 131144. Fix? no
Inodes that were part of a corrupted orphan linked list found. Fix? no
Inode 266736 was part of the orphaned inode list. IGNORED.
Deleted inode 1703954 has zero dtime. Fix? no
Inode 1703955 was part of the orphaned inode list. IGNORED.
Inode 1703956 was part of the orphaned inode list. IGNORED.
Inode 1703957 was part of the orphaned inode list. IGNORED.
Inode 1703958 was part of the orphaned inode list. IGNORED.
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Block bitmap differences: -(2944942--2944986)
Fix? no
Free blocks count wrong for group #89 (1062, counted=1061).
Fix? no
Free blocks count wrong (7652129, counted=7147708).
Fix? no
Inode bitmap differences: -266736 -(1703954--1703958)
Fix? no
Free inodes count wrong (2454077, counted=2453552).
Fix? no
Block bitmap differences: Group 89 block bitmap does not match checksum.
IGNORED.
/dev/mapper/m1--vg-root: ********** WARNING: Filesystem still has errors **********
/dev/mapper/m1--vg-root: 77251/2531328 files (0.4% non-contiguous), 2456799/10108928 blocks
А вот так все должно быть, когда копия делалась на выключенной виртуалке:
# fsck -fn /dev/mapper/m1--vg-root
fsck from util-linux 2.36.1
e2fsck 1.46.2 (28-Feb-2021)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/mapper/m1--vg-root: 77251/2531328 files (0.3% non-contiguous), 2456799/10108928 blocks
Что называется, почувствуйте разницу!
Авторизуйтесь для добавления комментариев!

Принимаю заказы на настройку серверов, mikrotik и других роутеров, точек доступа, nginx и т.п. В пределах Санкт-Петербурга возможен выезд к заказчику. См. контакты.