Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how can i recognize the lvm lv on my disk #3827

Open
sheepcat opened this issue Sep 20, 2022 · 0 comments
Open

how can i recognize the lvm lv on my disk #3827

sheepcat opened this issue Sep 20, 2022 · 0 comments

Comments

@sheepcat
Copy link

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


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant