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:
pvdisplay returns:
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.
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>
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
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.