# Baobab: scratch: Disk quota exceeded

**URL:** <http://hpc-community.unige.ch/t/baobab-scratch-disk-quota-exceeded/3446>\
**Category:** Uncategorized\
**Created:** [May 13, 2024, 3:50pm UTC](http://hpc-community.unige.ch/t/baobab-scratch-disk-quota-exceeded/3446 "2024-05-13T15:50:05Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Malte.Algren](http://hpc-community.unige.ch/letter_avatar_proxy/v4/letter/m/df705f/32.png) [@Malte.Algren](http://hpc-community.unige.ch/u/Malte.Algren)\
**Post date:** [May 13, 2024, 3:50pm UTC](http://hpc-community.unige.ch/t/baobab-scratch-disk-quota-exceeded/3446/1 "2024-05-13T15:50:05Z")

</div>

Hi,

When working on scratch, I am getting “Disk quota exceeded” just by simply moving files around. It doesn’t look like I have exceeded the limit of 10.000.000 chunks.

Hope you can help.

Cheers,  
Malte

 ![image](http://hpc-community.unige.ch/uploads/default/original/1X/affd8493aeed712bca376218b84bdc91b2046d09.png)

---

<div class="post-metadata">

**Author:** ![Malte.Algren](http://hpc-community.unige.ch/letter_avatar_proxy/v4/letter/m/df705f/32.png) [@Malte.Algren](http://hpc-community.unige.ch/u/Malte.Algren)\
**Post date:** [May 13, 2024, 4:20pm UTC](http://hpc-community.unige.ch/t/baobab-scratch-disk-quota-exceeded/3446/2 "2024-05-13T16:20:40Z")

</div>

Works again now

Cheers,  
Malte

---

<div class="post-metadata">

**Author:** ![Paul.Coppin](http://hpc-community.unige.ch/letter_avatar_proxy/v4/letter/p/977dab/32.png) [@Paul.Coppin](http://hpc-community.unige.ch/u/Paul.Coppin)\
**Post date:** [May 13, 2024, 9:10pm UTC](http://hpc-community.unige.ch/t/baobab-scratch-disk-quota-exceeded/3446/3 "2024-05-13T21:10:39Z")

</div>

I am getting the same error 😕  
scratch seems to be 99% filled. Could this be the reason?

```auto
(baobab)-[coppinp@login2 scratch]$ df -hT
beegfs_scratch beegfs 1.5P 1.5P 20T 99% /srv/beegfs/scratch

```

**Update** , it seems that it was indeed because scratch filled up.  
I created some space, and am currently moving some ~20TB of communal data used by our entire research group (DAMPE) to another storage. Hopefully this should help.

---

<div class="post-metadata">

**Author:** ![Debajyoti.Sengupta](http://hpc-community.unige.ch/letter_avatar_proxy/v4/letter/d/2acd7d/32.png) [@Debajyoti.Sengupta](http://hpc-community.unige.ch/u/Debajyoti.Sengupta)\
**Post date:** [May 14, 2024, 7:28am UTC](http://hpc-community.unige.ch/t/baobab-scratch-disk-quota-exceeded/3446/4 "2024-05-14T07:28:21Z")

</div>

Same here.  
My job crashed with the same error.

Attaching my beegfs quota output below.

 ![image](http://hpc-community.unige.ch/uploads/default/original/1X/9a6a1f43da0fef6752204b684e42b59843d11a66.png)

---

<div class="post-metadata">

**Author:** ![Paul.Coppin](http://hpc-community.unige.ch/letter_avatar_proxy/v4/letter/p/977dab/32.png) [@Paul.Coppin](http://hpc-community.unige.ch/u/Paul.Coppin)\
**Post date:** [May 14, 2024, 7:31pm UTC](http://hpc-community.unige.ch/t/baobab-scratch-disk-quota-exceeded/3446/5 "2024-05-14T19:31:05Z")

</div>

Update, since this afternoon it seems that there is 78T (5%) of free disk space.  
Yet I still got jobs which failed at 21:05:08 this evening with the error:

`IOError: [Errno 122] Disk quota exceeded`

@HPC Any idea?

---

<div class="post-metadata">

**Author:** ![Malte.Algren](http://hpc-community.unige.ch/letter_avatar_proxy/v4/letter/m/df705f/32.png) [@Malte.Algren](http://hpc-community.unige.ch/u/Malte.Algren)\
**Post date:** [May 15, 2024, 5:56am UTC](http://hpc-community.unige.ch/t/baobab-scratch-disk-quota-exceeded/3446/6 "2024-05-15T05:56:14Z")

</div>

@Adrien.Albert @Yann.Sagon

The problem still exists

Cheers,  
Malte

---

<div class="post-metadata">

**Author:** ![Adrien.Albert](http://hpc-community.unige.ch/user_avatar/hpc-community.unige.ch/adrien.albert/32/188_2.png) [@Adrien.Albert](http://hpc-community.unige.ch/u/Adrien.Albert)\
**Post date:** [May 15, 2024, 7:09am UTC](http://hpc-community.unige.ch/t/baobab-scratch-disk-quota-exceeded/3446/7 "2024-05-15T07:09:41Z")

</div>

Hi @Malte.Algren, @Paul.Coppin

Currently the scratch filesystem seems to have enough space both in use and inode

2024-05-15T07:04:00Z

```auto
(baobab)-[root@login2 ~]$ df -t beegfs -h
Filesystem Size Used Avail Use% Mounted on
beegfs_home 138T 116T 22T 85% /home
beegfs_scratch 1.5P 1.4P 83T 95% /srv/beegfs/scratch

```

however, we’re not immune to the possibility that the aggreagat of current jobs may temporarily fill the scratch.

Are you sure your error appeared after the space was freed up?

---

<div class="post-metadata">

**Author:** ![Malte.Algren](http://hpc-community.unige.ch/letter_avatar_proxy/v4/letter/m/df705f/32.png) [@Malte.Algren](http://hpc-community.unige.ch/u/Malte.Algren)\
**Post date:** [May 15, 2024, 7:23am UTC](http://hpc-community.unige.ch/t/baobab-scratch-disk-quota-exceeded/3446/8 "2024-05-15T07:23:58Z")

</div>

Well, I think that is the problem when running long jobs that save files from scratch. It might be temporarily filled and your job will crash.

But no at the moment I am not getting the error.

 ![image](http://hpc-community.unige.ch/uploads/default/original/1X/67b0085245e259d50e57c68176734335af4ad967.png)

---

<div class="post-metadata">

**Author:** ![Malte.Algren](http://hpc-community.unige.ch/letter_avatar_proxy/v4/letter/m/df705f/32.png) [@Malte.Algren](http://hpc-community.unige.ch/u/Malte.Algren)\
**Post date:** [May 16, 2024, 6:59am UTC](http://hpc-community.unige.ch/t/baobab-scratch-disk-quota-exceeded/3446/9 "2024-05-16T06:59:43Z")

</div>

Still seeing the issue where scripts can run for some time but eventually, I get “IOError: [Errno 122] Disk quota exceeded”.

Any way to add additional storage to the scratch?

 ![image](http://hpc-community.unige.ch/uploads/default/original/1X/6b597efd57bcd1c1b2122a86518337e73d99ff34.png)

---

<div class="post-metadata">

**Author:** ![Paul.Coppin](http://hpc-community.unige.ch/letter_avatar_proxy/v4/letter/p/977dab/32.png) [@Paul.Coppin](http://hpc-community.unige.ch/u/Paul.Coppin)\
**Post date:** [May 16, 2024, 7:06am UTC](http://hpc-community.unige.ch/t/baobab-scratch-disk-quota-exceeded/3446/10 "2024-05-16T07:06:05Z")

</div>

Same here, almost all my jobs suddenly failed again yesterday evening (2024-05-15) because of the disk quota error 😕

---

<div class="post-metadata">

**Author:** ![Gael.Rossignol](http://hpc-community.unige.ch/user_avatar/hpc-community.unige.ch/gael.rossignol/32/206_2.png) [@Gael.Rossignol](http://hpc-community.unige.ch/u/Gael.Rossignol)\
**Post date:** [May 17, 2024, 8:01am UTC](http://hpc-community.unige.ch/t/baobab-scratch-disk-quota-exceeded/3446/11 "2024-05-17T08:01:31Z")

</div>

> [@Malte.Algren](#):
>
> Hi,
> 
> When working on scratch, I am getting “Disk quota exceeded” just by simply moving files around. It doesn’t look like I have exceeded the limit of 10.000.000 chunks.
> 
> Hope you can help.
> 
> Cheers,  
> Malte
> 
> ![image](http://hpc-community.unige.ch/uploads/default/original/1X/affd8493aeed712bca376218b84bdc91b2046d09.png)

Hello,

@Yann.Sagon found the problem! For share “private\_dpnc” quota for number of files was reached :

```auto
(baobab)-[algren@admin1 ~]$ beegfs-get-quota-home-scratch.sh -g private_dpnc

          user/group || size || chunk files
  storage | name | id || used | hard || used | hard
  ----------------------------|------||------------|------------||---------|---------
home | private_dpnc| 1014|| 12.76 TiB| unlimited|| 24719933|unlimited
scratch | private_dpnc| 1014|| 489.86 TiB| 875.00 TiB|| 69942301| 70000000

```

As DPNC has dedicated storage I will update this value to 100000000.

Best regards,

---

<div class="post-metadata">

**Author:** ![Paul.Coppin](http://hpc-community.unige.ch/letter_avatar_proxy/v4/letter/p/977dab/32.png) [@Paul.Coppin](http://hpc-community.unige.ch/u/Paul.Coppin)\
**Post date:** [May 17, 2024, 12:42pm UTC](http://hpc-community.unige.ch/t/baobab-scratch-disk-quota-exceeded/3446/12 "2024-05-17T12:42:20Z")

</div>

@Yann.Sagon @Gael.Rossignol Thanks a lot for digging out the issue and updating the quota!
