大网数据广告活动
服务器运维问答

It it possible to implement per-user quotas on Amazon EFS?

· 52CE 我爱测

I'm would like to have a filesystem for network-mounted home directories that can scale easily (per user) at a low cost. EFS seems well-suited to this (especially with Infrequent Access enabled). However, I cannot see a way to se…

问题原文

原帖链接 · Ben Davis · CC BY-SA 4.0

I'm would like to have a filesystem for network-mounted home directories that can scale easily (per user) at a low cost. EFS seems well-suited to this (especially with Infrequent Access enabled). However, I cannot see a way to set quotas on a per-user basis.

I know typically quotas are set in kernel-space for physical volumes, but I don't think it's possible for NFS volumes (the quotas have to be set on the NFS server, which is the EFS service).

Are there any other things I might explore to restrict how much space users can store in their EFS-mounted homedirs? Or should I be looking to another service?

已采纳解答

原帖链接 · kofemann · CC BY-SA 4.0

In general, NFSv4.x protocol supports quotas. However, according to EFS documentation, quotas are not supported in Amazon's implementation. If you need to run it in amazon cloud, then one option will be to create an EBS volume, attache it to a small instance and export it with nfs. If you format volumes with zfs or btrfs, then you can add new volumes if required, as single EBS volume is limited with 16TB. You will miss the whole amazon management interface, of course.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2019-11-19)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。