System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

setfacl: : Operation not supported

bullz
Super Advisor

setfacl: : Operation not supported

Hey all

Good evening.

One of the FS has the issue with setfacl on RHEL 5.2

Setfacl is working fine on OS mount point like /var /usr /opt etc.., but when I am trying with other mount point like /data It’s throwing an error as below.

setfacl: data: Operation not supported

When I searched in it google, they suggested to remount the file system with option below

/dev/md1 / ext3 rw,acl 1 1

1) How come it’s working on only with OS filesystems?
2) Is that any kernel or default OS mountpoint type defers from other mount point?
7 REPLIES
P Muralidhar Kini
Honored Contributor

Re: setfacl: : Operation not supported

Hi Bullz,

Discussions on a similar problem -
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=766980
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=982847

Looks like you have to remount the mount point.

Regards,
Murali
Let There Be Rock - AC/DC
Steven Schweda
Honored Contributor

Re: setfacl: : Operation not supported

> setfacl: data: Operation not supported

And what, exactly, is "data" ("/data")?

mount

> 1) [...]

My psychic powers are too weak to tell me how
you created the "data" file system, or how
you mounted it.

It probably works only on file systems which
know what an ACL is. So, if you're expecting
it to work on a FAT-format floppy or USB
EEPROM gizmo, then prepare to be
disappointed.

> 2) [...]

Huh?
Wilfred Chau_1
Respected Contributor

Re: setfacl: : Operation not supported

you will need to set it for all filesystems created after OS installation.

mount -oremount,acl /data
Matti_Kurkela
Honored Contributor

Re: setfacl: : Operation not supported

1.)
The mount option "acl" is not the *only* way to specify that ACLs will be used on the filesystem.

You can use the "tune2fs" command to modify the default mount options of any ext2/ext3 filesystem. For example:

tune2fs -o acl /dev/md1

would configure the filesystem on /dev/md1 to enable the "acl" option by default, so you won't have to specify it in /etc/fstab.

2.) The default OS filesystems are created by the OS installation program (anaconda). Probably it runs the equivalent of the above-mentioned tune2fs command on each filesystem it creates automatically...

MK
MK
bullz
Super Advisor

Re: setfacl: : Operation not supported

Yes, great response guys...

a small doubt, while remounting will the process which are running on the FS will be killed? please advise me
P Muralidhar Kini
Honored Contributor

Re: setfacl: : Operation not supported

Hi Bullz,

The "remount" option is used when you want to remount a already mounted
file system. This is done in order to change the mount flags of the file system.
something like a readonly FS is now made writeable.
The device/mount point is not affected.

Hence the process running on the FS should not get killed when you are doing
a remount of already mounted FS.

For more details, refer
http://linux.die.net/man/8/mount
-> remount

Hope this helps.

Regards,
Murali
Let There Be Rock - AC/DC
bullz
Super Advisor

Re: setfacl: : Operation not supported

Thanks all for your help.