Quota is rounding to next highest integer unit?

ryun

Dabbler
Joined
Mar 17, 2023
Messages
14
I have a sole dataset in my 1.7 TiB mirrored pool called Backups to backup my windows PCs at home. I discovered that my pool usage was around 95% with snapshots so I decided to create a quota on the dataset so that I could avoid any problems with running out of space. Trouble is, when I try to set my quota to 80% (or 1.36 TiB) I can't in the UI. The value will blank out. If I try adding 1400 GiB the value rounds down to 1 TiB and if I try anything greater than 1500 GiB the value rounds up to 2 TiB. I attached a GIF of what I'm seeing.

Is this a bug or is this how the UI is supposed to work? I'm on TrueNAS-SCALE-22.12.2.
 

Attachments

  • unknown_2023.04.13-18.17_1.gif
    unknown_2023.04.13-18.17_1.gif
    475.3 KB · Views: 80

morganL

Captain Morgan
Administrator
Moderator
iXsystems
Joined
Mar 10, 2018
Messages
2,694
I have a sole dataset in my 1.7 TiB mirrored pool called Backups to backup my windows PCs at home. I discovered that my pool usage was around 95% with snapshots so I decided to create a quota on the dataset so that I could avoid any problems with running out of space. Trouble is, when I try to set my quota to 80% (or 1.36 TiB) I can't in the UI. The value will blank out. If I try adding 1400 GiB the value rounds down to 1 TiB and if I try anything greater than 1500 GiB the value rounds up to 2 TiB. I attached a GIF of what I'm seeing.

Is this a bug or is this how the UI is supposed to work? I'm on TrueNAS-SCALE-22.12.2.

I'd consider that a bug.... 1 digit is too coarse a granularity in that 1 -2 range. Feel free to submit a bug report and report the case number here.
 

ryun

Dabbler
Joined
Mar 17, 2023
Messages
14
Top