Real time volume free space
I've been trying to figure out how to determine the free space of a real time volume. It seems xfs_db might hold the key but no luck so far... Simply running df -h tells me the free space of the meta-data drive only which basically doesn't change even after Terabyte data collections.
I created the filesystem like this:
mkfs.xfs -r rtdev=/dev/md0 /dev/sda
How would I tell how much space is left on /dev/md0?
Thank you,
Dan
Quoted 11 lines
I've been trying to figure out how to determine the free space of a real time volume. It seems
xfs_dbmight hold the key but no luck so far... Simply running df -h tells me the free space of the meta-data drive only which basically doesn't change even after Terabyte data collections.I created the filesystem like this:
mkfs.xfs -r rtdev=/dev/md0
/dev/sdaHow would I tell how much space is left on
/dev/md0?
The XFS_IOC_FSCOUNTS ioctl exposes this information, and you can use the xfs_quota "free" command to see it (even if you're not using quotas). The df command has no knowledge of the realtime subvolume.
cheers.
--
Nathan