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

Mount VM's swap file directly #118

Closed
marmarek opened this Issue Mar 8, 2015 · 3 comments

Comments

Projects
None yet
1 participant
@marmarek
Member

marmarek commented Mar 8, 2015

Reported by joanna on 16 Mar 2011 21:34 UTC
Instead through dmsetup snapshot, which is no longer needed and only negatively impacts performance.

Migrated-From: https://wiki.qubes-os.org/ticket/118

@marmarek marmarek self-assigned this Mar 8, 2015

@marmarek marmarek added this to the Release 1 Beta 1 milestone Mar 8, 2015

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Modified by joanna on 16 Mar 2011 21:35 UTC

Member

marmarek commented Mar 8, 2015

Modified by joanna on 16 Mar 2011 21:35 UTC

@marmarek marmarek added enhancement and removed bug labels Mar 8, 2015

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Comment by marmarek on 17 Mar 2011 10:54 UTC
To reduce xvd devices count, merge it with root-cow.img. So now it will contain 2 partitions:

  • root.cow
  • swap.img
    (same as current root.img)

Additionally current root.img can be reduced to plain filesystem (without partition table).

Changes in:

  • qubes_cow_setup.sh
  • fstab
  • qvm-core (reset_cow_storage, remove reset_swap_cow_storage)
  • template-builder (new partition layout, clean cow.img in template)
Member

marmarek commented Mar 8, 2015

Comment by marmarek on 17 Mar 2011 10:54 UTC
To reduce xvd devices count, merge it with root-cow.img. So now it will contain 2 partitions:

  • root.cow
  • swap.img
    (same as current root.img)

Additionally current root.img can be reduced to plain filesystem (without partition table).

Changes in:

  • qubes_cow_setup.sh
  • fstab
  • qvm-core (reset_cow_storage, remove reset_swap_cow_storage)
  • template-builder (new partition layout, clean cow.img in template)
@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Modified by marmarek on 23 Mar 2011 08:36 UTC

Member

marmarek commented Mar 8, 2015

Modified by marmarek on 23 Mar 2011 08:36 UTC

@marmarek marmarek closed this Mar 8, 2015

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