Identify the reason for the Invalid argument error.

Examine these commands and their output:
mount | grep xfs
/dev/mapper/vg_xfs_xfs1 on /xfs1 typr xfs (rw, quota_
xfs_quota -x -c ‘enable -u’ /xfs1
xfs_quota -x -c ‘enable -g’ /xfs1
XFS_QUOTAON: Invalid argument

Identify the reason for the “Invalid argument” error.

Examine these commands and their output:
mount | grep xfs
/dev/mapper/vg_xfs_xfs1 on /xfs1 typr xfs (rw, quota_
xfs_quota -x -c ‘enable -u’ /xfs1
xfs_quota -x -c ‘enable -g’ /xfs1
XFS_QUOTAON: Invalid argument

Identify the reason for the “Invalid argument” error.

A.
User and group quotas cannot be enabled at the same time.

B.
Group quotas are already enabled.

C.
Project and group quotas cannot be enabled at the same time.

D.
The/xfs1file system is mounted without the gquota option.

E.
The/xfs1file system is mounted without the uquota and gquota options.



Leave a Reply 1

Your email address will not be published. Required fields are marked *


Chu Ha Khanh

Chu Ha Khanh

C
# /etc/fstab
/dev/sdb1 /xfs xfs rw,quota,gquota,prjquota 0 0
[root@localhost ~]# mount /xfs
mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog – try
dmesg | tail or so

# /etc/fstab
/dev/sdb1 /xfs xfs rw,quota,gquota 0 0
[root@localhost ~]# mount /xfs
[root@localhost ~]# xfs_quota -x -c state
User quota state on /xfs (/dev/sdb1)
Accounting: ON
Enforcement: ON
Inode: #131 (1 blocks, 1 extents)
Group quota state on /xfs (/dev/sdb1)
Accounting: ON
Enforcement: ON
Inode: #132 (1 blocks, 1 extents)
Project quota state on /xfs (/dev/sdb1)
Accounting: OFF
Enforcement: OFF
Inode: #132 (1 blocks, 1 extents)
Blocks grace time: [7 days 00:00:30]
Inodes grace time: [7 days 00:00:30]