Proxmox VE 3.0 - error on boot after extending pve volume

wild.lucifero

New Member
Mar 30, 2018
4
0
1
57
Hello to everybody.
First of all I would express my thanks to everybody that loss his time to read this thread.
I have a problem with Proxmox VE 3.0 (I cannot update it, for the moment).
I created a new volume RAID-1 /dev/md2 and I added it to pve volume group to extend pve-data
Every command lines that I executed didn't returned any errors. Everything seems to run ok, but when I boot I read the error "Couldn't find device with uuid=ywVdrU-3ymx-vVWt-1ekl-cKAq-Xz2N-L8wZpk"
The error appears during boot, afther:
"mdadm: /dev/md/0 has been started with 2 drives."
"mdadm: /dev/md/1 has been started with 2 drives."

These are the command lines I executed to add the /dev/md2 to pve-data:
pvcreate /dev/md2
vgextend "pve" /dev/md2
lvresize -l xxxxx /dev/mapper/pve-data
resize2fs /dev/mapper/pve-data
/proc/mdstat is OK, or better, it seems ok:
md2 : active (auto-read-only) raid1 sdd1[2] sdb1[1]
244066304 blocks super 1.2 [2/2] [UU]

md1 : active raid1 sda2[2] sdc2[1]
243542848 blocks super 1.2 [2/2] [UU]

md0 : active raid1 sda1[2] sdc1[1]
522944 blocks super 1.2 [2/2] [UU]

unused devices: <none>​

pvdisplay returns:
--- Physical volume ---
PV Name /dev/md1
VG Name pve
PV Size 232.26 GiB / not usable 2.81 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 59458
Free PE 0
Allocated PE 59458
PV UUID l3YtWW-HrC2-PHwA-HeqJ-4nm2-wdZY-u6DxOh

--- Physical volume ---
PV Name /dev/md2
VG Name pve
PV Size 232.76 GiB / not usable 2.00 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 59586
Free PE 4063
Allocated PE 55523
PV UUID ywVdrU-3ymx-vVWt-1ekl-cKAq-Xz2N-L8wZpk​

Because I never read the "mdadm: /dev/md/2 has been started with 2 drives." on boot, have I to add /dev/md2 to fstab? How do I have to fill the /etc/fstab? I think I forgot one step....
Thanks to anybody that can help me. Thanks again in advance.
 

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!