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

increase storage space on sd-svs and sd-log #348

Closed
redshiftzero opened this issue Nov 21, 2019 · 2 comments
Closed

increase storage space on sd-svs and sd-log #348

redshiftzero opened this issue Nov 21, 2019 · 2 comments
Assignees

Comments

@redshiftzero
Copy link
Contributor

I'm not sure how much to increase the space to yet (we could do it dynamically based on how much disk space is free on the disk) but we should increase the space available for VMs that are likely to contain a lot of data: primarily I'm thinking sd-svs (and then probably next is sd-log #340).

This can be done via the qubes admin API (https://dev.qubes-os.org/projects/core-admin/en/latest/qubes-storage.html#qubes.storage.Storage) or qvm-volume resize <volume> <size>

@conorsch
Copy link
Contributor

For sd-svs, the disk space is going to grow mostly in the "private" (i.e. $HOME) volume. For sd-log, judging by the WIP #340, it looks like the "private" volume is also what we'd want to grow.

Since the VMs have a 2GB partition, what about growing sd-svs to 10GB, and sd-log to 5GB, as a start?

@redshiftzero
Copy link
Contributor Author

for a first pass that definitely seems reasonable to me, we can file a followup for increasing the space based on the size of the disk or making it admin-configurable

kushaldas added a commit that referenced this issue Jan 13, 2020
sd-svs:private is now 10GB
sd-log:private is now 5GB
kushaldas added a commit that referenced this issue Jan 20, 2020
The config.json now must have sizes defined for sd-svs and sd-log
private volumes.

  "vmsizes": {
    "sd_svs": 10,
    "sd_log": 5
  },

The Makefile prep-salt target will also run the validate-config check
to make sure that size checks are done in case of:
	make sd-svs
	make sd-log

The validate-config will fail in case the given size is smaller than
the current size of the private volumes in the existsing VMs.
kushaldas added a commit that referenced this issue Jan 21, 2020
The config.json now must have sizes defined for sd-svs and sd-log
private volumes.

  "vmsizes": {
    "sd_svs": 10,
    "sd_log": 5
  },

The Makefile prep-salt target will also run the validate-config check
to make sure that size checks are done in case of:
	make sd-app
	make sd-log

The validate-config will fail in case the given size is smaller than
the current size of the private volumes in the existsing VMs.
kushaldas added a commit that referenced this issue Jan 22, 2020
The config.json now must have sizes defined for sd-svs and sd-log
private volumes.

  "vmsizes": {
    "sd_svs": 10,
    "sd_log": 5
  },

The Makefile prep-salt target will also run the validate-config check
to make sure that size checks are done in case of:
	make sd-app
	make sd-log

The validate-config will fail in case the given size is smaller than
the current size of the private volumes in the existsing VMs.
emkll pushed a commit that referenced this issue Jan 22, 2020
The config.json now must have sizes defined for sd-svs and sd-log
private volumes.

  "vmsizes": {
    "sd_svs": 10,
    "sd_log": 5
  },

The Makefile prep-salt target will also run the validate-config check
to make sure that size checks are done in case of:
	make sd-app
	make sd-log

The validate-config will fail in case the given size is smaller than
the current size of the private volumes in the existsing VMs.
@emkll emkll closed this as completed in 3e39647 Jan 23, 2020
emkll added a commit that referenced this issue Jan 23, 2020
…s_space_moar_space

Fixes #348 resizes private volume sizes of sd-app sd-log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants