Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-3115

lsblk does not work inside the container

    • sst_container_tools
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • If docs needed, set a value
    • None

      Description of problem:
      lsblk does not work inside the container

      Version-Release number of selected component (if applicable):
      RHEL 8.6
      Podman 4.1.1

      How reproducible:
      Always

      Steps to Reproduce:
      1. Start a container
      2. Exec into the container
      3. Run lsblk

      Actual results:

      1. lsblk
        lsblk: loop4435: failed to initialize sysfs handler
        lsblk: loop5532: failed to initialize sysfs handler
        lsblk: loop7727: failed to initialize sysfs handler
        lsblk: loop1709: failed to initialize sysfs handler
        lsblk: loop8824: failed to initialize sysfs handler
        lsblk: loop2806: failed to initialize sysfs handler
        lsblk: loop9921: failed to initialize sysfs handler
        lsblk: loop3903: failed to initialize sysfs handler
        .
        .

      Expected results:

      1. lsblk
        NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
        sdy 65:128 0 80T 0 disk
        `-sdy3 65:131 0 80T 0 part
        sdam 66:96 0 80T 0 disk
        `-sdam3 66:99 0 80T 0 part
        sdbb 67:80 0 80T 0 disk
        `-sdbb3 67:83 0 80T 0 part
        sdf 8:80 0 80T 0 disk
        `-sdf3 8:83 0 80T 0 part
        sdau 66:224 0 80T 0 disk
        `-sdau3 66:227 0 80T 0 part
        .
        .
        .

      Additional info:

            rhn-support-jnovy Jindrich Novy
            mangesh_panche Mangesh Panche (Inactive)
            Veritas Confidential Group
            Alex Jia Alex Jia
            Gabriela Necasova Gabriela Necasova
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: