Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-9792

"loop" devices testing with zfs is broken

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • Lustre 2.13.0
    • Lustre 2.10.0
    • None
    • 3
    • 9223372036854775807

      LU-7884 landed a patch that touches a file before loopback mounting it and it works for ldiskfs,
      but for zfs in utils/mkfs/mount_utils_zfs.c::zfs_create_vdev() we check if the file exists and if it does not, we create it with the specified size, but since the patch here creates the file, zfs vdev attachment always fails due to existign file of less than 64M.

      Need to fix this up somehow, I guess.

            bzzz Alex Zhuravlev
            green Oleg Drokin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: