Yesterday my electric was cut and my UPS's ran down, finally my proxmox server lost power. Once the power was restored all other server came back online except one. Currently when booting I get to the grub rescue shell.
I see the following with ls
I have tried doing an ls with each one and I get the same result regardless
I have booted into a live ubuntu CD, checking fdisk -l
There is some more info below, but I include the main parts
It appears the disks are there, what would be the best way to backup the vm's or repair the disk?
Code:
error: unknown filesystem
Entering rescue mode...
I see the following with ls
Code:
grub rescue> ls
(hd0) (hd0,gpt3) (hd0,gpt2) (hd0,gpt1) (lvm/pve-root) (lvm/pve-swap)
I have tried doing an ls with each one and I get the same result regardless
Code:
grub rescue> ls (lvm/pve-root)
(lvm/pve-root): Filesystem is unknown
grub rescue> ls (lvm/pve-root)/
error: unknown filesystem
I have booted into a live ubuntu CD, checking fdisk -l
Code:
# fdisk -l
Disk /dev/sda: 931.5GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physcial): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 7C6C8CF5-63CC-497D-A1D9-A3108D2E36DA
Device Start End Sectors Size Type
/dev/sda1 34 2047 2014 10007K BIOS boot
/dev/sda2 2048 262143 260096 127M EFI System
/dev/sda3 262144 1953525134 1953262991 931.4G Linux LVM
Partition 1 does not start on a physical sector boundary
Disk /dev/mapper/pve-swap: 8GiB, 8589934592 bytes, 16777216 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 /dev/mapper/pve-root: 96 GiB, 103079215104 bytes, 201326592 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
Code:
# parted /dev/sda p
Model: ATA TOSHIBA HDWJ110 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number start End size File system Name Flags
1 17.4kB 1049kB 1031kB bios_grub
2 1049kB 134MB 133MB fat32 boot, esp
3 134MB 1000GB 1000GB lvm
There is some more info below, but I include the main parts
Code:
# pvs;lvs
PV VG Fmt Attr PSize PFree
/dev/sda3 pve lvm2 a-- <931.39g 15.79g
LV VG Fmt Attr PSize PFree
data
root
swap
vm-103-disk-1
vm-104-disk-1
vm-113-disk-1
vm-134-disk-1
It appears the disks are there, what would be the best way to backup the vm's or repair the disk?
Last edited: