Guy, I need learn english. I never obtain say what I want.
Hehe.. :P
Well, when I type "edquota <user>", a temporarily file is open
with quota
informations. The format of is file is:
<partition> <blocks> <soft> <hard> <inodes>
<soft> <hard>
So, when I have a user with quota on multiple partitions, I have to set
what partition I go modify.
How I do it?
---------------------------------------------------
Emerson Henrique Kfuri Pereira
Divis?o de Atendimento e Consultoria
CECOM - Reitoria - UFMG
Telefone: 34994009
---------------------------------------------------
"Yohann Ferreira" <bertram25@hotmail.com> wrote on 02/06/2004
11:49:35:
> Hi !
>
> First, and it's the most important, i'd really like to psen my
holidays
in> brazil
> Second,
> 1. install the package quotatool and quota.
>
> 2. make sure your kernel is supporting quotas :
> grep -i quota /boot/config-2.4.19-16mdk under mandrake9.2 for instance
>
> 3. in /etc/fstab :
> in a line where you have, for example :
>
> /dev/hda9 /var xfs defaults 0 0
> add : usrquota and/or grpquota in the <options> section. It gives :
> /dev/hda9 /var xfs defaults,usrquota,grpquota 0 0
>
> 4. On the base of your mount point, (here /dev/hda9),
> make this as root :
> touch quota.user
> touch quota.group
>
> 5. remount your partition :
> mount -o remount /dev/hda9
>
> 6. start the quotas :
> quotaon -a
>
> 7. edit your quotas with edquota :
> do a 'man edquota', it's a samba mailing list !
>
> 8. Make sure your samba is compiled with quotas support by making a :
> smbd -b | grep quota
> nmbd -b | grep quota
>
> Here you are !
>
> Bye
>
> Bertram
>
> >From: daves-jr@cecom.ufmg.br
> >To: samba@lists.samba.org
> >Subject: RE: [Samba] set quota command
> >Date: Wed, 2 Jun 2004 11:43:10 -0300
> >
> >Ok. And how I say to Unix what partition I managing?
> >Supose I have many partitions with usrquota and grpquota.
> >
> >??
> >
> >---------------------------------------------------
> >Emerson Henrique Kfuri Pereira
> >
> >Divis?o de Atendimento e Consultoria
> >CECOM - Reitoria - UFMG
> >Telefone: 34994009
> >---------------------------------------------------
> >
> >"Yohann Ferreira" <bertram25@hotmail.com> wrote on
02/06/2004 11:24:35:
> >
> > > The set quotas command runs a script that calls quota tools on
> >Unix/Linux
> >
> > > you're under. Under Linux, the quotas only applies on a
entire mount,
> >and
> >
> > > then on a entire partition.
> > >
> > > It's up to you to manage your partitions in order to have
separate
one> >with
> > > different quotas ...
> > >
> > > Bye
> > >
> > > Bertram
> > >
> > >
> > > >From: daves-jr@cecom.ufmg.br
> > > >To: samba@lists.samba.org
> > > >Subject: [Samba] set quota command
> > > >Date: Wed, 2 Jun 2004 11:26:22 -0300
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >Hi guys,
> > > >
> > > >How I say to the "set quota command" what quota
directory I wanna
set?> > > >
> > > >---------------------------------------------------
> > > >Emerson Henrique Kfuri Pereira
> > > >
> > > >Divis?o de Atendimento e Consultoria
> > > >CECOM - Reitoria - UFMG
> > > >Telefone: 34994009
> > > >-----------------------------------------------------
> > > >To unsubscribe from this list go to the following URL and
read the
> > > >instructions: http://lists.samba.org/mailman/listinfo/samba
> > >
> > > _________________________________________________________________
> > > Dialoguez en direct et gratuitement avec vos amis sur
> > > http://g.msn.fr/FR1001/866 MSN Messenger !
> > >--
> >To unsubscribe from this list go to the following URL and read the
> >instructions: http://lists.samba.org/mailman/listinfo/samba
>
> _________________________________________________________________
> Trouvez l'?me soeur sur MSN Rencontres http://g.msn.fr/FR1000/9551
>