This is a multi-part message in MIME format.
Le 09/12/2021 à 07:45, Pierre Malard a écrit :
Bonjour,
Je suppose que tu as installé les paquets nécessaires ou qu’ils ont
bien été mis à jour avec un noyau gérant les quota ?
Sinon vérifie bien ce qui est indiqué ici : https://wiki.debian.org/fr/Quota
Le message d’erreur semble indiquer que tu as oublié d’indiquer la gestion des quotas lors du « mount » de ton FS
* Montage du système de fichier :
mkdir /media/mount.ext3
mount -o loop,usrquota,grpquota,acl /root/file.ext3 /media/mount.ext3
--
Pierre Malard
«/La liberté de la presse ne s'use que lorsqu'on ne s'en sert pas ! /» Slogan du "Canard
enchaîné"
|\ _,,,---,,_
/,`.-'`' -. ;-;;,_
|,4- ) )-,_. ,\ ( `'-'
'---''(_/--' `-'\_) πr
perl -e '$_=q#: 3|\ 5_,3-3,2_: 3/,`.'"'"'`'"'"' 5-. ;-;;,_: |,A- ) )-,_. ,\ ( `'"'"'-'"'"': '"'"'-3'"'"'2(_/--'"'"' `-'"'"'\_): 24πr::#;y#:#\n#;s#(\D)(\d+)#$1x$2#ge;print'
- --> Ce message n’engage que son auteur <--
Merci pour vos suggestion.
en fait les quotas fonctionnent parfaitement, même l'espace disque est correctement indiqué par Samba sur les lecteurs montés côté windows.
Sauf que je n'ai ni aquota.user, ni quota.user. Et que le quotacheck ne fonctionne plus.
J'ai finalement trouvé la réponse à ma question dans le manuel de la libriarie quotactl(2)
Quota information can be also stored in hidden system
inodes for ext4, XFS, and other filesystems if the
filesystem is configured so. In this case, there are no
visible quota files and there is no need to use
quotacheck(8) <
https://man7.org/linux/man-pages/man8/quotacheck.8.html>. Quota information is always kept
consistent by the filesystem and the*Q_QUOTAON *operation
serves only to enable enforcement of quota limits. The
presence of hidden system inodes with quota information is
indicated by the*DQF_SYS_FILE *flag in the/dqi_flags/ field
returned by the*Q_GETINFO *operation.
Donc au final tout va bien. Je n'ai pas la prétention de creuser plus, cela me suffit comme indication :)
RaphR
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<br>
<div class="moz-cite-prefix">Le 09/12/2021 à 07:45, Pierre Malard a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:
E37AB4BE-0A66-4C9F-A1D1-6259D8900263@teledetection.fr">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Bonjour,
<div class=""><br class="">
</div>
<div class="">Je suppose que tu as installé les paquets
nécessaires ou qu’ils ont bien été mis à jour avec un noyau
gérant les quota ?</div>
<div class="">Sinon vérifie bien ce qui est indiqué ici :</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"> </span><a
href="
https://wiki.debian.org/fr/Quota"
class="moz-txt-link-freetext" moz-do-not-send="true">
https://wiki.debian.org/fr/Quota</a></div>
<div class="">
<div class=""><br class="">
</div>
<div class=""><font class="" color="#000000">Le message d’erreur
semble indiquer que tu as oublié d’indiquer la gestion des
quotas lors du « mount » de ton FS</font></div>
<div class="">
<ul style="margin: 1.5em 0px; padding: 0px 0px 0px 1.5em;
border: 0px; outline: 0px; font-size: 16px; font-family:
sans-serif; vertical-align: baseline; list-style-position:
initial; list-style-image: initial; caret-color: rgb(34, 34,
34); color: rgb(34, 34, 34);" class="">
<li style="margin: 0px; padding: 0px; border: 0px; outline:
0px; font-style: inherit; font-family: inherit;
vertical-align: baseline;" class="">Montage du système de
fichier : <span class="anchor" id="line-100"
style="margin: 0px; padding: 0px; border: 0px; outline:
0px; font-style: inherit; font-family: inherit;
vertical-align: baseline;"></span></li>
</ul>
<div style="margin: 1.5em 0px; padding: 0px; border: 0px;
outline: 0px; font-size: 16px; font-family: sans-serif;
vertical-align: baseline; caret-color: rgb(34, 34, 34);
color: rgb(34, 34, 34);" class=""><span class="anchor"
id="line-101" style="margin: 0px; padding: 0px; border:
0px; outline: 0px; font-style: inherit; font-family:
inherit; vertical-align: baseline;"></span><span
class="anchor" id="line-102" style="margin: 0px; padding:
0px; border: 0px; outline: 0px; font-style: inherit;
font-family: inherit; vertical-align: baseline;"></span><span
class="anchor" id="line-103" style="margin: 0px; padding:
0px; border: 0px; outline: 0px; font-style: inherit;
font-family: inherit; vertical-align: baseline;"></span><br
class="webkit-block-placeholder">
</div>
<pre style="border: 1px solid rgb(210, 211, 215); background-color: rgb(245, 246, 247); padding: 1em; word-wrap: break-word; margin: 2em 1.5em; outline: 0px; vertical-align: baseline; overflow: auto; color: black; line-height: 2em;" class=""><
span class="anchor" id="line-1-3" style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: inherit; vertical-align: baseline;"></span> mkdir /media/mount.ext3
<span class="anchor" id="line-2-3" style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: inherit; vertical-align: baseline;"></span> mount -o loop,usrquota,grpquota,acl /root/file.ext3 /media/mount.ext3</pre>
<div class=""><br class="">
</div>
</div>
<div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color:
rgb(0, 0, 0); letter-spacing: normal; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
text-decoration: none; word-wrap: break-word;
-webkit-nbsp-mode: space; line-break: after-white-space;"
class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; word-spacing: 0px;
-webkit-text-stroke-width: 0px; word-wrap: break-word;
-webkit-nbsp-mode: space; line-break: after-white-space;"
class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal;
text-align: start; text-indent: 0px; text-transform:
none; white-space: normal; word-spacing: 0px;
-webkit-text-stroke-width: 0px; word-wrap: break-word;
-webkit-nbsp-mode: space; line-break:
after-white-space;" class="">
<div style="margin: 0px; font-size: 10px; font-family:
"Courier New";" class="">-- </div>
<div style="margin: 0px; font-size: 10px; font-family:
"Courier New";" class="">
<div style="margin: 0px;" class="">Pierre Malard</div>
<div style="margin: 0px;" class=""><br class="">
</div>
</div>
<div style="margin: 0px; font-family: Times;" class="">
«<span class="Apple-converted-space"> </span><i
class="">La liberté de la presse ne s'use que
lorsqu'on ne s'en sert pas ! </i>»</div>
<div style="margin: 0px; font-family: Times;" class="">
Slogan
du "Canard enchaîné"</div>
<div style="margin: 0px; font-size: 10px; font-family:
"Courier New";" class=""> |\
_,,,---,,_</div>
<div style="margin: 0px; font-size: 10px; font-family:
"Courier New";" class=""> /,`.-'`'
-. ;-;;,_</div>
<div style="margin: 0px; font-size: 10px; font-family:
"Courier New";" class=""> |,4- ) )-,_. ,\
( `'-'</div>
<div style="margin: 0px; font-size: 10px; font-family:
"Courier New";" class=""> '---''(_/--' `-'\_)
πr</div>
<div style="margin: 0px; font-size: 10px; font-family:
Courier; min-height: 12px;" class=""><br class="">
</div>
<div style="margin: 0px; font-size: 10px; font-family:
"Courier New";" class="">perl -e '$_=q#: 3|\
5_,3-3,2_: 3/,`.'"'"'`'"'"' 5-. ;-;;,_: |,A- )
)-,_. ,\ ( `'"'"'-'"'"': '"'"'-3'"'"'2(_/--'"'"'
`-'"'"'\_):
24πr::#;y#:#\n#;s#(\D)(\d+)#$1x$2#ge;print'</div>
<div style="margin: 0px; font-size: 10px; font-family:
"Courier New";" class="">- --> Ce message
n’engage que son auteur <--</div>
</div>
</div>
</div>
</div>
<br class="">
</div>
</blockquote>
<p><font face="monospace">Merci pour vos suggestion.</font></p>
<font face="monospace">
</font>
<p><font face="monospace">en fait les quotas fonctionnent
parfaitement, même l'espace disque est correctement indiqué par
Samba sur les lecteurs montés côté windows.</font></p>
<font face="monospace">
</font>
<p><font face="monospace">Sauf que je n'ai ni aquota.user, ni
quota.user. Et que le quotacheck ne fonctionne plus.<br>
</font>
</p>
<font face="monospace">
</font>
<p><font face="monospace">J'ai finalement trouvé la réponse à ma
question dans le manuel de la libriarie quotactl(2)</font></p>
<font face="monospace">
</font>
<pre> Quota information can be also stored in hidden system
inodes for ext4, XFS, and other filesystems if the
filesystem is configured so. In this case, there are no
visible quota files and there is no need to use
<a href="
https://man7.org/linux/man-pages/man8/quotacheck.8.html">quotacheck(8)</a>. Quota information is always kept
consistent by the filesystem and the <b>Q_QUOTAON </b>operation
serves only to enable enforcement of quota limits. The
presence of hidden system inodes with quota information is
indicated by the <b>DQF_SYS_FILE </b>flag in the <i>dqi_flags</i> field
returned by the <b>Q_GETINFO </b>operation.
Donc au final tout va bien. Je n'ai pas la prétention de creuser plus, cela me suffit comme indication :)
<font face="monospace">
RaphR</font>
</pre>
</body>
</html>
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)