Hello,
My PVE won't boot anymore.
Here's my disk layout:
- 250GB SATA M.2 for OS/rpool,
- 1TB NVMe M.2 RAID1 for VM storage.
Yesterday I was doing some cleanup on old disks I recently plugged in my server. I wanted to format them and use them for backuping.
One of them (/dev/sdb) was not an old disk, it was my rpool disk. I've formatted 2 partitions, the third one is the zfs one, which refused to format because used (hopefully).
So when I tried to reboot my server, it never came back as there is no bootable partition anymore.
I booted on a live GParted: it sees 3 partitions on the SATA M.2:
- /dev/sdb1 = filesystem unknown, 1007KiB, flag "bios_grub"
- /dev/sdb2 = filesystem unknown, 1GiB
- /dev/sdb3 = filesystem zfs, label rpool, 231.88GiB
What is the point of the 1GiB partition?
Another question, I had 2 volumes attached to this disk; local and local-zfs. Are they 2 separate partitions, or are they both in the /dev/sdb3 partition?
Here's what I'm planning to do:
- backup /dev/sdb3 to another disk: I tried with testdisk on a live GParted but I'm not sure I can read zfs.
- reinstall GRUB: how can I do that without breaking /dev/sdb3? If that's not possible, I'll install a fresh PVE and copy some configuration files from the backup I plan to do, but I'd prefer boot on the original.
Thanks for your help
Emile
My PVE won't boot anymore.
Here's my disk layout:
- 250GB SATA M.2 for OS/rpool,
- 1TB NVMe M.2 RAID1 for VM storage.
Yesterday I was doing some cleanup on old disks I recently plugged in my server. I wanted to format them and use them for backuping.
One of them (/dev/sdb) was not an old disk, it was my rpool disk. I've formatted 2 partitions, the third one is the zfs one, which refused to format because used (hopefully).
So when I tried to reboot my server, it never came back as there is no bootable partition anymore.
I booted on a live GParted: it sees 3 partitions on the SATA M.2:
- /dev/sdb1 = filesystem unknown, 1007KiB, flag "bios_grub"
- /dev/sdb2 = filesystem unknown, 1GiB
- /dev/sdb3 = filesystem zfs, label rpool, 231.88GiB
What is the point of the 1GiB partition?
Another question, I had 2 volumes attached to this disk; local and local-zfs. Are they 2 separate partitions, or are they both in the /dev/sdb3 partition?
Here's what I'm planning to do:
- backup /dev/sdb3 to another disk: I tried with testdisk on a live GParted but I'm not sure I can read zfs.
- reinstall GRUB: how can I do that without breaking /dev/sdb3? If that's not possible, I'll install a fresh PVE and copy some configuration files from the backup I plan to do, but I'd prefer boot on the original.
Thanks for your help
Emile
Last edited: