* xfs_quota free
@ 2008-08-22 23:37 Dan
2008-08-23 0:40 ` Christian Kujau
2008-08-23 2:10 ` Eric Sandeen
0 siblings, 2 replies; 5+ messages in thread
From: Dan @ 2008-08-22 23:37 UTC (permalink / raw)
To: xfs
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: xfs_quota free
2008-08-22 23:37 xfs_quota free Dan
@ 2008-08-23 0:40 ` Christian Kujau
2008-08-23 2:10 ` Eric Sandeen
1 sibling, 0 replies; 5+ messages in thread
From: Christian Kujau @ 2008-08-23 0:40 UTC (permalink / raw)
To: Dan; +Cc: xfs
On Fri, 22 Aug 2008, Dan wrote:
> 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
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.
--
BOFH excuse #266:
All of the packets are empty.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: xfs_quota free
2008-08-22 23:37 xfs_quota free Dan
2008-08-23 0:40 ` Christian Kujau
@ 2008-08-23 2:10 ` Eric Sandeen
1 sibling, 0 replies; 5+ messages in thread
From: Eric Sandeen @ 2008-08-23 2:10 UTC (permalink / raw)
To: Dan; +Cc: 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: xfs_quota free
@ 2008-08-23 4:01 Dan Redig
2008-08-23 12:12 ` Christian Kujau
0 siblings, 1 reply; 5+ messages in thread
From: Dan Redig @ 2008-08-23 4:01 UTC (permalink / raw)
To: lists; +Cc: xfs, burgwalds
Hi,
I'm running 2.6.22 on CentOS 4.4. I don't have the version of XFS tools on me right now. I do believe I got the right package. Would the 32 bit binaries format and manipulate he other features of XFS properly and only fail on free blocks?
thanks!!
Dan
-----Original Message-----
From: Christian Kujau <lists@nerdbynature.de>
Date: Friday, Aug 22, 2008 2:40 pm
Subject: Re: xfs_quota free
To: Dan <dan@nerp.net>
CC: xfs@oss.sgi.com
On Fri, 22 Aug 2008, Dan wrote:
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
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.
-- BOFH excuse #266:
All of the packets are empty.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: xfs_quota free
2008-08-23 4:01 Dan Redig
@ 2008-08-23 12:12 ` Christian Kujau
0 siblings, 0 replies; 5+ messages in thread
From: Christian Kujau @ 2008-08-23 12:12 UTC (permalink / raw)
To: Dan Redig; +Cc: xfs, burgwalds
On Sat, 22 Aug 2008, Dan Redig wrote:
> I'm running 2.6.22 on CentOS 4.4. I don't have the version of
The post I mentioned was just one of a few search results. It said that
this would be fixed in "recent kernels". The post is from 10/2007, where
kernel 2.6.23 was "current", so the statement is rather vague :-\
> XFS tools on me right now. I do believe I got the right package. Would
> the 32 bit binaries format and manipulate he other features of XFS
> properly and only fail on free blocks?
Please see Eric's post; what system (kernel, userland) are you on?
C.
--
BOFH excuse #301:
appears to be a Slow/Narrow SCSI-0 Interface problem
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-08-23 12:11 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-22 23:37 xfs_quota free Dan
2008-08-23 0:40 ` Christian Kujau
2008-08-23 2:10 ` Eric Sandeen
-- strict thread matches above, loose matches on Subject: below --
2008-08-23 4:01 Dan Redig
2008-08-23 12:12 ` Christian Kujau
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox