From: Vasyuk Maksim <vaksim@gmail.com> To: ALT Linux sysadmins' discussion <sysadmins@lists.altlinux.org> Subject: [Sysadmins] OpenVZ и quota на проброшенном разделе Date: Thu, 14 Apr 2016 16:50:17 +0600 Message-ID: <570F75E9.2010904@gmail.com> (raw) Привет, Всем! Решил сделать пользователям личные папочки сетевые. Выделил через LVM раздел, пробросил его в в контейнер: mount /dev/vg00/smb02-tmp01 $VE_ROOT/mnt/tmp/ Добавил в конфиг контейнера: QUOTAUGIDLIMIT="100" В контейнере видим # mount | grep tmp01 /dev/mapper/vg00-smb02--tmp01 on /mnt/tmp type ext4 (rw,relatime,barrier=1,data=ordered,usrquota,grpquota) Расшарил через самбу, все работает, кроме квот. # quotaon /mnt/tmp quotaon: Cannot stat() mounted device /dev/mapper/vg00-smb02--tmp01: Нет такого файла или каталога quotaon: Mountpoint (or device) /mnt/tmp not found or has no quota enabled. Делаю: # edquota -u root Выдает: Disk quotas for user root (uid 0): Filesystem blocks soft hard inodes soft hard /dev/simfs 819004 0 0 19747 0 0 Причем в корне автоматом появились файликики: # ls -l / | grep quota lrwxrwxrwx 1 root root 39 апр 14 16:27 aquota.group -> /proc/vz/vzaquota/00000057/aquota.group lrwxrwxrwx 1 root root 38 апр 14 16:27 aquota.user -> /proc/vz/vzaquota/00000057/aquota.user А вот в /mnt/tmp таких файликов не появилось. Руками создавал, толку нет. Подскажите в каком месте рыть? -- Vasuk Maksim
next reply other threads:[~2016-04-14 10:50 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2016-04-14 10:50 Vasyuk Maksim [this message] 2016-04-14 15:03 ` Sergey 2016-04-19 5:23 ` Vasyuk Maksim 2016-04-20 10:30 ` Vasyuk Maksim
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=570F75E9.2010904@gmail.com \ --to=vaksim@gmail.com \ --cc=sysadmins@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux sysadmins discussion This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \ sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com public-inbox-index sysadmins Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sysadmins AGPL code for this site: git clone https://public-inbox.org/public-inbox.git