Any chance that there will be added in the feature for snapshots?
even CoW snapshots would be good, then a consolidation option once done.
I have one issue where I want to do something, but I have to 7z the VM before I can do anything to it in-case it breaks.
I know that there are CoW options there, but how do I access them?
You already use the technology since 2.0, but I have not seen it go anything beyond that for the dispvm and the like.
the AppVMs, they have CoW for them, but it's not persistant on the CoW file, that file is destroyed after the VM is shut down.
I tried changing it to not be destroyed on shutdown when it used a CoW file, but Qubes just tell me to get stuffed and destroys it once the guest is shut down.
How can I fix this please?
Yes they do.
I had 2 SSDs, both doing the same thing. One was EXT4, the other was EXT2.
EXT4, after a check, had over 2 million errors on it. The EXT2 had 1 error.
> Ignoring spare files, if you consider that a reflink copy of, say, a 2G
> file (such as a VM .img file) takes almost no disk activity on BTRFS (just
> a metadata cloning due to the COW nature), while ext4 churns away
> reading/writing the full 2G of data, I'd say that BTRFS could *save* you a
> whole bunch of wear on your SSD.
>
> snapshotting and reverting under BTFS is near immediate, versus copying of
> multiple large files; seems like a no-brainer in favor of BTRFS.
>
> From another page:
>
> "Btrfs is SSD-aware and exploits TRIM/Discard to allow the file system to
> report unused blocks to the storage device for reuse. On SSDs, Btrfs
> avoids unnecessary seek optimization and aggressively sends writes in
> clusters, even if they are from unrelated files. This results in larger
> write operations and faster write throughput, albeit at the expense of
> more seeks later."
>
> And:
>
> https://oss.oracle.com/pipermail/btrfs-devel/2008-February/000513.html
>
> And:
>
> https://www.linux.com/learn/weekend-project-get-started-btrfs
>
> which comments:
>
> "the system uses a copy-on-write strategy that writes changed data to disk
> first, then updates the references in the tree. This crash-proofs the
> filesystem, but without the overhead of maintaining a journal."
>
> (That article was six years ago, not sure if things have changed, but on a
> quick search I couldn't find any reference to BTRFS using journaling.)
Then perhaps the things I read back then were mistaken, or worded what they said the wrong way.
> In fact, the wiki page on journaling filesystems:
>
> https://en.wikipedia.org/wiki/Journaling_file_system#Alternatives
>
> considers BTFS and COW-based filesystems as *alternatives* to journaling
> filesystems:
>
> "Full copy-on-write file systems (such as ZFS and Btrfs) avoid in-place
> changes to file data by writing out the data in newly allocated blocks,
> followed by updated metadata that would point to the new data and disown
> the old, followed by metadata pointing to that, and so on up to the
> superblock, or the root of the file system hierarchy. This has the same
> correctness-preserving properties as a journal, without the write-twice
> overhead."
>
> So your fears may be unfounded, and you might be missing out on a tech
> that provides exactly what you need. :)
>
> > This is why I use EXT2 Filesystem, even in the templates. (The templates
> > were originally EXT3/4 if memory serves, as an LVM.
>
> Flying without a journal (especially wrt metadata) is a bit bold in this
> day and age. :)
Not really.
> > Well, I can't use Qubes 4.0, because you are FORCING it to REQUIRE
> > technology in the CPU that my Multi-CPU system doesn't have.
>
> That's a thorn in my side as well, but possibly the price of progress.
It's not the price of progress, it should be an OPTION in Qubes 4.0. That way, if you don't have it, you can still use Qubes 4. But if you have it, then you are (supposedly) more secure and still using Qubes 4.