0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

systemd-nspawnAdvent Calendar 2017

Day 18

systemd-nspawnのset-limitでquota設定

Posted at

systemd-nspawn Advent Calendar 2017 18日目の記事です。

systemd-nspawnでbtrs上にコンテナを置いている場合はクォータを使うことができます。

machinectl set-limit ubuntu1 2G

こんな感じで制限します。

# サブボリューム確認
btrfs subvolume list -p /var/lib/machines 

# 使用状況確認
btrfs qgroup show --si /var/lib/machines
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?