Skip to contentSkip to conversation

xfs_quota free

DISCUSSION Dan 3 participants 3 messages Aug 22, 2008 – Aug 23, 2008

lore
Share & tools
lore

Dan

author
#0 lore raw

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

#2 lore raw
In reply to Dan
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_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:

Quoted 9 lines

XFS_IOC_FSGEOMETRY_V1: Invalid argument

How 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