LinuxForum.Fans
Тема

Проблема с lvm

Автор: u______32 6 сообщений 2208 просмотров
#385902

Свеже установленная система. LVM собирал инсталятор.

Ошибка: Incorrect metadata area header checksum on /dev/sde1 at offset 4096

text
pvs
  Incorrect metadata area header checksum on /dev/sde1 at offset 4096
  PV         VG   Fmt  Attr PSize   PFree
  /dev/sdb   main lvm2 a--  298,09g 298,09g
  /dev/sde1       lvm2 a--  298,09g 298,09g
  /dev/sde5  main lvm2 a--  297,85g      0

При этом /dev/sde1 это загрузчик в ext2 и там около 512 МБ, и явно ни каких не ~300Гб.
А /dev/sde5 как раз раздел который 300 ГБ.

text
fdisk -l /dev/sde

Disk /dev/sde: 320.1 GB, 320071851520 bytes 255 heads, 63 sectors/track, 38913 cylinders, total 625140335 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00024445

Device Boot Start End Blocks Id System /dev/sde1 * 2048 499711 248832 83 Linux /dev/sde2 501758 625139711 312318977 5 Extended /dev/sde5 501760 625139711 312318976 8e Linux LVM

В чём тут проблема и как лечить?

#385903

Попробуй дать команду:

text

partprobe
#385907

Хравн, полностью fdisk -l покажите

#385939
text
fdisk -l

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x00000000

Disk /dev/sda doesn't contain a valid partition table

WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.

Disk /dev/sdb: 320.1 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000

Disk /dev/sdb doesn't contain a valid partition table

Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000

Disk /dev/sdc doesn't contain a valid partition table

Disk /dev/sdd: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x00000000

Disk /dev/sdd doesn't contain a valid partition table

Disk /dev/sde: 320.1 GB, 320071851520 bytes 255 heads, 63 sectors/track, 38913 cylinders, total 625140335 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00024445

Device Boot Start End Blocks Id System /dev/sde1 * 2048 499711 248832 83 Linux /dev/sde2 501758 625139711 312318977 5 Extended /dev/sde5 501760 625139711 312318976 8e Linux LVM

Disk /dev/sdf: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000

Disk /dev/sdf doesn't contain a valid partition table

Disk /dev/mapper/main-root: 306.8 GB, 306834309120 bytes 255 heads, 63 sectors/track, 37303 cylinders, total 599285760 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000

Disk /dev/mapper/main-root doesn't contain a valid partition table

Disk /dev/mapper/main-swap_1: 13.0 GB, 12977176576 bytes 255 heads, 63 sectors/track, 1577 cylinders, total 25346048 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000

Disk /dev/mapper/main-swap_1 doesn't contain a valid partition table

text
partprobe

Нету такой программы, и не ищится.

#385963

Так пробовал

text
pvcreate --uuid "LFtA9A-k2O0-DYcT-BRLc-mbe2-0Rh9-Ue10RC" --restorefile ./main_00001-42396025.vg /dev/sde1          
  Incorrect metadata area header checksum on /dev/sde1 at offset 4096
  Couldn't find device with uuid pseYbb-cR2V-xwUG-0h9Q-saOD-2zTt-hJooMS.
  Can't find uuid LFtA9A-k2O0-DYcT-BRLc-mbe2-0Rh9-Ue10RC in backup file ./main_00001-42396025.vg
  Run `pvcreate --help' for more information.
  You have a memory leak (not released memory pool):
   [0x124af70] format_instance
   [0x1252f90] read_vg
  Internal error: Unreleased memory pool(s) found.
root@main /etc/lvm/archive # pvcreate --uuid "LFtA9A-k2O0-DYcT-BRLc-mbe2-0Rh9-Ue10RC" --restorefile ./main_00000-1041226188.vg /dev/sde1  
  Incorrect metadata area header checksum on /dev/sde1 at offset 4096
  Can't find uuid LFtA9A-k2O0-DYcT-BRLc-mbe2-0Rh9-Ue10RC in backup file ./main_00000-1041226188.vg
  Run `pvcreate --help' for more information.
  You have a memory leak (not released memory pool):
   [0x1ce9f70] format_instance
   [0x1cf1f90] read_vg
  Internal error: Unreleased memory pool(s) found.

Да и не в lvm он, это кусок физического харда в ext2 в /boot

Войдите или зарегистрируйтесь, чтобы ответить.