Re: Quota error

2002-09-08 Thread Info


loophole wrote:
> you need to do this in single or rescue mode.

how do i get there?

> 
> hth.
> lh
> 
> =
> `When you say "I wrote a program that crashed Windows", people just
> stare at you blankly and say "Hey, I got those with the system, *for
> free*".'  
> - Linus Torvalds
> 
> __
> Do You Yahoo!?
> Yahoo! Finance - Get real-time stock quotes
> http://finance.yahoo.com



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Quota error

2002-09-03 Thread loophole

you need to do this in single or rescue mode.

hth.
lh

=
`When you say "I wrote a program that crashed Windows", people just stare at you 
blankly and say "Hey, I got those with the system, *for free*".'
- Linus Torvalds

__
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Quota error

2002-09-02 Thread Info



I encountered the below error. Is it fatel? Is 
there anything i can do to fix it up?
 
[root@ahead root]# /sbin/quotacheck 
-avugquotacheck: Block 3: Block 15 in tree referenced twicequotacheck: 
WARNING - Some data might be changed due to corruption.quotacheck: Block 3: 
Block 12 in tree referenced twicequotacheck: Block 3: Block 13 in tree 
referenced twicequotacheck: WARNING - Some data might be changed due to 
corruption.quotacheck: Cannot remount filesystem mounted on / read-only so 
counted values might not be right.Please stop all programs writing to 
filesystem or use -m flag to force checking.
 
Thanks


Re: quota: Error while getting quota [...] No such file or directory

2002-06-21 Thread Nicolas Bock

On Fri, 21 Jun 2002, Nicolas Bock wrote:

> 
> thanks for your hints. I followed all the steps you mention and things are
> working now. Still, I keep getting this error message. At this point the
> problem is not that quota doesn't work at all, but rather that I keep
> getting the error message. This is somewhat of a cosmetic problem though.

I found out what is causing the error messages: I run am-utils', amd and 
that creates an entry in /etc/mtab which is parsed by quota to see what 
filesystems to check for quota. The amd entry imposes a problem for quota 
and it throws this error. Does anybody know where I would report this? I 
couldn't find anything about the quota maintainers. Maybe the redhat-devel 
list? Or buzilla?

nick




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: quota: Error while getting quota [...] No such file or directory

2002-06-21 Thread Paul Bradshaw


Thank you Henrik,

You fixed my problem!

...Paul


Henrik Schmiediche wrote:

>   Hello,
>the following procedure to set up quotas worked for me. Maybe it will help
>you.
>
>Sincerely,
>
>  - Henrik
>
># 0) kernel must be compiled with quota support... the standard redhat
>kernels have quota support turned on by default.
>
>   stock kernel seems to support old kernels (vfsold),(at least up to
>2.4.17)
>   redhat kernels seem to support new quotas (vfsv0)
>
># 1) add user and/or group quotas to /etc/fstab:
>
>LABEL=/home /home ext3 defaults,usrquota 1 2
>LABEL=/home /home ext3 defaults,usrquota,grpquota 1 2
>
># 2) reboot... you will get a quotaon error message.
>
># 3) create quotafile (make sure the format is correct):
>quotacheck -Maugv -F vfsold   (stock)
>quotacheck -Maugv -F vfsv0(redhat)
>
>You may not need or want the -M flag, see the man pages.
>
># 4) enable quotas (or reboot)
>quotaon -a
>
># 5) commands:
>repquota -a
>edquota 
>
>
>
>- Original Message -
>From: "Nicolas Bock" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Friday, June 21, 2002 9:14 AM
>Subject: Re: quota: Error while getting quota [...] No such file or
>directory
>
>
>  
>
>>>>quota: Error while getting quota from myhost:(pid3258) for 3369: No
>>>>
>>>>
>such
>  
>
>>>>file or directory
>>>>Disk quotas for user nbock (uid 3369): none
>>>>
>>>>
>>>You need to initialise the disk quota files on that volume (quota.user
>>>  
>>>
>and
>  
>
>>>quota.group). Use edquota to do it.
>>>  
>>>
>>Even after doing that, I still get the error message:
>>
>>[0621/9:42]my_client:~>quota
>>quota: Error while getting quota from my_client:(pid1059) for 3369: No
>>
>>
>such
>  
>
>>file or directory
>>Disk quotas for user nbock (uid 3369):
>> Filesystem  blocks   quota   limit   grace   files   quota   limit
>>grace
>>   /dev/md1 29554420  5000 6000   26390   5
>>75000
>>
>>I don't know what file quota is talking about. I found out something
>>interesting though. Take a look at the following commands:
>>
>>[0621/10:10]my_client:~>quota
>>quota: Error while getting quota from my_client:(pid1059) for 3369: No
>>
>>
>such
>  
>
>>file or directory
>>Disk quotas for user nbock (uid 3369): none
>>
>>[0621/10:10]my_client:~>quota -u
>>quota: Error while getting quota from my_client:(pid1059) for 3369: No
>>
>>
>such
>  
>
>>file or directory
>>Disk quotas for user nbock (uid 3369): none
>>
>>[0621/10:10]my_client:~>quota -F vfsv0
>>Disk quotas for user nbock (uid 3369): none
>>
>>When I force quota to use the new version of quota, then it doesn't
>>
>>
>complain
>  
>
>>about some file not being found. Is that a bug in quota?
>>
>>nick
>>
>>
>>
>>
>>
>>
>>
>
>
>
>
>___
>Redhat-list mailing list
>[EMAIL PROTECTED]
>https://listman.redhat.com/mailman/listinfo/redhat-list
>  
>




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: quota: Error while getting quota [...] No such file or directory

