* [sisyphus] квоты в xfs
@ 2003-01-15 5:07 Alexey V. Lubimov
2003-01-15 5:16 ` Maxim.Savrilov
0 siblings, 1 reply; 11+ messages in thread
From: Alexey V. Lubimov @ 2003-01-15 5:07 UTC (permalink / raw)
To: sisyphus
Кто нибудь в курсе про состояние квот в сизифе?
Квоты при работе с xfs сейчас в сизифе рабочие?
--
С уважением, Алексей Любимов
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [sisyphus] квоты в xfs
2003-01-15 5:07 [sisyphus] квоты в xfs Alexey V. Lubimov
@ 2003-01-15 5:16 ` Maxim.Savrilov
2003-01-15 6:07 ` Alexey V. Lubimov
0 siblings, 1 reply; 11+ messages in thread
From: Maxim.Savrilov @ 2003-01-15 5:16 UTC (permalink / raw)
To: sisyphus
On Wed, 15 Jan 2003 08:07:03 +0300
"Alexey V. Lubimov" <avl@l14.ru> wrote:
> Кто нибудь в курсе про состояние квот в сизифе?
> Квоты при работе с xfs сейчас в сизифе рабочие?
так они и в мастере рабочие
А что, в сизифе все так резко поменялось?
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [sisyphus] квоты в xfs
2003-01-15 5:16 ` Maxim.Savrilov
@ 2003-01-15 6:07 ` Alexey V. Lubimov
2003-01-15 7:29 ` Maxim.Savrilov
2003-01-15 23:25 ` Re[2]: [sisyphus] Ë×ÏÔÙ × xfs Alexey Borovskoy
0 siblings, 2 replies; 11+ messages in thread
From: Alexey V. Lubimov @ 2003-01-15 6:07 UTC (permalink / raw)
To: sisyphus
On Wed, 15 Jan 2003 11:16:00 +0600
Maxim.Savrilov@socenter.ru wrote:
> On Wed, 15 Jan 2003 08:07:03 +0300
> "Alexey V. Lubimov" <avl@l14.ru> wrote:
>
> > Кто нибудь в курсе про состояние квот в сизифе?
> > Квоты при работе с xfs сейчас в сизифе рабочие?
>
> так они и в мастере рабочие
> А что, в сизифе все так резко поменялось?
у меня в мастере на xfs они молча не работают.
то есть в /etc/fstab ставлю
/dev/md0 /home xfs noexec,defaults,rw,usrquota,grpquota 1 1
[root@server root]# quota vasia
Disk quotas for user vasia (uid 522):
Filesystem blocks quota limit grace files quota limit grace
/dev/md0 1918740 2000000 2500000 3806 10000 10000
и создаю отпользователя вася файл еще на 3G и хоть бы хны.
смотрю через самбу свойства шары - тоже показывает размер всего диска.
[root@server root]# quotacheck /home
quotacheck: Can't find filesystem to check or filesystem not mounted with quota option.
[root@server root]# quotaon /home
quotaon: Enforcing group quota already on /dev/md0
quotaon: Enforcing user quota already on /dev/md0
[root@server root]# quotacheck /home
quotacheck: Can't find filesystem to check or filesystem not mounted with quota option.
[root@server root]# quotastats /home
quotastats: Error while getting old quota statistics from kernel: Bad address
то есть ни черта не работает...
Вот и хотел узнать, как оно в сизифе?
--
С уважением, Алексей Любимов avl@cad.ru
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [sisyphus] квоты в xfs
2003-01-15 6:07 ` Alexey V. Lubimov
@ 2003-01-15 7:29 ` Maxim.Savrilov
2003-01-15 7:42 ` Alexey V. Lubimov
2003-01-15 23:25 ` Re[2]: [sisyphus] Ë×ÏÔÙ × xfs Alexey Borovskoy
1 sibling, 1 reply; 11+ messages in thread
From: Maxim.Savrilov @ 2003-01-15 7:29 UTC (permalink / raw)
To: sisyphus
On Wed, 15 Jan 2003 09:07:42 +0300
"Alexey V. Lubimov" <avl@l14.ru> wrote:
> у меня в мастере на xfs они молча не работают.
>
> то есть в /etc/fstab ставлю
>
> /dev/md0 /home xfs noexec,defaults,rw,usrquota,grpquota 1 1
>
[skip]
>
> то есть ни черта не работает...
> Вот и хотел узнать, как оно в сизифе?
>
/usr/share/doc/xfsprogs-2.0.1/README.quota
у меня все работало
сделал и забыл, а потом испугался, когда /home мне отлуп дал
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re[2]: [sisyphus] Ë×ÏÔÙ × xfs
2003-01-15 6:07 ` Alexey V. Lubimov
2003-01-15 7:29 ` Maxim.Savrilov
@ 2003-01-15 23:25 ` Alexey Borovskoy
2003-01-16 0:22 ` Re[2]: [sisyphus] квоты в xfs "Алексей Любимов"
1 sibling, 1 reply; 11+ messages in thread
From: Alexey Borovskoy @ 2003-01-15 23:25 UTC (permalink / raw)
To: Alexey V. Lubimov
Добрый день.
AVL> On Wed, 15 Jan 2003 11:16:00 +0600
AVL> Maxim.Savrilov@socenter.ru wrote:
AVL> у меня в мастере на xfs они молча не работают.
Вчера проверил, работает. На некорневой FS точно работает.
На ядре 2.4.18 работало и на корневой. Сайчас я сижу на
2.4.19, на / квоты не включаются.
AVL> то есть в /etc/fstab ставлю
AVL> /dev/md0 /home xfs noexec,defaults,rw,usrquota,grpquota 1 1
У меня вместо usrquota,grpquota прописано просто quota.
AVL> [root@server root]# quota vasia
AVL> Disk quotas for user vasia (uid 522):
AVL> Filesystem blocks quota limit grace files quota limit grace
AVL> /dev/md0 1918740 2000000 2500000 3806 10000 10000
Гм. А квоты активированы? quotaon -a делали? Что говорит
repquota -v?
AVL> и создаю отпользователя вася файл еще на 3G и хоть бы хны.
Гм странно. У меня как только юзер достигает hardlimit, ему
дается отлуп.
AVL> смотрю через самбу свойства шары - тоже показывает размер всего диска.
Через самбу не смотрел. Хотя надо.
AVL> [root@server root]# quotacheck /home
AVL> quotacheck: Can't find filesystem to check or filesystem not mounted with quota option.
Под XFS quotacheck не работает. Об этом сказано в
readme.quota (точно не помню как он там называется) из
пакета xfsprogs. Я брал последнюю версию из Сизифа. Пакет
захотел ядро 2.4.20, так что я просто просмотрел доки.
AVL> quotastats: Error while getting old quota statistics from kernel: Bad address
А это что такое? Я эту штуку запускаю, она говорит что ей
чего-то не хватает в ядре и все. Манов нет, доки нет.
Ладно, пойду похожу по свежемясу и sf.net.
----
SY,
Алексей.
JID: alb@jabber.ru
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Re[2]: [sisyphus] квоты в xfs
2003-01-15 23:25 ` Re[2]: [sisyphus] Ë×ÏÔÙ × xfs Alexey Borovskoy
@ 2003-01-16 0:22 ` "Алексей Любимов"
2003-01-16 6:51 ` Re[4]: [sisyphus] Ë×ÏÔÙ × xfs Alexey Borovskoy
0 siblings, 1 reply; 11+ messages in thread
From: "Алексей Любимов" @ 2003-01-16 0:22 UTC (permalink / raw)
To: sisyphus
On Thu, 16 Jan 2003 11:25:05 +1200
Alexey Borovskoy <alexey_borovskoy@pochtamt.ru> wrote:
> Добрый день.
>
> AVL> On Wed, 15 Jan 2003 11:16:00 +0600
> AVL> Maxim.Savrilov@socenter.ru wrote:
>
> AVL> у меня в мастере на xfs они молча не работают.
>
> Вчера проверил, работает. На некорневой FS точно работает.
> На ядре 2.4.18 работало и на корневой. Сайчас я сижу на
> 2.4.19, на / квоты не включаются.
Написано, что на корневой fs квоты включаются только после перезагрузки. Впрочем мне это пока не надо.
> AVL> [root@server root]# quota vasia
> AVL> Disk quotas for user vasia (uid 522):
> AVL> Filesystem blocks quota limit grace files quota limit grace
> AVL> /dev/md0 1918740 2000000 2500000 3806 10000 10000
>
> Гм. А квоты активированы? quotaon -a делали? Что говорит
> repquota -v?
показывает превышение и считает дни. Наверное нельзяуказывать в soft и hard лимите одно значение...
> Гм странно. У меня как только юзер достигает hardlimit, ему
> дается отлуп.
прямо во время создания файла при превышении размера?
> AVL> quotastats: Error while getting old quota statistics from kernel: Bad address
>
> А это что такое? Я эту штуку запускаю, она говорит что ей
> чего-то не хватает в ядре и все. Манов нет, доки нет.
> Ладно, пойду похожу по свежемясу и sf.net.
да вроде должна статистику показывать...
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re[4]: [sisyphus] Ë×ÏÔÙ × xfs
2003-01-16 0:22 ` Re[2]: [sisyphus] квоты в xfs "Алексей Любимов"
@ 2003-01-16 6:51 ` Alexey Borovskoy
2003-01-16 9:48 ` Re[4]: [sisyphus] квоты в xfs Alexey V. Lubimov
0 siblings, 1 reply; 11+ messages in thread
From: Alexey Borovskoy @ 2003-01-16 6:51 UTC (permalink / raw)
To: "áÌÅËÓÅÊ
ìÀÂÉÍÏ×"
Добрый вечер.
>> AVL> у меня в мастере на xfs они молча не работают.
>>
>> Вчера проверил, работает. На некорневой FS точно работает.
>> На ядре 2.4.18 работало и на корневой. Сайчас я сижу на
>> 2.4.19, на / квоты не включаются.
АЛ> Написано, что на корневой fs квоты включаются только после
АЛ> перезагрузки. Впрочем мне это пока не надо.
Знаю. Перезагружался. Почему поломалось не знаю пока.
Может сегодня вечером поковыряюсь.
>> AVL> [root@server root]# quota vasia
>> AVL> Disk quotas for user vasia (uid 522):
>> AVL> Filesystem blocks quota limit grace files quota limit grace
>> AVL> /dev/md0 1918740 2000000 2500000 3806 10000 10000
>>
>> Гм. А квоты активированы? quotaon -a делали? Что говорит
>> repquota -v?
АЛ> показывает превышение и считает дни. Наверное нельзяуказывать в soft и hard
АЛ> лимите одно значение...
можно. у меня работало при одинаковых значениях.
>> Гм странно. У меня как только юзер достигает hardlimit, ему
>> дается отлуп.
АЛ> прямо во время создания файла при превышении размера?
Как только размер файла превышает hardlimit, ядро больше
блоков не выделяет. Я делал так
dd if=/dev/zero of=file.txt count=число_больше_чем_хардлимит,
он пишет-пишет-пишет, а потом бац, говорит что не могу
больше ничего записать. Но сколько он успел записать, из
файла не исчезает.
----
SY,
Алексей.
JID: alb@jabber.ru
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Re[4]: [sisyphus] квоты в xfs
2003-01-16 6:51 ` Re[4]: [sisyphus] Ë×ÏÔÙ × xfs Alexey Borovskoy
@ 2003-01-16 9:48 ` Alexey V. Lubimov
2003-01-16 23:47 ` Re[6]: [sisyphus] Ë×ÏÔÙ × xfs Alexey Borovskoy
0 siblings, 1 reply; 11+ messages in thread
From: Alexey V. Lubimov @ 2003-01-16 9:48 UTC (permalink / raw)
To: sisyphus
> АЛ> показывает превышение и считает дни. Наверное нельзяуказывать в soft и hard
> АЛ> лимите одно значение...
>
> можно. у меня работало при одинаковых значениях.
>
> >> Гм странно. У меня как только юзер достигает hardlimit, ему
> >> дается отлуп.
> АЛ> прямо во время создания файла при превышении размера?
>
> Как только размер файла превышает hardlimit, ядро больше
> блоков не выделяет. Я делал так
> dd if=/dev/zero of=file.txt count=число_больше_чем_хардлимит,
> он пишет-пишет-пишет, а потом бац, говорит что не могу
> больше ничего записать. Но сколько он успел записать, из
> файла не исчезает.
а вот у меня как раз такого не наблюдается...
пишет и пишет.
а потом по repquota -v наблюдаю превышение и бодрые заявления, что мол через неделю отключим.
--
С уважением, Алексей Любимов avl@cad.ru
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re[6]: [sisyphus] Ë×ÏÔÙ × xfs
2003-01-16 9:48 ` Re[4]: [sisyphus] квоты в xfs Alexey V. Lubimov
@ 2003-01-16 23:47 ` Alexey Borovskoy
2003-01-17 8:43 ` Re[6]: [sisyphus] квоты в xfs Alexey V. Lubimov
0 siblings, 1 reply; 11+ messages in thread
From: Alexey Borovskoy @ 2003-01-16 23:47 UTC (permalink / raw)
To: Alexey V. Lubimov
Добрый день.
>> АЛ> показывает превышение и считает дни. Наверное нельзяуказывать в soft и hard
>> АЛ> лимите одно значение...
>>
>> можно. у меня работало при одинаковых значениях.
>>
>> >> Гм странно. У меня как только юзер достигает hardlimit, ему
>> >> дается отлуп.
>> АЛ> прямо во время создания файла при превышении размера?
>>
>> Как только размер файла превышает hardlimit, ядро больше
>> блоков не выделяет. Я делал так
>> dd if=/dev/zero of=file.txt count=число_больше_чем_хардлимит,
>> он пишет-пишет-пишет, а потом бац, говорит что не могу
>> больше ничего записать. Но сколько он успел записать, из
>> файла не исчезает.
AVL> а вот у меня как раз такого не наблюдается...
AVL> пишет и пишет.
AVL> а потом по repquota -v наблюдаю превышение и бодрые заявления, что мол через неделю отключим.
Вчера читал man quotaon.
Оказывается, есть quota accounting и quota enforcement. При
аккаунтинге он просто считает, а при энфорсменте -
ограничивает. Состояние можно получить по
repquota -v точка_монтирования, оно там в самом низу
указывается.
В мане написано, что enforcement можно выключить с помощью
quotaoff -x enforce. Но там не сказано как их вернуть
обратно.
Вчера получилось вернуть квоты на корень. Что самое
интересное, quotaon -a не сработала. Квоты включились только
после quotaon -vug /. Я к этому добавил еще sync и reboot.
При перезагрузке, включились user quota и group quota.
Вместе с accounting и enforcement.
----
SY,
Алексей.
JID: alb@jabber.ru
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Re[6]: [sisyphus] квоты в xfs
2003-01-16 23:47 ` Re[6]: [sisyphus] Ë×ÏÔÙ × xfs Alexey Borovskoy
@ 2003-01-17 8:43 ` Alexey V. Lubimov
0 siblings, 0 replies; 11+ messages in thread
From: Alexey V. Lubimov @ 2003-01-17 8:43 UTC (permalink / raw)
To: sisyphus
> Вчера читал man quotaon.
>
> Оказывается, есть quota accounting и quota enforcement. При
> аккаунтинге он просто считает, а при энфорсменте -
> ограничивает. Состояние можно получить по
> repquota -v точка_монтирования, оно там в самом низу
> указывается.
>
> В мане написано, что enforcement можно выключить с помощью
> quotaoff -x enforce. Но там не сказано как их вернуть
> обратно.
>
> Вчера получилось вернуть квоты на корень. Что самое
> интересное, quotaon -a не сработала. Квоты включились только
> после quotaon -vug /. Я к этому добавил еще sync и reboot.
> При перезагрузке, включились user quota и group quota.
> Вместе с accounting и enforcement.
Похоже, я просто как то неправильно проверял.
действительно все работает.
единственное, что при квоте в 2G имеем:
[avl@avl avl]$ df
Файловая система Размер Испол Дост Исп%Подключено к
...
//RUISERV/avl 68G 32G 36G 47% /home/avl/mnt/RUISERV/avl
Хотя, специально проверил, если под виндовс смонтировать ресурс как диск и посмотреть его свойства - размер и остаток показывает с учетом квот.
--
С уважением, Алексей Любимов avl@cad.ru
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2003-01-17 8:43 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-15 5:07 [sisyphus] квоты в xfs Alexey V. Lubimov
2003-01-15 5:16 ` Maxim.Savrilov
2003-01-15 6:07 ` Alexey V. Lubimov
2003-01-15 7:29 ` Maxim.Savrilov
2003-01-15 7:42 ` Alexey V. Lubimov
2003-01-15 23:25 ` Re[2]: [sisyphus] Ë×ÏÔÙ × xfs Alexey Borovskoy
2003-01-16 0:22 ` Re[2]: [sisyphus] квоты в xfs "Алексей Любимов"
2003-01-16 6:51 ` Re[4]: [sisyphus] Ë×ÏÔÙ × xfs Alexey Borovskoy
2003-01-16 9:48 ` Re[4]: [sisyphus] квоты в xfs Alexey V. Lubimov
2003-01-16 23:47 ` Re[6]: [sisyphus] Ë×ÏÔÙ × xfs Alexey Borovskoy
2003-01-17 8:43 ` Re[6]: [sisyphus] квоты в xfs Alexey V. Lubimov
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git