Project

General

Profile

action #59933

Prevent depletion of space on / with extra partition or quota on /home and/or /tmp (both o3 and osd)

Added by okurz over 1 year ago. Updated 5 months ago.

Status:
New
Priority:
Low
Assignee:
-
Target version:
Start date:
2019-11-18
Due date:
% Done:

0%

Estimated time:

Description

Observation

Happened again that we receive a monitoring alert for / being full (but recovered soon after) after a user logged in, did some actions involing bigger space needs and realized the problem.

Problem

This can cause disruption of services. The root volume is only 10GB for both osd and o3 which is ok for VMs but users do not realize that /home and /tmp is therefore not able to hold big data.

Suggestions

Enable user quotas (using aquota) or mount another partition for /home and/or /tmp , e.g. maybe simply a qcow file?


Related issues

Related to openQA Infrastructure - action #70939: [alert] ** PROBLEM Service Alert: ariel-opensuse.suse.de/root partition is WARNING **Resolved2020-09-04

History

#1 Updated by nicksinger over 1 year ago

I now created a (raw) disk on OSD located at /srv/homes.img (5G in size) and added an according fstab entry for it. I did go with a raw file since it is easier compared to a qcow2 to mount it via fstab. This should for now at least ease our problems with users writing too big files into their homes.

#2 Updated by okurz 9 months ago

  • Priority changed from Normal to Low

#3 Updated by okurz 7 months ago

  • Related to action #70939: [alert] ** PROBLEM Service Alert: ariel-opensuse.suse.de/root partition is WARNING ** added

#4 Updated by mkittler 7 months ago

On o3 we still have 3 TiB disk space where we could place the home directories on: /dev/vdb1 5,0T 2,1T 3,0T 42% /space

So I guess we could easily move /home to that partition and bind-mount that directory as /home.

#5 Updated by okurz 7 months ago

I suggest we follow #59933#note-1 with the same approach. This way we can limit the space that is used by /home

#6 Updated by okurz 6 months ago

  • Target version set to Ready

#7 Updated by okurz 5 months ago

  • Target version changed from Ready to future

Also available in: Atom PDF