2002-06-21 Thread Nicolas Bock

On Fri, 21 Jun 2002, Henrik Schmiediche wrote:

> 
>Hello,
> the following procedure to set up quotas worked for me. Maybe it will help
> you.
> 
> > > >quota: Error while getting quota from myhost:(pid3258) for 3369: No
> such
> > > >file or directory

Henrik,

thanks for your hints. I followed all the steps you mention and things are
working now. Still, I keep getting this error message. At this point the
problem is not that quota doesn't work at all, but rather that I keep
getting the error message. This is somewhat of a cosmetic problem though.

On another note, have you tried to use quota on an nfs mounted fs? I can't 
get that to work at all.

nick




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: quota: Error while getting quota [...] No such file or directory

2002-06-21 Thread Henrik Schmiediche


   Hello,
the following procedure to set up quotas worked for me. Maybe it will help
you.

Sincerely,

  - Henrik

# 0) kernel must be compiled with quota support... the standard redhat
kernels have quota support turned on by default.

   stock kernel seems to support old kernels (vfsold),(at least up to
2.4.17)
   redhat kernels seem to support new quotas (vfsv0)

# 1) add user and/or group quotas to /etc/fstab:

LABEL=/home /home ext3 defaults,usrquota 1 2
LABEL=/home /home ext3 defaults,usrquota,grpquota 1 2

# 2) reboot... you will get a quotaon error message.

# 3) create quotafile (make sure the format is correct):
quotacheck -Maugv -F vfsold   (stock)
quotacheck -Maugv -F vfsv0(redhat)

You may not need or want the -M flag, see the man pages.

# 4) enable quotas (or reboot)
quotaon -a

# 5) commands:
repquota -a
edquota 



- Original Message -
From: "Nicolas Bock" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 21, 2002 9:14 AM
Subject: Re: quota: Error while getting quota [...] No such file or
directory


> > >quota: Error while getting quota from myhost:(pid3258) for 3369: No
such
> > >file or directory
> > >Disk quotas for user nbock (uid 3369): none
> >
> >
> > You need to initialise the disk quota files on that volume (quota.user
and
> > quota.group). Use edquota to do it.
>
> Even after doing that, I still get the error message:
>
> [0621/9:42]my_client:~>quota
> quota: Error while getting quota from my_client:(pid1059) for 3369: No
such
> file or directory
> Disk quotas for user nbock (uid 3369):
>  Filesystem  blocks   quota   limit   grace   files   quota   limit
> grace
>/dev/md1 29554420  5000 6000   26390   5
> 75000
>
> I don't know what file quota is talking about. I found out something
> interesting though. Take a look at the following commands:
>
> [0621/10:10]my_client:~>quota
> quota: Error while getting quota from my_client:(pid1059) for 3369: No
such
> file or directory
> Disk quotas for user nbock (uid 3369): none
>
> [0621/10:10]my_client:~>quota -u
> quota: Error while getting quota from my_client:(pid1059) for 3369: No
such
> file or directory
> Disk quotas for user nbock (uid 3369): none
>
> [0621/10:10]my_client:~>quota -F vfsv0
> Disk quotas for user nbock (uid 3369): none
>
> When I force quota to use the new version of quota, then it doesn't
complain
> about some file not being found. Is that a bug in quota?
>
> nick
>
>
>
>
>




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: quota: Error while getting quota [...] No such file or directory

