The error "ETXTBSY" and message "Text file busy" is returned from "chown" when trying to change ownership for a file on GFS2 filesystem that is running

Solution In Progress - Updated -

Issue

  • The error ETXTBSY and message Text file busy is returned from chown when trying to change ownership for a file on GFS2 filesystem that is running.
# cp `which top` /gfs2
# /gfs2/top -b > /dev/null 2>&1 &
# chown luci /gfs2/top
chown: changing ownership of `/gfs2/top': Text file busy

5959  newfstatat(AT_FDCWD, "top", {st_mode=S_IFREG|0755, st_size=68392, ...}, AT_SYMLINK_NOFOLLOW) = 0
5959  fchownat(AT_FDCWD, "top", 500, 4294967295, 0) = -1 ETXTBSY (Text file busy)

Environment

  • Red Hat Enterprise Linux Server 5 (with the High Availability and Resilient Storage Add Ons)
  • Red Hat Enterprise Linux Server 6 (with the High Availability and Resilient Storage Add Ons)
  • A Global Filesystem 2(GFS2)
  • kernel-2.6.32-504+

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content