Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upImplement UI Notifications for cases of a Qube disk full #1872
Comments
andrewdavidwong
added
enhancement
UX
labels
Apr 6, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Related to #1053 |
marmarek
modified the milestone:
Far in the future
Jun 21, 2016
andrewdavidwong
added
C: core
P: major
labels
Dec 23, 2017
This was referenced Dec 23, 2017
andrewdavidwong
modified the milestones:
Far in the future,
Release 4.1
Dec 23, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
tasket
Mar 21, 2018
This could be quickly done in 4.0 if its added to @marmarta 's disk space widget, or just made into a cron job or systemd timer.
I'll also suggest expanding this function beyond a warning:
Perhaps pausing domUs if the storage pool (containing admin root) free space goes below a certain number. It could even un-pause automatically once enough space has been freed. I don't know if Linux offers a better way to handle this (i.e. an LVM feature that can reserve space in a pool for a particular LV)... open to suggestions.
tasket
commented
Mar 21, 2018
|
This could be quickly done in 4.0 if its added to @marmarta 's disk space widget, or just made into a cron job or systemd timer. I'll also suggest expanding this function beyond a warning: Perhaps pausing domUs if the storage pool (containing admin root) free space goes below a certain number. It could even un-pause automatically once enough space has been freed. I don't know if Linux offers a better way to handle this (i.e. an LVM feature that can reserve space in a pool for a particular LV)... open to suggestions. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Mar 21, 2018
Member
I don't know if Linux offers a better way to handle this (i.e. an LVM feature that can reserve space in a pool for a particular LV)... open to suggestions.
This is very similar to what we've discussed in #3226 (comment)
As for pausing qubes, this may be tricky. Imagine someone using USB keyboard, or just yubi key for screen unlock. Pausing sys-usb in that case would be bad...
This is very similar to what we've discussed in #3226 (comment) As for pausing qubes, this may be tricky. Imagine someone using USB keyboard, or just yubi key for screen unlock. Pausing sys-usb in that case would be bad... |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
tasket
Mar 21, 2018
Probably could make an exception for sys-usb, which isn't expected to command a large private volume anyway.
tasket
commented
Mar 21, 2018
|
Probably could make an exception for sys-usb, which isn't expected to command a large private volume anyway. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
tasket
Mar 21, 2018
BTW, was referring to current arrangement with dom0 in thin pool in 3226, not allocating a static dom0 volume.
tasket
commented
Mar 21, 2018
•
|
BTW, was referring to current arrangement with dom0 in thin pool in 3226, not allocating a static dom0 volume. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
tasket
Mar 27, 2018
Note: dom0 has dm-event.service which runs dmeventd. This supposedly monitors thin pools for the amount of space left and will log warnings (and even try to dismount member volumes) at certain percentage thresholds.
Monitoring this log output (via rsyslogd?) may be one way to implement notifications/pausing. But I still think using the widget is a good option, especially since it can be applied uniformly to the other storage types.
tasket
commented
Mar 27, 2018
|
Note: dom0 has dm-event.service which runs Monitoring this log output (via |
tasket
referenced this issue
Mar 28, 2018
Open
On new install 4.0 rc5 volume sizes exceed available space #3744
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Mar 30, 2018
Member
Notification + widget implemented as part of #3240
Safeguards against filling up pool where dom0 root lives would be much easier to implement in 4.1, where GUI will be moved out - no direct user interaction with dom0, can be much smaller, static volume.
|
Notification + widget implemented as part of #3240 Safeguards against filling up pool where dom0 root lives would be much easier to implement in 4.1, where GUI will be moved out - no direct user interaction with dom0, can be much smaller, static volume. |
bnvk commentedMar 24, 2016
Currently, one only realizes that a Qube is full usually after some other operation (downloading, installing) fails. We should surface notifications to users when a Qube is
These should be system notifications that provide an actionable button that takes user to the Qubes Manager for that given Qube.
Additionally, there is the case where the sum total of "potential disk space allowed" for all Qubes, might be greater than that of the actual physical hard drive. In the case that this limit is actually reached @marmarek and @woju claim that all information about a users Qubes is erased. This of course is very bad for users and should be mitigated by not allowing a user to set each Qube to larger than total available space.