-
-
Notifications
You must be signed in to change notification settings - Fork 237
Description
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