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 upChanging dispVM private storage has no effect #3519
Comments
andrewdavidwong
added
bug
C: other
labels
Feb 3, 2018
andrewdavidwong
added this to the Release 4.0 milestone
Feb 3, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Feb 5, 2018
Member
This is a bit tricky, because technically the same applies to root volume ("system storage") of TemplateBasedVM. Allowing change for DispVM:private would also allow it for TemplateBasedVM:root. And in both cases the change would be discarded (reset to original value) after VM shutdown. The difference is DispVM (in most cases) is removed then, but other VMs stays there. It is consistent with how TemplateBasedVM works - changes to root volume are discarded after VM shutdown. But IMO it still may be confusing.
@andrewdavidwong any advice on this?
Technically, it is easy to change it (allow resize) on LVM, might be impossible for file driver. But I wouldn't care about this case, file driver have limited functionality anyway. It's ok to support only some features in some storage drivers (as long as clearly communicated).
|
This is a bit tricky, because technically the same applies to root volume ("system storage") of TemplateBasedVM. Allowing change for DispVM:private would also allow it for TemplateBasedVM:root. And in both cases the change would be discarded (reset to original value) after VM shutdown. The difference is DispVM (in most cases) is removed then, but other VMs stays there. It is consistent with how TemplateBasedVM works - changes to root volume are discarded after VM shutdown. But IMO it still may be confusing. Technically, it is easy to change it (allow resize) on LVM, might be impossible for file driver. But I wouldn't care about this case, file driver have limited functionality anyway. It's ok to support only some features in some storage drivers (as long as clearly communicated). |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
andrewdavidwong
Feb 6, 2018
Member
This is a bit tricky, because technically the same applies to root volume ("system storage") of TemplateBasedVM. Allowing change for DispVM:private would also allow it for TemplateBasedVM:root. And in both cases the change would be discarded (reset to original value) after VM shutdown. The difference is DispVM (in most cases) is removed then, but other VMs stays there. It is consistent with how TemplateBasedVM works - changes to root volume are discarded after VM shutdown. But IMO it still may be confusing.
@andrewdavidwong any advice on this?
In 3.2, there's no need to change the volume size (user or root) of a DispVM (i.e. home directory storage in the DispVM is not limited to the DVM Template's max private storage size anyway), so this only becomes an issue in 4.x, right?
I think the proposed change would be fine. For most users, what matters is whether changes persist across VM restarts. For TemplateBasedVMs, root volume changes don't persist. For DispVMs, nothing persists. The proposed change would maintain that distinction, which is all most users care about. The users who might actually care that non-persistent TemplateBasedVM root volume size changes are possible are likely to be more advanced users trying to do special things, and we can point them to documentation that explains this.
In 3.2, there's no need to change the volume size (user or root) of a DispVM (i.e. home directory storage in the DispVM is not limited to the DVM Template's max private storage size anyway), so this only becomes an issue in 4.x, right? I think the proposed change would be fine. For most users, what matters is whether changes persist across VM restarts. For TemplateBasedVMs, root volume changes don't persist. For DispVMs, nothing persists. The proposed change would maintain that distinction, which is all most users care about. The users who might actually care that non-persistent TemplateBasedVM root volume size changes are possible are likely to be more advanced users trying to do special things, and we can point them to documentation that explains this. |
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
Feb 7, 2018
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
Feb 7, 2018
added a commit
to marmarek/qubes-core-admin
that referenced
this issue
Feb 7, 2018
marmarek
referenced this issue
in QubesOS/qubes-core-admin
Feb 7, 2018
Merged
Fix resizing volumes #192
marmarek
closed this
in
marmarek/qubes-core-admin@7903dc5
Feb 22, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Mar 4, 2018
Automated announcement from builder-github
The package qubes-core-dom0-4.0.24-1.fc25 has been pushed to the r4.0 testing repository for dom0.
To test this update, please install it with the following command:
sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing
qubesos-bot
commented
Mar 4, 2018
|
Automated announcement from builder-github The package
|
qubesos-bot
added
the
r4.0-dom0-cur-test
label
Mar 4, 2018
qubesos-bot
referenced this issue
in QubesOS/updates-status
Mar 4, 2018
Closed
core-admin v4.0.24 (r4.0) #451
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
qubesos-bot
Mar 12, 2018
Automated announcement from builder-github
The package qubes-core-dom0-4.0.24-1.fc25 has been pushed to the r4.0 stable repository for dom0.
To install this update, please use the standard update command:
sudo qubes-dom0-update
Or update dom0 via Qubes Manager.
qubesos-bot
commented
Mar 12, 2018
|
Automated announcement from builder-github The package
Or update dom0 via Qubes Manager. |
3hhh commentedFeb 2, 2018
Qubes OS version:
4.0rc3
Affected TemplateVMs:
only debian 8 was tested
Steps to reproduce the behavior:
sudo df -hin the dispVM terminalsudo df -hin the dispVM terminal (resize2fs /dev/xvdbdoesn't do anything neither)Expected behavior:
Storage size changes at least until the dispVM is shut down.
Actual behavior:
Storage size doesn't change.