2002-06-21 Thread Nicolas Bock

> >quota: Error while getting quota from myhost:(pid3258) for 3369: No such 
> >file or directory
> >Disk quotas for user nbock (uid 3369): none
> 
> 
> You need to initialise the disk quota files on that volume (quota.user and
> quota.group). Use edquota to do it.

Even after doing that, I still get the error message:

[0621/9:42]my_client:~>quota
quota: Error while getting quota from my_client:(pid1059) for 3369: No such 
file or directory
Disk quotas for user nbock (uid 3369):
 Filesystem  blocks   quota   limit   grace   files   quota   limit   
grace
   /dev/md1 29554420  5000 6000   26390   5   
75000

I don't know what file quota is talking about. I found out something 
interesting though. Take a look at the following commands:

[0621/10:10]my_client:~>quota
quota: Error while getting quota from my_client:(pid1059) for 3369: No such 
file or directory
Disk quotas for user nbock (uid 3369): none

[0621/10:10]my_client:~>quota -u
quota: Error while getting quota from my_client:(pid1059) for 3369: No such 
file or directory
Disk quotas for user nbock (uid 3369): none

[0621/10:10]my_client:~>quota -F vfsv0
Disk quotas for user nbock (uid 3369): none

When I force quota to use the new version of quota, then it doesn't complain
about some file not being found. Is that a bug in quota?

nick




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: quota: Error while getting quota [...] No such file or directory

2002-06-20 Thread Kevin Myers

On Thu, 20 Jun 2002 10:49:21 -0400 (EDT), Nicolas  wrote:

>when I run quota now, using any account including root's, I get this 
>output:
>
>quota: Error while getting quota from myhost:(pid3258) for 3369: No such 
>file or directory
>Disk quotas for user nbock (uid 3369): none


You need to initialise the disk quota files on that volume (quota.user and
quota.group). Use edquota to do it.



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Quota Error - RH70

2001-03-10 Thread Todd A. Jacobs

On Fri, 2 Mar 2001, Kevin Wood wrote:

> I have this line in the system and it still gives me the error.  Any
> other ideas?

I'm running into the same problem. If you use repquota, it will show that
there are no quotas in effect, regradless of the values in linuxconf. It
definitely seems to be a bug in RH 7.0.

-- 
Todd A. Jacobs
CodeGnome Consulting, LTD




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Quota Error - RH70

2001-03-06 Thread Kevin Wood

I have also tried that as well to no avail.  It almost seems to be the
program is wrong or something as the response is "Invalid Argument".  I
only start it as "quotaon -u /home".  This is what I am told to do.  It
almost seems as if the program is passing itself an argument (strange?) or
I am missing an argument (Not listed?).

Any programmers out there wish to comment on this?  Any other ideas on
what might be wrong with quotas?

Thanks

Kevin Wood

On Fri, 2 Mar 2001, Mike Burger wrote:

