[SOLVED] Please fix ZFS setup first. Error when installing proxmox 4 to zfs raid10

Dec 11, 2015
16
0
1
Hi there! Since proxmox could not find my RAID10 from my motherboard(H97M-e), I need to install proxmox 4 to a software RAID10 instead.

My drives are a mix of WD and Samsung 500gb drives. They are also unallocated.IMG_20151211_111718.jpg IMG_20151211_111949.jpg

In the Proxmox installer, I select Options next to Target Harddisk, select xfs RAID10 and my 4 500gb drives. Press OK then Next and I get this error:

Warning: mirrored disks must have the same size. Please fix ZFS setup first.IMG_20151211_111959.jpg

I really don't get why it does not install, even though one disk is 2MB smaller than the rest.

Thanks!

UPDATE

So I switched out the disk that was 2MB smaller than the others, then it installed ok.

But now I get another error: cannot import 'rpool': one or more devices is currently unavailable. Error: 1

IMG_20151211_122423.jpgIMG_20151211_122437.jpg
 
Last edited:
I solved this issue by changing

linux /ROOT/pve-1@/boot/vmlinuz-4.2.6-1-pve root=ZFS=rpool/ROOT/pve-1 ro boot=zfs $bootfs root=ZFS=rpool/ROOT/pve-1 boot=zfs quiet

to

linux /ROOT/pve-1@/boot/vmlinuz-4.2.6-1-pve root=ZFS=rpool/ROOT/pve-1 ro boot=zfs $bootfs root=ZFS=rpool/ROOT/pve-1 boot=zfs quiet rootdelay=10

In grub boot meny and /boot/grub/grub.cfg
 
I solved this issue by changing

linux /ROOT/pve-1@/boot/vmlinuz-4.2.6-1-pve root=ZFS=rpool/ROOT/pve-1 ro boot=zfs $bootfs root=ZFS=rpool/ROOT/pve-1 boot=zfs quiet

to

linux /ROOT/pve-1@/boot/vmlinuz-4.2.6-1-pve root=ZFS=rpool/ROOT/pve-1 ro boot=zfs $bootfs root=ZFS=rpool/ROOT/pve-1 boot=zfs quiet rootdelay=10

In grub boot meny and /boot/grub/grub.cfg



How do we do this exactly?
 
How do we do this exactly?

edit the GRUB_CMDLINE_LINUX variable (add "rootdelay=10") in /etc/default/grub and run "update-grub2" afterwards to regenerate the grub configuration.
 

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!