Re: [qubes-devel] Where does Qubes 4 store the VM images?

2017-11-09 Thread Elias Mårtenson
On Wednesday, 8 November 2017 21:11:39 UTC+8, Marek Marczykowski-Górecki 
wrote:
 

> sudo lvs qubes_dom0/pool00


Thank you very much. It makes much more sense now. I can see how the new 
system is much more powerful than the old behaviour.

Regards,
Elias 

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


Re: [qubes-devel] Where does Qubes 4 store the VM images?

2017-11-08 Thread Marek Marczykowski-Górecki
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On Wed, Nov 08, 2017 at 03:12:29AM -0800, Elias Mårtenson wrote:
> In 3.2, the images were stored as sparse files in 
> /var/lib/qubes/appvms/VMNAME. In Qubes 4, these directories are practically 
> empty, so where is the data stored?
> 
> Also, the output from "df" in dom0 is a bit strange. On my Laptop with a 
> 250 GB SSD, it says this about the root drive:
> 
>   Filesystem   Size  Used  Avail  Use%  Mounted on
>   /dev/mapper/qubes_dom0-root  210G  3.8G  196G   2%/
> 
> This cannot possibly be right, which I proved by creating a VM and creating 
> 7 GB of files with random data in it. The output from "df" did not change 
> at all.
> 
> This leads me to believe that I cannot trust "df", so how can I tell when 
> I'm running out of disk space?

This is known issue, see here for details and workarounds until proper
solution got implemented:
https://github.com/QubesOS/qubes-issues/issues/3240

In short:

sudo lvs qubes_dom0/pool00

And look at 'Data%' column.

- -- 
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQEcBAEBCAAGBQJaAwKDAAoJENuP0xzK19csuFYH/AmVoW1f53PS2zgYvdTcrgwY
HNHJQo/Rxh8arlQBw90YvKnrM5ysSmz09bJZUOQGscuK8XTw3Fv1xB+4rU9dM9HM
Wl8CDpFSiihTI6xTVLyA9ivsN7Dt4mZunjJ27496OFOX0gC3qPyyjQx5lHhZwM9F
CQRLBvLCXYS8wUsrZhjtvv3o1ZkiCp4A/6JjLwpenmTGVsKiruuA12MqpXRfgi/0
/1yq04SrYxXSCeO8yC2yjuqIsTZTfczJMEKViTW0RvavoVTcAVbl6lRwN3R8JH6z
whG+mCJR/S1nHJD5s8xWoNI3Mkr9U9f9NROGiFbd9F3Jw1IDcdoRoNKuXZs4FZw=
=GPf6
-END PGP SIGNATURE-

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