"quota" command prints nothing

This is a discussion on "quota" command prints nothing within the Linux General forums, part of the Linux Forums category; I want to check how much disk space I can use in my Linux account. But when I type "...


Go Back   Usenet Forums > Linux Forums > Linux General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2005
Gabriel Nivasch
 
Posts: n/a
Default "quota" command prints nothing

I want to check how much disk space I can use in my Linux account. But
when I type "quota", nothing gets printed out.

What does that mean? Does it mean I have no disk space limit?
Thanks,
Gabriel

Reply With Quote
  #2 (permalink)  
Old 01-05-2005
Davide Bianchi
 
Posts: n/a
Default Re: "quota" command prints nothing

On 2005-01-05, Gabriel Nivasch <fresita053-gg@yahoo.com> wrote:
> What does that mean?


That you don't have quota support on that machine. So you don't have
a quota.
Davide

--
I love the way Microsoft follows standards. In much the same manner that
fish follow migrating caribou.
--Paul Tomblin on alt.sysadmin.recovery
Reply With Quote
  #3 (permalink)  
Old 01-05-2005
Chris Cole
 
Posts: n/a
Default Re: "quota" command prints nothing

On Wed, 05 Jan 2005 09:18:30 +0000, Davide Bianchi wrote:

> On 2005-01-05, Gabriel Nivasch <fresita053-gg@yahoo.com> wrote:
>> What does that mean?

>
> That you don't have quota support on that machine. So you don't have
> a quota.
> Davide


No. It means that you're within your quota. Use quota -v to give details
of your quota restrictions.

Chris.
Reply With Quote
  #4 (permalink)  
Old 01-05-2005
Davide Bianchi
 
Posts: n/a
Default Re: "quota" command prints nothing

On 2005-01-05, Chris Cole <ithinkiam@gmail.com> wrote:
> No. It means that you're within your quota.


AFAIK even if you are within quota the 'quota' command will print the
quota information:

$ quota
Disk quotas for user X (uid Y):
Filesystem blocks quota limit grace files quota limit grace
/dev/hda5 244 10000 12000 5 1000 1200
/dev/hda6 4 10000 12000 1 1000 1200

The only case when 'quota' doesn't print anything is when quota isn't
supported or activated on the filesystem. Unless you have a weird quota tools.

Davide

--
Q: How many Internet Explorer programmers does it take to change a
lightbulb?
A: None. Their light bulbs are integrated in to the fixtures and can not
be changed.
Reply With Quote
  #5 (permalink)  
Old 01-05-2005
Gabriel Nivasch
 
Posts: n/a
Default Re: "quota" command prints nothing

"quota -v" also prints nothing. So it seems that Davide is right and I
have no quota.

Thanks,
Gabriel

Reply With Quote
  #6 (permalink)  
Old 01-05-2005
Chris Cole
 
Posts: n/a
Default Re: "quota" command prints nothing

On Wed, 05 Jan 2005 12:03:01 +0000, Davide Bianchi wrote:

> On 2005-01-05, Chris Cole <ithinkiam@gmail.com> wrote:
>> No. It means that you're within your quota.

>
> AFAIK even if you are within quota the 'quota' command will print the
> quota information:
>
> $ quota
> Disk quotas for user X (uid Y):
> Filesystem blocks quota limit grace files quota limit grace
> /dev/hda5 244 10000 12000 5 1000 1200
> /dev/hda6 4 10000 12000 1 1000 1200
>
> The only case when 'quota' doesn't print anything is when quota isn't
> supported or activated on the filesystem. Unless you have a weird quota tools.
>
> Davide


My mistake. It seems to work differently on Irix than linux.
Reply With Quote
  #7 (permalink)  
Old 01-05-2005
Davide Bianchi
 
Posts: n/a
Default Re: "quota" command prints nothing

On 2005-01-05, Chris Cole <ithinkiam@gmail.com> wrote:
> My mistake. It seems to work differently on Irix than linux.


That explain a few things...
Davide

--
It's no wonder they call it WinNT; WNT = VMS++;
-- Chris Abbey
Reply With Quote
  #8 (permalink)  
Old 01-06-2005
Robert Heller
 
Posts: n/a
Default Re: "quota" command prints nothing

"Gabriel Nivasch" <fresita053-gg@yahoo.com>,
In a message on 5 Jan 2005 06:48:11 -0800, wrote :

"N> "quota -v" also prints nothing. So it seems that Davide is right and I
"N> have no quota.

What does the 'mount' command (no arguments) display? For example:

holly.cs.umass.edu% mount|grep ext
/dev/sda1 on / type ext3 (rw)
/dev/sdb1 on /RH73 type ext3 (rw)
/dev/sdb3 on /RH73/usr type ext3 (rw)
/dev/sdb5 on /RH73/var type ext3 (rw)
/dev/sdb7 on /scratch1 type ext3 (rw)
/dev/sdb8 on /scratch2 type ext3 (rw)
/dev/sda3 on /usr type ext3 (rw)
/dev/sda2 on /var type ext3 (rw)
/dev/sdb6 on /home type ext3 (rw,usrquota,grpquota)
holly.cs.umass.edu% quota
Disk quotas for user heller (uid 5125):
Filesystem blocks quota limit grace files quota limit grace
/dev/sdb6 7596 20000 20500 353 0 0

Note that only /dev/sdb6 (/home) was mounted with the quota flags
(usrquota and grpquota). None of the other local file systems have
quotas setup.

"N>
"N> Thanks,
"N> Gabriel
"N>
"N>

\/
Robert Heller ||InterNet: heller@cs.umass.edu
http://vis-www.cs.umass.edu/~heller || heller@deepsoft.com
http://www.deepsoft.com /\FidoNet: 1:321/153







Reply With Quote
  #9 (permalink)  
Old 01-11-2005
Gabriel Nivasch
 
Posts: n/a
Default Re: "quota" command prints nothing

Robert Heller wrote:

> What does the 'mount' command (no arguments) display?


Here's what 'mount' prints to me:

$ mount
/dev/hda3 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)

Gabriel

Reply With Quote
  #10 (permalink)  
Old 01-16-2005
Jose Maria Lopez Hernandez
 
Posts: n/a
Default Re: "quota" command prints nothing

Gabriel Nivasch wrote:
> I want to check how much disk space I can use in my Linux account. But
> when I type "quota", nothing gets printed out.
>
> What does that mean? Does it mean I have no disk space limit?
> Thanks,
> Gabriel


I don't have quotas in my machine, and when I type "quota" it
says:
Disk quotas for user jkerouac (uid 500): none

That means I don't have any quota.


--

Jose Maria Lopez Hernandez
Director Tecnico de bgSEC
jkerouac@bgsec.com
bgSEC Seguridad y Consultoria de Sistemas Informaticos
http://www.bgsec.com
ESPAŅA

The only people for me are the mad ones -- the ones who are mad to live,
mad to talk, mad to be saved, desirous of everything at the same time,
the ones who never yawn or say a commonplace thing, but burn, burn, burn
like fabulous yellow Roman candles.
-- Jack Kerouac, "On the Road"
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:11 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0