It's not simple to rimember what I did, even if I wrote it on my internal Wiki
Btw, i had to download those packed from testing:
multiarch-support_2.13-33_amd64.deblibmount1_2.20.1-5.1_amd64.deblibfuse2_2.9.0-2_amd64.deblibblkid1_2.20.1-5.1_amd64.debgrub-common_1.99-22.1_amd64.debgrub2-common_1.99-22.1_amd64.debgrub-pc_1.99-22.1_amd64.debgrub-pc-bin_1.99-22.1_amd64.debfuse-utils_2.9.0-2_all.debmount_2.20.1-5.1_amd64.debfuse_2.9.0-2_amd64.deb
there is an order to install due to dependencies, i ran " dpkg -i *.deb " several times
after that i run
apt-get install multipath-tools multipath-tools-boot
with multipath tools installed, you have to edit multipath.conf under /etc/multipath.conf . The following is mine:
blacklist { devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*" devnode "^(hd|xvd)[a-z][[0-9]*]" devnode "^cciss!c[0-9]d[0-9]*[p[0-9]*]"}devices { device { vendor "Intel" product "Multi-Flex" path_grouping_policy "group_by_prio" getuid_callout "/lib/udev/scsi_id -g -u /dev/%n" prio "alua" path_checker tur path_selector "round-robin 0" hardware_handler "1 alua" failback immediate rr_weight uniform rr_min_io 100 no_path_retry queue features "1 queue_if_no_path" }}multipaths { multipath { wwid 22276000155c0debf alias system }} multipaths { multipath { wwid 222310001555f77ef alias vmdata }}
the wwid is the guid of disk path, u can retrive it with
/lib/udev/scsi_id -g
or with
ls -gG /dev/disk/by-id/
Add the modules into /etc/initramfs-tools/modules by adding the line "scsi_dh_alua" and after that run " update-initramfs -u -k all "
After that I didn't remeber, but on my shell history I see:
37 grub-mkconfig -o /boot/grub/grub.cfg
38 grub-install /dev/dm-0
39 reboot
I'm not sure if it's needed.
Now you have to handle the LVM volume that proxmox create inside fstab, but i don't know how to be helpful.
Please let me know if u need more.
Oh , and user multipath -ll to check if it's running before reboot. AND DON'T be scared if u see a lot of error like
/dev/sdc: read failed after 0 of 4096 at 0: Input/output error
/dev/sdc: read failed after 0 of 4096 at 268435390464: Input/output error
/dev/sdc: read failed after 0 of 4096 at 268435447808: Input/output error
Seems to be normal
A.