extattr on zfs is corrupted

Marty Rosenberg marty.rosenberg at gmail.com
Wed Nov 30 17:39:34 UTC 2011


Yesterday, I tried to run zfs destroy on the filesystem that was mounted on
/local2/media, and a few seconds later the machine
kernel panicked (ran out of kernel memory).
Upon restarting the machine, everything seems sane, but gluster no longer
works, because it attempts to set an extended attribute on the directory
that it is referencing (in this case, /local).
Upon investigating, the attribute trusted.glusterfs.test looks like it
exists, but is completely inaccessible.

[root at memoryalpha /]# lsextattr user /local
/local  trusted.posix1.gen      trusted.glusterfs.dht
trusted.glusterfs.test
[root at memoryalpha /]# getextattr user trusted.glusterfs.test /local
getextattr: /local: failed: Attribute not found
[root at memoryalpha /]# rmextattr user trusted.glusterfs.test /local
rmextattr: /local: failed: Attribute not found
[root at memoryalpha /]# setextattr user trusted.glusterfs.test value /local
setextattr: /local: failed: No such file or directory

Any ideas on how to fix this?
the system is kind of old:

FreeBSD memoryalpha.rosenbridge 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #0:
Thu Dec  9 16:04:49 UTC 2010
mjrosenb1 at memoryalpha.rosenbridge:/usr/obj/usr/src/sys/GENERIC
 amd64
[root at memoryalpha /]# zpool list -o version store
VERSION
     15
Thanks --Marty


More information about the freebsd-fs mailing list