New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when changing system storage size on a StandaloneVM #1875

Closed
jaspertron opened this Issue Mar 26, 2016 · 4 comments

Comments

4 participants
@jaspertron

jaspertron commented Mar 26, 2016

Using the Qubes Manager, if I try to change the "System storage max. size" on any StandaloneVM, it will always show an error message.

If the VM is running:

ERROR: Basic tab:
Cannot resize root.img of running VM

If the VM is not running:

ERROR: Basic tab:
VM start required to complete the operation, but not allowed. Either run the operation again allowing VM start this time, or run resize2fs in the VM manually.

I'm not sure what "run the operation again allowing VM start" means, but running resize2fs in the VM manually works (sudo resize2fs /dev/mapper/dmroot).

@fsteinel

This comment has been minimized.

Show comment
Hide comment
@fsteinel

fsteinel Mar 30, 2016

This also happens on AppVMs but for "Private storage max. size"
I'm only able to grow the storage, if i'm following the steps in https://www.qubes-os.org/doc/resize-disk-image/ for shrinking.

Debug:

  • Make sure that the AppVM is shutdown
  • grow the "Private storage max. size" via the GUI (Qubes VM Manager) or via qvm-grow-private to 35GB (35840MB)
  • start the AppVM
  • start terminal in the AppVM
  • run df -h
  • run dd if=/dev/zero of=/home/user/growtest bs=30000000 count=1000
  • In Dom0 the filesize of private.img is of the desired size.
  • In DomU the Partion is not grown and stuck at the 2GB default.
  • shutdown AppVM
  • follow the manuell steps linked above
  • start AppVm
  • the "Private storage max. size" is now at the desired size

fsteinel commented Mar 30, 2016

This also happens on AppVMs but for "Private storage max. size"
I'm only able to grow the storage, if i'm following the steps in https://www.qubes-os.org/doc/resize-disk-image/ for shrinking.

Debug:

  • Make sure that the AppVM is shutdown
  • grow the "Private storage max. size" via the GUI (Qubes VM Manager) or via qvm-grow-private to 35GB (35840MB)
  • start the AppVM
  • start terminal in the AppVM
  • run df -h
  • run dd if=/dev/zero of=/home/user/growtest bs=30000000 count=1000
  • In Dom0 the filesize of private.img is of the desired size.
  • In DomU the Partion is not grown and stuck at the 2GB default.
  • shutdown AppVM
  • follow the manuell steps linked above
  • start AppVm
  • the "Private storage max. size" is now at the desired size
@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 30, 2016

Member

@fsteinel what Qubes version do you use? On which template that AppVM is based?

Member

marmarek commented Mar 30, 2016

@fsteinel what Qubes version do you use? On which template that AppVM is based?

marmarek added a commit to marmarek/qubes-core-admin that referenced this issue Apr 23, 2017

Merge remote-tracking branch 'qubesos/pr/101'
* qubesos/pr/101:
  Clarify warning message on resizing. Closes QubesOS/qubes-issues#1875

marmarek added a commit to QubesOS/qubes-core-admin that referenced this issue Apr 23, 2017

@qubesos-bot

This comment has been minimized.

Show comment
Hide comment
@qubesos-bot

qubesos-bot Apr 23, 2017

Automated announcement from builder-github

The package qubes-core-dom0-3.2.14-1.fc23 has been pushed to the r3.2 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

qubesos-bot commented Apr 23, 2017

Automated announcement from builder-github

The package qubes-core-dom0-3.2.14-1.fc23 has been pushed to the r3.2 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

@qubesos-bot

This comment has been minimized.

Show comment
Hide comment
@qubesos-bot

qubesos-bot May 15, 2017

Automated announcement from builder-github

The package qubes-core-dom0-3.2.14-1.fc23 has been pushed to the r3.2 stable repository for dom0.
To install this update, please use the standard update command:

sudo qubes-dom0-update

Or update dom0 via Qubes Manager.

Changes included in this update

qubesos-bot commented May 15, 2017

Automated announcement from builder-github

The package qubes-core-dom0-3.2.14-1.fc23 has been pushed to the r3.2 stable repository for dom0.
To install this update, please use the standard update command:

sudo qubes-dom0-update

Or update dom0 via Qubes Manager.

Changes included in this update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment