• Andrew Walker's avatar
    NAS-123148 / 23.10 / Use directories rather than mountpoints for bricks (#11717) · f83e2bdd
    Andrew Walker authored
    Attempts to access ZFS ctldir via libgfapi can cause gluster
    volume mount to freeze. We should prevent this variant of
    foot-shooting by adding robust checks to ensure that only
    directories within ZFS datasets are used. Since we already
    have filesystem.stat output as part of brick validation we
    can easily expand existence check to also cover things like
    fstype, whether the brick path is empty, dataset mount options,
    etc.
    f83e2bdd
init_cluster.py 9.97 KB