-
Type: Bug
-
Resolution: Fixed
-
Priority: Major
-
Affects Version/s: 1.11.11
-
Component/s: backend
-
Security Level: Public (Visbile by non-authn users.)
-
None
As we can see in the "MtabUtil.java" code:
protected static boolean skipLineForMountPoints(String line) { if (line.startsWith("#") || !line.startsWith("/dev/")) { return true; } return false; }
StoRM looks only at entries in "/etc/mtab" that start with "/dev/".
Latest GPFS version dropped the "/dev/" prefix, so the new mtab format looks for example like this:
/dev/vda1 / ext4 rw 0 0 proc /proc proc rw 0 0 sysfs /sys sysfs rw 0 0 devpts /dev/pts devpts rw,gid=5,mode=620 0 0 tmpfs /dev/shm tmpfs rw 0 0 none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0 fs2 /gpfs/fs2 gpfs rw,relatime,mtime,quota=userquota;groupquota;filesetquota;perfileset,dev=fs2 0 0 fs3 /gpfs/fs3 gpfs rw,relatime,mtime,quota=userquota;groupquota;filesetquota;perfileset,dev=fs3 0 0 fs4 /gpfs/fs4 gpfs rw,relatime,nomtime,quota=userquota;groupquota;filesetquota;perfileset,dev=fs4 0 0 fs5 /gpfs/fs5 gpfs rw,relatime,mtime,quota=userquota;groupquota;filesetquota;perfileset,dev=fs5 0 0 fs6 /gpfs/fs6 gpfs rw,relatime,nomtime,quota=userquota;groupquota;filesetquota;perfileset,dev=fs6 0 0 fs1 /gpfs/fs1 gpfs rw,relatime,mtime,quota=userquota;groupquota;filesetquota;perfileset,dev=fs1 0 0
A temporary fix is to disable the sanity checks by adding
sanity-check.enabled = false
into storm.properties.
A real fix is necessary.