| To: | "Dan" <dan@xxxxxxxx> |
|---|---|
| Subject: | Re: Real time volume free space |
| From: | nscott@xxxxxxxxxx |
| Date: | Thu, 20 Dec 2007 06:44:41 +1100 (EST) |
| Cc: | xfs@xxxxxxxxxxx |
| Importance: | Normal |
| In-reply-to: | <3136.132.250.11.79.1198081432.squirrel@xxxxxxxxxxxxxxxx> |
| References: | <3136.132.250.11.79.1198081432.squirrel@xxxxxxxxxxxxxxxx> |
| Sender: | xfs-bounce@xxxxxxxxxxx |
| User-agent: | SquirrelMail/1.4.8-4.el4.centos |
> > 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? 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 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Real time volume free space, Dan |
|---|---|
| Next by Date: | Retractable Banner Stand Promotion, Daniel Van Waes |
| Previous by Thread: | Real time volume free space, Dan |
| Next by Thread: | Retractable Banner Stand Promotion, Daniel Van Waes |
| Indexes: | [Date] [Thread] [Top] [All Lists] |