On Tuesday, 23 January 2018 03:32:12 CET 'Xaver' via qubes-users wrote:
> I'm going to be switching over to Qubes 4.4 from 3.2 once its released and
> I have 2 questions about custom installation using thin pools.
>
> 1) First question is about creating a Swap partition. Would I create Swap
> as a thin pool?
I tested thin pools and they are immensely slow.
Like 20 minutes to copy 4GB between two thin-pools slow.
This is fine for more simple usages, this is deadly for swap. (or in my case
holding the bitcoin cash blockchain sized 150GB).
I ended up using native partitions instead. But then, I only store data
there that is already public and don't encrypt it.
I'm personally a strong believer of not using swap at all.
> Or a standard logical volume without thin provisioning
>
> sudo lvcreate -L 4G -n swap qubes_dom0
I didn't try this. I suggest creating a simple filesystem on it and copying
maybe 10GB of data onto it to see how fast it is.
> 2) Second question is about registering the thin pools. Do I do this
> during installation right after I create the thin pool? Or is registering
> the thin pool done after first boot?
>
> qvm-pool --add pool_name lvm_thin -o
> volume_group=vg_name,thin_pool=thin_pool_name
qvm-pool is simply creating some data in a database and it doesn't really
touch disk much. Don't expect many error messages from it.
So the proper answer is; you need to create the qvm-pool before you do a
'qvm-create'.
Related;
https://github.com/QubesOS/qubes-issues/issues/3438
and
https://groups.google.com/d/msgid/qubes-users/2932962.V7N4gufabA%40cherry
--
Tom Zander
Blog: https://zander.github.io
Vlog: https://vimeo.com/channels/tomscryptochannel
--
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/1617673.kuhsKDcQjG%40mail.
For more options, visit https://groups.google.com/d/optout.