how to recoginze the lvm on my disk
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:
- linuxkit/init:v0.8
- linuxkit/runc:v0.8
- linuxkit/containerd:v0.8
- linuxkit/ca-certificates:v0.8
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:
- /var/lib/dhcpcd:/var/lib/dhcpcd
- /run:/run
runtime:
mkdir:
- /var/lib/dhcpcd
services:
-
name: getty image: linuxkit/getty:v0.8 binds.add:
- /etc/profile.d/local.sh:/etc/profile.d/local.sh env:
- INSECURE=true
-
name: rngd image: linuxkit/rngd:v0.8
-
name: dhcpcd image: linuxkit/dhcpcd:v0.8 binds.add:
- /var/lib/dhcpcd:/var/lib/dhcpcd
- /run:/run
runtime:
mkdir:
- /var/lib/dhcpcd
-
name: ntpd image: linuxkit/openntpd:v0.8 binds:
- /var/run:/var/run
-
name: hook-docker image: quay.io/tinkerbell/hook-docker:latest capabilities:
- all net: host pid: host mounts:
- type: cgroup options: ["rw", "nosuid", "noexec", "nodev", "relatime"] binds:
- /dev/console:/dev/console
- /dev:/dev
- /etc/resolv.conf:/etc/resolv.conf
- /lib/modules:/lib/modules
- /var/run/docker:/var/run
- /var/run/images:/var/lib/docker
- /var/run/worker:/worker
runtime:
mkdir:
- /var/run/images
- /var/run/docker
- /var/run/worker
-
name: hook-bootkit image: quay.io/tinkerbell/hook-bootkit:latest capabilities:
- all net: host mounts:
- type: cgroup options: ["rw", "nosuid", "noexec", "nodev", "relatime"] binds:
- /var/run/docker:/var/run
runtime:
mkdir:
- /var/run/docker
files:
- path: etc/profile.d/local.sh contents: | alias docker='ctr -n services.linuxkit tasks exec --tty --exec-id cmd hook-docker docker' alias docker-shell='ctr -n services.linuxkit tasks exec --tty --exec-id shell hook-docker sh' mode: "0644"
trust: org: - linuxkit - library
with great appreciated