使用xfs_quota
命令管理磁盘容量配额时,无法移除,提示我XFS_QUOTARM: Invalid argument
[root@server ~]# xfs_quota -x -c "print"
Filesystem Pathname
/ /dev/mapper/fedora-root
/mnt/quotatest /dev/sdb1 (uquota, gquota)
[root@server ~]# xfs_quota -x -c "state" /mnt/quotatest
User quota state on /mnt/quotatest (/dev/sdb1)
Accounting: ON
Enforcement: ON
Inode: #131 (2 blocks, 2 extents)
Blocks grace time: [14 days]
Blocks max warnings: 0
Inodes grace time: [7 days]
Inodes max warnings: 0
Realtime Blocks grace time: [7 days]
Group quota state on /mnt/quotatest (/dev/sdb1)
Accounting: ON
Enforcement: ON
Inode: #132 (2 blocks, 2 extents)
Blocks grace time: [14 days]
Blocks max warnings: 0
Inodes grace time: [7 days]
Inodes max warnings: 0
Realtime Blocks grace time: [7 days]
Project quota state on /mnt/quotatest (/dev/sdb1)
Accounting: OFF
Enforcement: OFF
Inode: #133 (1 blocks, 1 extents)
Blocks grace time: [7 days]
Blocks max warnings: 0
Inodes grace time: [7 days]
Inodes max warnings: 0
Realtime Blocks grace time: [7 days]
[root@server ~]# xfs_quota -x -c "off -ug" /mnt/quotatest
[root@server ~]# xfs_quota -x -c "state" /mnt/quotatest
User quota state on /mnt/quotatest (/dev/sdb1)
Accounting: ON
Enforcement: OFF
Inode: #131 (2 blocks, 2 extents)
Blocks grace time: [14 days]
Blocks max warnings: 0
Inodes grace time: [7 days]
Inodes max warnings: 0
Realtime Blocks grace time: [7 days]
Group quota state on /mnt/quotatest (/dev/sdb1)
Accounting: ON
Enforcement: OFF
Inode: #132 (2 blocks, 2 extents)
Blocks grace time: [14 days]
Blocks max warnings: 0
Inodes grace time: [7 days]
Inodes max warnings: 0
Realtime Blocks grace time: [7 days]
Project quota state on /mnt/quotatest (/dev/sdb1)
Accounting: OFF
Enforcement: OFF
Inode: #133 (1 blocks, 1 extents)
Blocks grace time: [7 days]
Blocks max warnings: 0
Inodes grace time: [7 days]
Inodes max warnings: 0
Realtime Blocks grace time: [7 days]
[root@server ~]# xfs_quota -x -c "remove -ug" /mnt/quotatest
XFS_QUOTARM: Invalid argument
[root@server ~]#
先off在remocve也没效果,仍提示错误信息,提示参数无效