Closed sheepcat closed 1 year ago
Hey @sheepcat, hmmm...you might try running a container (mount in /dev) on Hook that either has lvm installed or can install lvm and then try that way.
I was able to get hook to recognize LVM devices by building a container with the packages (lvm2 lvm2-libs device-mapper) and configuring it as an init container in hook.yaml.
Hi guys i build a system use linuxkit it cannot recognize the lvm (lv vg pv) on my disk , what else services should i install ?
here is my yaml
kernel: image: quay.io/tinkerbell/hook-kernel:5.10.85-5604bb0dc1cdb6263770a82bf91cbf7e00ffdd5c cmdline: "console=tty0 console=ttyS0 console=ttyAMA0 console=ttysclp0"
init:
onboot:
name: sysctl image: linuxkit/sysctl:v0.8
name: sysfs image: linuxkit/sysfs:v0.8
name: dhcpcd image: linuxkit/dhcpcd:v0.8 command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"] binds.add:
services:
name: getty image: linuxkit/getty:v0.8 binds.add:
name: rngd image: linuxkit/rngd:v0.8
name: dhcpcd image: linuxkit/dhcpcd:v0.8 binds.add:
name: ntpd image: linuxkit/openntpd:v0.8 binds:
name: hook-docker image: quay.io/tinkerbell/hook-docker:latest capabilities:
name: hook-bootkit image: quay.io/tinkerbell/hook-bootkit:latest capabilities:
files:
trust: org:
with great appreciated