[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] xfs quota on lvm



On Wed, Jan 16, 2002 at 01:00:39PM +0100, Christophe Zwecker wrote:
> 
> > 
> > Hmm... from your boot info we can tell that quota is being
> > activated on all filesystems, but for some reason it looks
> > like the quotactl syscall is failing for these LVM devices
> > (but not the non-LVM device, which is wierd).
> > 
> > The strace output might be useful - could you send me that?
> 
> ok, I created a 100MB ext2 partition on lvm, doesnt work either,
> attached youll find the strace output for:
> 
>  strace -o setquota.trace setquota -u doc 500 501 100 101
> /dev/bender/test
> 
> The part is mounted user and groupquota.
> 
> ...
> quotactl(0x5805 /* Q_??? */|USRQUOTA, "/dev/bender/test", 0, {33060, 1, 0, 0, 0, 0, 134479872, 0}) = -1 EINVAL (Invalid argument)
> ...
> quotactl(Q_GETQUOTA|USRQUOTA, "/dev/bender/test", 0, {1075089596, 1075131920, 1075131924, 1073747802, 3221222856, 1075089406, 134571809, 3}) = -1 ESRCH (No such process)


... these failing syscalls look like the root cause of your problems.
You could try putting some printk() calls in sys_quotactl() in the
kernel to figure out exactly where the error comes from.  I would
guess it is to do with the handling of the "special" parameter, ie.
"/dev/bender/test" above, since this is the only part where the LVM
device file comes into the picture.

cheers.

-- 
Nathan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]