|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
xfs_quota freeHi,
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 |
|
|
Re: xfs_quota freeOn 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. |
|
|
Re: xfs_quota freeDan 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 |
|
|
|
|
|
Re: xfs_quota freeOn 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 |
| Free Forum Powered by Nabble | Forum Help |