Skip to content
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

Root image file parameter to qvm-create limited to free space in /tmp (2GiB) #3422

Closed
daniel-ayers opened this issue Dec 23, 2017 · 9 comments

Comments

@daniel-ayers
Copy link

daniel-ayers commented Dec 23, 2017

Qubes OS version:

4.0RC3

Affected TemplateVMs:

dom0


Steps to reproduce the behavior:

in dom0:

# qvm-create --label=yellow -C StandaloneVM --root-move-from /var/tmp/root.img newvm
....
OSError: [Errno 28] No space left on device

Expected behavior:

New VM created using given root image file (in my example, 40GiB raw image).

Actual behavior:

qvm-create pipes root image file to a temp file in /tmp and therefore runs out of space on /tmp if root.img > 2GiB.

Same behaviour regardless for --root-copy-from and --root-move-from

General notes:

The root.img I am using was converted vdi -> raw using qemu-img -O raw.

Given the semantics implied by both --root-copy-from and --root-move-from it does not appear necessary to write any file to /tmp.


Related issues:

@andrewdavidwong andrewdavidwong added T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists. C: core labels Dec 23, 2017
@andrewdavidwong andrewdavidwong added this to the Release 4.0 milestone Dec 23, 2017
@marmarek
Copy link
Member

The file is not piped to /tmp, but to the target location (LVM volume in default installation). The problem is somewhere else - it does not check its size and by default root volume have 10G. It should resize it first to the size of source file.

@qubesos-bot
Copy link

Automated announcement from builder-github

The package core-admin-client has been pushed to the r4.0 testing repository for the CentOS centos7 template.
To test this update, please install it with the following command:

sudo yum update --enablerepo=qubes-vm-r4.0-current-testing

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package python2-qubesadmin-4.0.20-0.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

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package qubes-core-admin-client_4.0.20-1+deb9u1 has been pushed to the r4.0 testing repository for the Debian template.
To test this update, first enable the testing repository in /etc/apt/sources.list.d/qubes-*.list by uncommenting the line containing stretch-testing (or appropriate equivalent for your template version), then use the standard update command:

sudo apt-get update && sudo apt-get dist-upgrade

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The component core-admin-client (including package python2-qubesadmin-4.0.20-0.1.fc26) has been pushed to the r4.0 testing repository for the Fedora template.
To test this update, please install it with the following command:

sudo yum update --enablerepo=qubes-vm-r4.0-current-testing

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package qubes-core-admin-client_4.0.20-1+deb9u1 has been pushed to the r4.0 stable repository for the Debian template.
To install this update, please use the standard update command:

sudo apt-get update && sudo apt-get dist-upgrade

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package core-admin-client has been pushed to the r4.0 stable repository for the Fedora centos7 template.
To install this update, please use the standard update command:

sudo yum update

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The component core-admin-client (including package python2-qubesadmin-4.0.20-0.1.fc26) has been pushed to the r4.0 stable repository for the Fedora template.
To install this update, please use the standard update command:

sudo yum update

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package python2-qubesadmin-4.0.20-0.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.

Changes included in this update

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

No branches or pull requests

4 participants