Приветствую!
Крутилась почта на виртуалке, и вот закончилось место. погасил виртуалку увеличил диск
#qemu-img resize mail.drive.img +100GB
#lvextend -L +100G /dev/mapper/mail-part1
#resize2fs /dev/mapper/mail-part1
но в судя по всему когда это происходило произошло вклучение гостевой машины( мой бок, забыл отключить скриптик который пингует виртуалку и если на пинг не отзывается то передергиваю машину).
В итоге гостевая запускается, но вот lvm не поднимается. диск видит физически но разделов на нем нет... в линуксе новичек.
# fdisk -l
Disk /dev/vda: 133.2 GB, 133169152000 bytes
16 heads, 63 sectors/track, 258031 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000897f0
Device Boot Start End Blocks Id System
/dev/vda1 * 3 1018 512000 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/vda2 1018 258032 129534976 8e Linux LVM
Partition 2 does not end on cylinder boundary.
Disk /dev/vdb: 1611.1 GB, 1611057332224 bytes
16 heads, 63 sectors/track, 3121623 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/vg_mail-mail: 127.0 GB, 126969970688 bytes
255 heads, 63 sectors/track, 15436 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/vg_mail-swap: 5637 MB, 5637144576 bytes
255 heads, 63 sectors/track, 685 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
#qemu-img check -f qcow2 -r all /mnt/drive4/mail.drive.img
ERROR l2_offset=43587a7154665a38: Table is not cluster aligned; L1 entry corrupted
Warning: cluster offset=0x665867326f570000 is after the end of the image file, can't properly check refcounts.
Warning: cluster offset=0x665867326f580000 is after the end of the image file, can't properly check refcounts.
ERROR l2_offset=665867326f57492f: Table is not cluster aligned; L1 entry corrupted
2493 errors were found on the image.
Data may be corrupted, or further writes to the image may corrupt it.
4732 internal errors have occurred during the check.<br>
Image end offset: 792421859328