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

Print better mountpoint stats in debug output [rhel-9.7]

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: Generate New Ti...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • rhel-9.7
    • rhel-9.7
    • virt-v2v
    • None
    • virt-v2v-2.7.1-16.el9
    • No
    • Low
    • rhel-virt-tools
    • ssg_virtualization
    • 14
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      The way that mountpoint stats are currently shown is hard to interpret, making it difficult to follow conversion logs. I added some commits upstream that improve the output:

      https://github.com/libguestfs/virt-v2v/commit/b0494befae461f1f34f5d40a4fb901befbc8e380
      https://github.com/libguestfs/virt-v2v/commit/9b786f36ddbb76b1c7857a94c53a8b8479c57ac4

      The current output looks like:

        mountpoint stats:
          mountpoint statvfs /dev/sda1 /boot/efi (vfat):
              bsize=4096 blocks=65467 bfree=63058 bavail=63058
          mountpoint statvfs /dev/sda2 /boot (xfs):
              bsize=4096 blocks=130219 bfree=90268 bavail=90268
          mountpoint statvfs /dev/vg00/lv_root / (xfs):
              bsize=4096 blocks=24956001 bfree=22727257 bavail=22727257
      

      The improved output looks like:

        mountpoint stats:
                           Size             Used             Available      Use%
        /dev/sda1 /boot (ext4):
                           510873600        81379328         391917568
                           487.2M           77.6M            373.8M         15.9%
        /dev/sda3 / (xfs): 4820303872       898846720        3921457152
                           4.5G             857.2M           3.7G           18.6%
      

              virt-maint virt-maint
              rhn-eng-rjones Richard Jones
              virt-maint virt-maint
              Ming Xie Ming Xie
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated: