/etc/fstab defaults means also acl ???

General support questions
Post Reply
lse123new
Posts: 66
Joined: 2014/05/01 15:48:05

/etc/fstab defaults means also acl ???

Post by lse123new » 2018/06/14 17:07:41

/etc/fstab << here

defaults

to put a fs

means also acl ???

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: /etc/fstab defaults means also acl ???

Post by TrevorH » 2018/06/14 17:17:16

It depends on the filesystem but acl has been default on ext3/4 filesystems for some time. I suspect it is on xfs too.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

lse123new
Posts: 66
Joined: 2014/05/01 15:48:05

Re: /etc/fstab defaults means also acl ???

Post by lse123new » 2018/06/17 15:15:42

WHERE IS THE PROBLEM HERE???


[root@example1 ~]# xfs_quota -x -c 'limit bsoft=1g bhard=10g isoft=10000 ihard=99999 tux' /home/tux
xfs_quota: cannot setup path for mount /home/tux: No such device or address
[root@example1 ~]# xfs_quota -x -c 'limit bsoft=1g bhard=10g isoft=10000 ihard=99999 tux' /
xfs_quota: cannot set limits: Function not implemented
[root@example1 ~]# xfs_quota -x -c 'limit bsoft=1g bhard=10g isoft=10000 ihard=99999 root' /
xfs_quota: cannot set limits: Function not implemented
[root@example1 ~]#


[root@example1 ~]# cat /etc/fstab

#
# /etc/fstab
# Created by anaconda on Sat Mar 31 21:37:36 2018
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/centos-root / xfs defaults,uquota,gquota 0 0
UUID=e0ba5c0c-b0b2-401a-9899-152f7bb0c3b1 /boot xfs defaults 0 0
/dev/mapper/centos-swap swap swap defaults 0 0



UUID=47f8e37d-2166-4f6c-a630-7607b400d9c9 /mnt/mypart ext3 defaults,acl 0 0

[root@example1 ~]#

hunter86_bg
Posts: 2019
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: /etc/fstab defaults means also acl ???

Post by hunter86_bg » 2018/06/18 03:56:16

Quota and ACL are 2 different stuff, so don't mix them.
XFS quotas are enabled at mount time, with specific mount options. Each mount option can also be specified as noenforce; this allows usage reporting without enforcing any limits. Valid quota mount options are:
uquota/uqnoenforce: User quotas
gquota/gqnoenforce: Group quotas
pquota/pqnoenforce: Project quota
Source: Red Hat Documentation

Also, check the /proc/mounts or /etc/mtab (mount command):

Code: Select all

 mount | grep centos-root

Post Reply