UFS filesystem hanged due to extattr

Andrea Venturoli ml at netfence.it
Wed Feb 12 18:21:41 UTC 2020


Hello.

On a box of mine I tried tweaking Samba to use extended attributes (I 
think the details here are irrelevant and possible source of another 
discussion on the Samba lists).

Everything worked fine until an user tried to access a particular 
directory: at that point his (Mac) client would crash and I ended up 
with a smbd process taking 100% of CPU time.
Such process was unkillable by any mean and even a system reboot would 
not succeed (only the reset button did its job).

After reboot I unmounted that filesystem, disabled soft update 
journaling and issued an "fsck -y" just to be sure: the file system 
showed no sign of troubles.

Yet, accessing the extended attributes of a file inside that specific 
directory ends up in the same way.
I.e.:
Something like:
  find {dir} -exec lsextattr user "{}" ";"
will end up with a process:
  lsextattr user {file}
taking 100% cpu and not willing to die in any way.

Any suggestion?

  bye & Thanks
	av.


More information about the freebsd-questions mailing list