Bug 77792

Summary: quota not working with LVM
Product: [Retired] Red Hat Linux Reporter: aspa
Component: quotaAssignee: Phil Copeland <copeland>
Status: CLOSED NOTABUG QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-11-13 17:50:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description aspa 2002-11-13 17:46:46 UTC
Description of Problem:
filesystem quotas don't seem to be working on LVM logical volume filesystems.

Version-Release number of selected component (if applicable):
kernel-smp-2.4.18-17.8.0

How Reproducible: always

Steps to Reproduce:
1. create a ext3 filesystem on LVM logical volume
2. mount filesystem with user and group quota
3. /sbin/quotacheck -v -F vfsv0 /home

Actual Results:
quotacheck: Cannot get quotafile name for /dev/Volume00/LogVol03

Expected Results:
quotacheck: Scanning /dev/hda7 [/home] done
quotacheck: Checked 22 directories and 58 files

aquota.user should be created.

Additional Information:

Comment 1 aspa 2002-11-15 07:37:55 UTC
after creating the quota files with touch (aquota.{user|group}) the quotacheck
command didn't give the 'Cannot get quotafile name' message as before but
when booting the system i still got the following error messages even
though the quota files exist:

Enabling local filesystem quotas:  quotaon: Cannot find quota file on /home
[/dev/Volume00/LogVol03] to turn quotas on/off.
quotaon: Cannot find quota file on /home [/dev/Volume00/LogVol03] to turn
quotas on/off.
quotaon: Cannot find quota file on /var [/dev/Volume00/LogVol01] to turn quotas
on/off.
quotaon: Cannot find quota file on /var [/dev/Volume00/LogVol01] to turn quotas
on/off.

this got fixed with running '/sbin/quotacheck -ug <fs>' on both
filesystems.