Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] help with quota and LVM
@ 2002-08-08 14:24 Ben Snyder
  2002-08-08 17:59 ` José Luis Domingo López
  0 siblings, 1 reply; 2+ messages in thread
From: Ben Snyder @ 2002-08-08 14:24 UTC (permalink / raw)
  To: linux-lvm

I'm running RedHat6.2 with kernel 2.2.19 and LVM 1.0.4 on ext2 file systems

I'm having problems with quota and LVM.

I can mount 2 different filesystems:
    one is a plane-jane ext2 run-o-da-mill old-fashioned /dev/sda5 mount 
to /data FS
    the other is a logical volume /dev/vg/lv /data2

The data on them is identical, thanks to my friend rsync.

The problem is that I cannot get quotas to work on the logical volume 
(it *is* mounted with usrquota - I'm not that dumb).  I run 'edquota 
ben', make my changes and save it and all is happy.  Then I run 'edquota 
ben' again and the data is still there.  However, whenever I run 'quota 
ben' I only get info for the non-lvm filesystem.  If the non-lvm FS is 
not mounted, then I get 'none'.

I know quotas work on my system, they work on all of the other 
filesystems.  Is there something I'm missing about quota and LVM?  I 
*NEED* this to work, and help you can provide will be greatly appreciated.

Thanks in advance for feedback/replies/remarks/insults.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [linux-lvm] help with quota and LVM
  2002-08-08 14:24 [linux-lvm] help with quota and LVM Ben Snyder
@ 2002-08-08 17:59 ` José Luis Domingo López
  0 siblings, 0 replies; 2+ messages in thread
From: José Luis Domingo López @ 2002-08-08 17:59 UTC (permalink / raw)
  To: linux-lvm

On Thursday, 08 August 2002, at 15:24:40 -0400,
Ben Snyder wrote:

> I'm running RedHat6.2 with kernel 2.2.19 and LVM 1.0.4 on ext2 file systems
> I'm having problems with quota and LVM.
> 
As far as I know filesystem quotas have only something to do with
filesystem: it is independent of the underlaying block device (hard disk
partition, or a LVM LV in your setup).

I remember having set up a LV (LVM version 1.0.4 if I recall correctly), 
built an ext3 filesystem on it, configured quotas as usual and it worked.
Kernel version is 2.4.19-pre7aa2, with no other patches applied.

I have just tried to setup ext2 quotas over a LVM version 1.0.3 Logical
Volume, and is working as expected. Kernel version here is
2.4.19-pre6aa1, and quota package is version 3.04-1. The procedure to
set quotas is exactly as done with filesystems on normal disk
partitions. In fact, the greatest problem for me has been a quota format
mismatch between "quotacheck", "quotaon" and compiled kernel.

Hope it helps.

-- 
Jose Luis Domingo Lopez
Linux Registered User #189436     Debian Linux Woody (Linux 2.4.19-pre6aa1)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-08-08 17:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-08 14:24 [linux-lvm] help with quota and LVM Ben Snyder
2002-08-08 17:59 ` José Luis Domingo López

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox