All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthew Daubenspeck <matt@oddprocess.org>
To: linux-lvm@redhat.com
Subject: [linux-lvm] quota command does not work
Date: Tue, 13 Apr 2004 11:17:23 -0400	[thread overview]
Message-ID: <20040413151723.GB19598@oddprocess.org> (raw)

I am using lvm2 with the following logical volume:

  --- Logical volume ---
  LV Name                /dev/nwlsd_vg/nwlsd_lv
  VG Name                nwlsd_vg
  LV UUID                jKXS7Q-2Bda-JpVG-Ba4I-Ocfr-6UyO-182Mek
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                55.91 GB
  Current LE             14312
  Segments               2
  Allocation             next free (default)
  Read ahead sectors     0
  Block device           254:0

I am trying to get quota's working on the system. The quotas themselves
are working, however, standard users cannot issue the quota command to
inspect their own specific information:

$ quota
quota: Can't stat() mounted device /dev/nwlsd_vg/nwlsd_lv: Permission
denied
Disk quotas for user mellofone (uid 1000): none

However, it does work for root:

$ quota mellofone
Disk quotas for user mellofone (uid 1000): 
     Filesystem  blocks   quota   limit   grace   files   quota   limit   grace
/dev/nwlsd_vg/nwlsd_lv
                19364268*      0  100000            2019       0       0    0

This setup works on other volumes that do not use lvm. Any ideas what I
screwed up? Just as an FYI:

$ lvm version
  LVM version:     2.00.09 (2004-03-31)
  Library version: 1.00.08-ioctl (2004-02-27)
  Driver version:  4.1.0

Thanks.
-- 
  Matthew Daubenspeck
  http://www.oddprocess.org

11:09:30 up 23 days, 1:21, 1 user, load average: 0.02, 0.03, 0.00

             reply	other threads:[~2004-04-13 15:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-13 15:17 Matthew Daubenspeck [this message]
2004-04-14  8:39 ` [linux-lvm] quota command does not work Heinz Mauelshagen
2004-04-14 11:52   ` Christophe Saout
2004-04-14 12:05     ` Matthew Daubenspeck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040413151723.GB19598@oddprocess.org \
    --to=matt@oddprocess.org \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.