/etc/fstab << here
defaults
to put a fs
means also acl ???
/etc/fstab defaults means also acl ???
Re: /etc/fstab defaults means also acl ???
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
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
Re: /etc/fstab defaults means also acl ???
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 ~]#
[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 ~]#
-
- Posts: 2019
- Joined: 2015/02/17 15:14:33
- Location: Bulgaria
- Contact:
Re: /etc/fstab defaults means also acl ???
Quota and ACL are 2 different stuff, so don't mix them.
Also, check the /proc/mounts or /etc/mtab (mount command):
Source: Red Hat DocumentationXFS 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
Also, check the /proc/mounts or /etc/mtab (mount command):
Code: Select all
mount | grep centos-root