Proxmox btrfs raid1 boot partition

abcc

New Member
May 4, 2022
6
1
3
Hello,

I've got a proxmox instalation where I've got two disks of 1T each and I did the instalation using btrfs raid1 but looking at the partition it seems that basically if my sba drive it's not available my system it's not able to boot .
So i've tested this taking out my sda drive and my system wasn't able to boot.

My partition layout look like this :

Code:
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 931.5G  0 disk
├─sda1   8:1    0  1007K  0 part
├─sda2   8:2    0   512M  0 part /boot/efi
└─sda3   8:3    0   931G  0 part /
sdb      8:16   0 931.5G  0 disk
├─sdb1   8:17   0  1007K  0 part
├─sdb2   8:18   0   512M  0 part
└─sdb3   8:19   0   931G  0 part


I can see sda2 has the the boot but sdb2 doesn't have something like that so basically in case of my sda drive failled i'm totally out.

But looking in the web interface ... Screenshot 2022-05-22 at 18.55.59.png
the partition layout look to be the same but the system ... it's not booting with my sda drive out of the system (to simulate a drive fail)

Am I doing something wrong or I am missing something?
 
Thank you @Neobin , i've edited my /etc/default/grub then update-grub as bellow :


Code:
root@pve:~# grep -ri rootflags /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="rootflags=degraded"


It seems that my system is now able to boot normal if I will disconnect (just to simulate a drive failure) my sda drive.

Thank you very much !
 
  • Like
Reactions: Neobin

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!