xfs_quota free
Hi,
Some time ago I needed to determine the free space on a real time device. Nate indicated to use xfs_quota free. I've read the man pages and tried many iterations of this command but I cannot get any results.
One potential problem is I'm uncertain of the folder or device to point the command at. My filesystem is mounted to /mnt, the rtdev is /dev/md0 and meta data is on /dev/sdb. Basically it boils down to xfs_quota -c 'free -r -h' /mnt I think but I get the following error:
XFS_IOC_FSGEOMETRY_V1: Invalid argument
How do you use this?
Thanks,
Dan
Quoted 3 lines · Dan
data is on
/dev/sdb. Basically it boils down toxfs_quota-c 'free -r -h' /mnt I think but I get the following error:
XFS_IOC_FSGEOMETRY_V1: Invalid argument
A similar issue has been reported in http://lists.xensource.com/archives/html/xen-users/2007-10/msg00577.html
Which kernel are you running?
C.
Signature · 3 lines
BOFH excuse #266: All of the packets are empty.
Quoted 11 lines · Dan
Hi,
Some time ago I needed to determine the free space on a real time device. Nate indicated to use
xfs_quotafree. I've read the man pages and tried many iterations of this command but I cannot get any results.One potential problem is I'm uncertain of the folder or device to point the command at. My filesystem is mounted to /mnt, the rtdev is
/dev/md0and meta data is on/dev/sdb. Basically it boils down toxfs_quota-c 'free -r -h' /mnt I think but I get the following error:
Quoted 9 lines
XFS_IOC_FSGEOMETRY_V1: Invalid argumentHow do you use this?
Thanks,
Dan
Do you happen to have 32-bit userspace on a 64-bit kernel?
Could be an ioctl translation problem if so.
Otherwise maybe a quota-savvy person knows ;)
-Eric