Re: [qubes-users] Re: Is it possible to create a fast clone/copy-on-write Qube?

2018-05-25 Thread tasket

On 26.05.2018 07:19, tas...@posteo.net wrote:

On 26.05.2018 05:56, fsharpn...@gmail.com wrote:

Ok, I discovered pvs to tell me the disk usage, ran it before and
after cloning a ~10 GB Windows VM, and verified usage was the same
before and after:

$ sudo pvs
  PV VG Fmt  Attr PSize  PFree
  /dev/sdb2  qubes_dom0 lvm2 a--  58.76g 8.71g



Actually, the answer is also there in the lvs output. The LSize shows
the upper limit for the volume's size, and the Data% shows how much of
that is used.

When you clone a VM (lets say an appVM), you'll notice another private
volume is created and shows the same figures as the volume it
originates from. But looking at pool00 (the overall container for our
VM volumes), the Data% barely changes if at all.




$ qvm-clone windows windows2
windows2: Cloning private volume
windows2: Cloning root volume

$ sudo pvs
  PV VG Fmt  Attr PSize  PFree
  /dev/sdb2  qubes_dom0 lvm2 a--  58.76g 8.71g

Qubes manager gives the disk of the clone VM as 0 before I run it:

https://imgur.com/NGAjTxg

Though afterward it gets the same disk size as the original:

https://imgur.com/hCGUVqs

So again I assume that's the virtual space allocated to the clone
rather than the actual space.


Yes.

The Linux storage options won't show a volume that grows from nothing
and has a size equal to the delta from the parent volume. This is
because the Thin LVM and Btrfs objects are not really hierarchical,
and this can be a good thing because it usually means fewer demands on
you attention... there is less 'care and feeding' necessary with the
Linux options. But you do have to keep an eye on your overall free
space, of course.

If you really need to know the delta size between two related volumes,
there may be a utility out there that scans the volume metadata and
shows you. My guess is you would most likely find it for Btrfs, and it
would be described as a tool related to deduplication (or 'dedup').

And that brings me to another point: On Btrfs if you have two related
files (.img volumes) but suspect they have diverged too much over
time, you can tell Btrfs to perform deduplication to find new
commonalities and reduce the overall space used.

Chris


--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/7cb83760b4f19224a260986216b19808%40posteo.net.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] AEM boot = GPU hang, no graphics display

2018-05-24 Thread tasket

On 24.05.2018 04:12, awokd wrote:

Not sure if it's related or why AEM would have modified it, but try
changing that i915 option to i915.alpha_support=1 (like
https://www.qubes-os.org/doc/intel-igfx-troubleshooting/#software-rendering-or-video-lags).


As noted on qubes-issues, I had to remove "iommu=no-igfx" from Xen 
options to get graphics working.


Another side-effect that AEM/tboot has, unfortunately, is that 
sleep/suspend no longer works (now it causes an unintended reboot when 
entering sleep). But its been a long time since this combination worked.


Chris

--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/97d31bc76ff997cbe3722cad70d1b089%40posteo.net.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] mr. tasket's vpn new SMTP errors timeout in thunderbird

2018-05-24 Thread tasket

On 24.05.2018 06:15, john wrote:

so, until today all was well, I really have done much other than
switch over to Fedora-28 for all App-proxyVM qube/domains and the
sys-net sys-firewall, but even after that I've been sending SMTP ok on
thunderbird, till today

I can IMAP ok, its just  SMTP,  is there  some  iptables -allow port
465  I should try adding,  if so,  can you help me  how and where to
do that , and so it would persist

I made the App-proxy qube-domains  via installing the github script in
the app-proxy and then cloning it and changing out the  ln -s  links


FWIW, I'm having sending issues as well... sending this via webmail.

The proxy firewall config doesn't have any impediments to email.

There has probably been a surge in attacks lately against email 
services, who sometimes block the SMTP port from VPN IP addresses; this 
is usually done to deter spammers or stem a rise in attacks. Even VPN 
providers may choose to block port 465 so they stay in the good graces 
of service providers.


--

Chris Laprise, tas...@posteo.net
https://github.com/tasket
https://twitter.com/ttaskett
PGP: BEE2 20C5 356E 764A 73EB  4AB3 1DC4 D106 F07F 1886

--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/e0b9a52089d5523bffe59eb5e9361ccc%40posteo.net.
For more options, visit https://groups.google.com/d/optout.