Received: with ECARTIS (v1.0.0; list xfs); Fri, 22 Aug 2008 19:09:24 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.0-r574664 (2007-09-11) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.3.0-r574664 Received: from cuda.sgi.com ([192.48.176.15]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m7N29KJC002724 for ; Fri, 22 Aug 2008 19:09:22 -0700 X-ASG-Debug-ID: 1219457439-25f3019d0000-NocioJ X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from sandeen.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id E8D281A35FD1 for ; Fri, 22 Aug 2008 19:10:40 -0700 (PDT) Received: from sandeen.net (sandeen.net [209.173.210.139]) by cuda.sgi.com with ESMTP id PGGm51jvNMzshD8s for ; Fri, 22 Aug 2008 19:10:40 -0700 (PDT) Received: from liberator.sandeen.net (liberator.sandeen.net [10.0.0.4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by sandeen.net (Postfix) with ESMTP id 8767AA9ABC8; Fri, 22 Aug 2008 21:10:39 -0500 (CDT) Message-ID: <48AF719F.8010903@sandeen.net> Date: Fri, 22 Aug 2008 21:10:39 -0500 From: Eric Sandeen User-Agent: Thunderbird 2.0.0.16 (Macintosh/20080707) MIME-Version: 1.0 To: Dan CC: xfs@oss.sgi.com X-ASG-Orig-Subj: Re: xfs_quota free Subject: Re: xfs_quota free References: <48AF4DD1.5080603@nerp.net> In-Reply-To: <48AF4DD1.5080603@nerp.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: sandeen.net[209.173.210.139] X-Barracuda-Start-Time: 1219457441 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.42 X-Barracuda-Spam-Status: No, SCORE=-1.42 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=MARKETING_SUBJECT X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.3443 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.60 MARKETING_SUBJECT Subject contains popular marketing words X-Virus-Scanned: ClamAV 0.91.2/8076/Fri Aug 22 15:15:54 2008 on oss.sgi.com X-Virus-Status: Clean X-archive-position: 17686 X-ecartis-version: Ecartis v1.0.0 Sender: xfs-bounce@oss.sgi.com Errors-to: xfs-bounce@oss.sgi.com X-original-sender: sandeen@sandeen.net Precedence: bulk X-list: xfs Dan wrote: > 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 > > 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