> Have you tried deleting the quota.user file, and trying again?
> 
> On Fri, 2 Mar 2001, Kevin Wood wrote:
> 
> > I have this line in the system and it still gives me the error.  Any other
> > ideas?
> >
> > Thanks
> >
> > Kevin
> >
> >
> > On Fri, 2 Mar 2001, Mike Burger wrote:
> >
> > > Make sure that your fstab has a line like this that refers to /dev/sda8:
> > >
> > > /dev/sda8 /ext2defaults,usrquota  1 2
> > >
> > > The "usrquota" is the important part there.  If you haven't included the
> > > usrquota parameter, you can't actually enforce user quotas on the file
> > > system in question.
> > >
> > > On Fri, 2 Mar 2001, Kevin Wood wrote:
> > >
> > > > Hey there guys,
> > > >
> > > > I'm trying to set up a server with quotas and I am running into a problem.
> > > > I have gone through dejanews and pulled down the directions for running
> > > > quotas and got all my files and options in place.  The problem is that
> > > > when I reboot the machine or try to turn quotas on I receive the message:
> > > >
> > > > quotaon: using /home/quota.user on /dev/sda8: Invalid Argument
> > > >
> > > > I then returned to dejanews to find out what might be up.  Seems that a
> > > > lot of people are having the same problem, but I don't see any responses.
> > > >
> > > > Does anyone have any ideas on what to do or what might be wrong?
> > > >
> > > > I was running into trouble under Kernel 2.4.2-ac7, but I have since
> > > > reloaded the machine with a completely stock RH70 and the same problem
> > > > still exists.
> > > >
> > > > I have also gone as far as trying to get a new version of quota and that
> > > > doesn't seem to do it either.
> > > >
> > > > Whatever the case, if anyone has any tips or pointers, that would be
> > > > great.
> > > >
> > > > Thanks,
> > > >
> > > > Kevin Wood
> > > >
> > > >
> > >
> > >
> > >
> > > ___
> > > Redhat-list mailing list
> > > [EMAIL PROTECTED]
> > > https://listman.redhat.com/mailman/listinfo/redhat-list
> > >
> >
> >
> 
> 
> 
> ___
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 

-- 
Kevin Wood
Globespan, Inc.
1 Griffin Brook Drive
Suite 205
Methuen, MA  01844
978-837-3069 x 111


Legal Disclaimer
"This email message is for the sole use of the intended recipient(s) 
and may contain confidential, proprietary or legally privileged 
information.  No confidentiality or privilege is waived or lost by 
any mistransmission.  If you receive this message in error, 
please immediately delete it and all copies of it from your system,
destroy any hard copies of it and notify the sender by reply email.
You must not, directly or indirectly, use, disclose, distribute,
print, or copy any part of this message if you are not the intended
recipient.  Any views expressed in this message are those of the
individual sender, except where the message states otherwise 
and the sender is authorized to state them to be the views
of GLOBESPAN, INC. or any of its subsidiaries."
***



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Quota Error - RH70

2001-03-02 Thread Mike Burger

Have you tried deleting the quota.user file, and trying again?

On Fri, 2 Mar 2001, Kevin Wood wrote:

> I have this line in the system and it still gives me the error.  Any other
> ideas?
>
> Thanks
>
> Kevin
>
>
> On Fri, 2 Mar 2001, Mike Burger wrote:
>
> > Make sure that your fstab has a line like this that refers to /dev/sda8:
> >
> > /dev/sda8 /ext2defaults,usrquota  1 2
> >
> > The "usrquota" is the important part there.  If you haven't included the
> > usrquota parameter, you can't actually enforce user quotas on the file
> > system in question.
> >
> > On Fri, 2 Mar 2001, Kevin Wood wrote:
> >
> > > Hey there guys,
> > >
> > > I'm trying to set up a server with quotas and I am running into a problem.
> > > I have gone through dejanews and pulled down the directions for running
> > > quotas and got all my files and options in place.  The problem is that
> > > when I reboot the machine or try to turn quotas on I receive the message:
> > >
> > > quotaon: using /home/quota.user on /dev/sda8: Invalid Argument
> > >
> > > I then returned to dejanews to find out what might be up.  Seems that a
> > > lot of people are having the same problem, but I don't see any responses.
> > >
> > > Does anyone have any ideas on what to do or what might be wrong?
> > >
> > > I was running into trouble under Kernel 2.4.2-ac7, but I have since
> > > reloaded the machine with a completely stock RH70 and the same problem
> > > still exists.
> > >
> > > I have also gone as far as trying to get a new version of quota and that
> > > doesn't seem to do it either.
> > >
> > > Whatever the case, if anyone has any tips or pointers, that would be
> > > great.
> > >
> > > Thanks,
> > >
> > > Kevin Wood
> > >
> > >
> >
> >
> >
> > ___
> > Redhat-list mailing list
> > [EMAIL PROTECTED]
> > https://listman.redhat.com/mailman/listinfo/redhat-list
> >
>
>



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Quota Error - RH70

