[GH-ISSUE #61] problems with special hardware @ hetzner #35

Open
opened 2026-02-27 01:57:30 +03:00 by kerem · 0 comments
Owner

Originally created by @sixpak on GitHub (Jun 10, 2022).
Original GitHub issue: https://github.com/extremeshok/xshok-proxmox/issues/61

Hiho from "good old germany",

I've a brandnew AX101 from Hetzner with two NVME and additionally an SSD (for boot and root) and a HDD for separate backups.
The automated install works fine, OS is on the SSD.
But the lvm-2-zfs is not working for me , maybe due to the missing software-raid.
I would like to add the two NVEM as ZFS pool and switching the mountpoint to /var/lib/vz, which is currently on the default LVM on the SSD.
I know, i can do this manually.
But it would be nice, to get it up and running with a script.

Tried also createzfs.sh
result:

./createzfs.sh rpool /dev/nvme0n1 /dev/nvme1n1
Clearing partitions: /dev/nvme0n1
/dev/nvme0n1 ->
Clearing partitions: /dev/nvme1n1
/dev/nvme1n1 ->
Enable ZFS to autostart and mount
Ensure ZFS is started
Creating the array
Creating ZFS mirror (raid1)
invalid vdev specification: mirror requires at least 2 devices
ERROR: creating ZFS

Need just a little hint, what to change, to fix this.

regards

Rico

Originally created by @sixpak on GitHub (Jun 10, 2022). Original GitHub issue: https://github.com/extremeshok/xshok-proxmox/issues/61 Hiho from "good old germany", I've a brandnew AX101 from Hetzner with two NVME and additionally an SSD (for boot and root) and a HDD for separate backups. The automated install works fine, OS is on the SSD. But the lvm-2-zfs is not working for me , maybe due to the missing software-raid. I would like to add the two NVEM as ZFS pool and switching the mountpoint to /var/lib/vz, which is currently on the default LVM on the SSD. I know, i can do this manually. But it would be nice, to get it up and running with a script. Tried also createzfs.sh result: ./createzfs.sh rpool /dev/nvme0n1 /dev/nvme1n1 Clearing partitions: /dev/nvme0n1 /dev/nvme0n1 -> Clearing partitions: /dev/nvme1n1 /dev/nvme1n1 -> Enable ZFS to autostart and mount Ensure ZFS is started Creating the array Creating ZFS mirror (raid1) invalid vdev specification: mirror requires at least 2 devices ERROR: creating ZFS Need just a little hint, what to change, to fix this. regards Rico
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/xshok-proxmox#35
No description provided.