xfs
[Top] [All Lists]

Bug#618730: xfsprogs: xfs_quota -xc "report -Nt /xfs_test" i.e. cause er

To: Debian Bug Tracking System <submit@xxxxxxxxxxxxxxx>
Subject: Bug#618730: xfsprogs: xfs_quota -xc "report -Nt /xfs_test" i.e. cause error "XFS_GETQUOTA: No such process"
From: Thomas Blomenkamp <tblomenk@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 18 Mar 2011 00:30:11 +0100
Delivered-to: submit@xxxxxxxxxxxxxxx
Reply-to: Thomas Blomenkamp <tblomenk@xxxxxxxxxxxxxxxxxxxxx>, 618730@xxxxxxxxxxxxxxx
Resent-cc: XFS Development Team <xfs@xxxxxxxxxxx>
Resent-date: Thu, 17 Mar 2011 23:39:02 +0000
Resent-date: Thu, 17 Mar 2011 23:39:05 +0000
Resent-from: Thomas Blomenkamp <tblomenk@xxxxxxxxxxxxxxxxxxxxx>
Resent-message-id: <handler.618730.B.130040502728116@xxxxxxxxxxxxxxx>
Resent-sender: Debian BTS <debbugs@xxxxxxxxxxxxxxxxx>
Resent-to: debian-bugs-dist@xxxxxxxxxxxxxxxx
Package: xfsprogs
Version: 3.1.4
Severity: normal
Tags: squeeze patch

Consider the following situation:

A block-device with xfs-filesystem is mounted on /xfs_test and the xfs_quota 
option is enabled (i.e. by mounting with option uqnoenforce).

Then if you use the prog. xfs_quota to get a report of the user quota on /xfs, 
you get sth. like this:

foobar:~#xfs_quota -xc "report -Nt /xfs_test"

root          2019836          0          0     00 [--------]

XFS_GETQUOTA: No such process
XFS_GETQUOTA: No such process
XFS_GETQUOTA: No such process
XFS_GETQUOTA: No such process
XFS_GETQUOTA: No such process

I have attached a patch which worked fine for me.

I want to thank Eric Sandeen for fixing this bug and refer to 
http://patchwork.xfs.org/patch/1714/


Regards, Thomas


-- System Information:
Debian Release: 6.0
  APT prefers squeeze-updates
  APT policy: (500, 'squeeze-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xfsprogs depends on:
ii  libblkid1                     2.17.2-9   block device id library
ii  libc6                         2.11.2-10  Embedded GNU C Library: Shared lib
ii  libreadline5                  5.2-7      GNU readline and history libraries
ii  libuuid1                      2.17.2-9   Universally Unique ID library

xfsprogs recommends no packages.

Versions of packages xfsprogs suggests:
pn  acl                           <none>     (no description available)
pn  attr                          <none>     (no description available)
pn  quota                         <none>     (no description available)
ii  xfsdump                       3.0.4      Administrative utilities for the X

-- no debconf information

Attachment: xfsprogs_quota_report_fix.patch
Description: Text Data

<Prev in Thread] Current Thread [Next in Thread>
  • Bug#618730: xfsprogs: xfs_quota -xc "report -Nt /xfs_test" i.e. cause error "XFS_GETQUOTA: No such process", Thomas Blomenkamp <=