2001-03-02 Thread Kevin Wood

I have this line in the system and it still gives me the error.  Any other
ideas?

Thanks

Kevin


On Fri, 2 Mar 2001, Mike Burger wrote:

> Make sure that your fstab has a line like this that refers to /dev/sda8:
> 
> /dev/sda8 /ext2defaults,usrquota  1 2
> 
> The "usrquota" is the important part there.  If you haven't included the
> usrquota parameter, you can't actually enforce user quotas on the file
> system in question.
> 
> On Fri, 2 Mar 2001, Kevin Wood wrote:
> 
> > Hey there guys,
> >
> > I'm trying to set up a server with quotas and I am running into a problem.
> > I have gone through dejanews and pulled down the directions for running
> > quotas and got all my files and options in place.  The problem is that
> > when I reboot the machine or try to turn quotas on I receive the message:
> >
> > quotaon: using /home/quota.user on /dev/sda8: Invalid Argument
> >
> > I then returned to dejanews to find out what might be up.  Seems that a
> > lot of people are having the same problem, but I don't see any responses.
> >
> > Does anyone have any ideas on what to do or what might be wrong?
> >
> > I was running into trouble under Kernel 2.4.2-ac7, but I have since
> > reloaded the machine with a completely stock RH70 and the same problem
> > still exists.
> >
> > I have also gone as far as trying to get a new version of quota and that
> > doesn't seem to do it either.
> >
> > Whatever the case, if anyone has any tips or pointers, that would be
> > great.
> >
> > Thanks,
> >
> > Kevin Wood
> >
> >
> 
> 
> 
> ___
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 

-- 
Kevin Wood
Globespan, Inc.
1 Griffin Brook Drive
Suite 205
Methuen, MA  01844
978-837-3069 x 111



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Quota Error - RH70

2001-03-02 Thread Mike Burger

Make sure that your fstab has a line like this that refers to /dev/sda8:

/dev/sda8 /ext2defaults,usrquota  1 2

The "usrquota" is the important part there.  If you haven't included the
usrquota parameter, you can't actually enforce user quotas on the file
system in question.

On Fri, 2 Mar 2001, Kevin Wood wrote:

> Hey there guys,
>
> I'm trying to set up a server with quotas and I am running into a problem.
> I have gone through dejanews and pulled down the directions for running
> quotas and got all my files and options in place.  The problem is that
> when I reboot the machine or try to turn quotas on I receive the message:
>
> quotaon: using /home/quota.user on /dev/sda8: Invalid Argument
>
> I then returned to dejanews to find out what might be up.  Seems that a
> lot of people are having the same problem, but I don't see any responses.
>
> Does anyone have any ideas on what to do or what might be wrong?
>
> I was running into trouble under Kernel 2.4.2-ac7, but I have since
> reloaded the machine with a completely stock RH70 and the same problem
> still exists.
>
> I have also gone as far as trying to get a new version of quota and that
> doesn't seem to do it either.
>
> Whatever the case, if anyone has any tips or pointers, that would be
> great.
>
> Thanks,
>
> Kevin Wood
>
>



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Quota Error - RH70

2001-03-02 Thread Kevin Wood

Hey there guys,

I'm trying to set up a server with quotas and I am running into a problem.
I have gone through dejanews and pulled down the directions for running
quotas and got all my files and options in place.  The problem is that
when I reboot the machine or try to turn quotas on I receive the message:

quotaon: using /home/quota.user on /dev/sda8: Invalid Argument

I then returned to dejanews to find out what might be up.  Seems that a
lot of people are having the same problem, but I don't see any responses.

Does anyone have any ideas on what to do or what might be wrong?

I was running into trouble under Kernel 2.4.2-ac7, but I have since
reloaded the machine with a completely stock RH70 and the same problem
still exists.

I have also gone as far as trying to get a new version of quota and that
doesn't seem to do it either.

Whatever the case, if anyone has any tips or pointers, that would be
great.

Thanks,

Kevin Wood

-- 
Kevin Wood
Globespan, Inc.
1 Griffin Brook Drive
Suite 205
Methuen, MA  01844
978-837-3069 x 111



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list