Re: mount option nodatacow for VMs on SSD?
From: Kai Krakow <hidden>
Date: 2016-11-26 10:27:26
Am Fri, 25 Nov 2016 09:28:40 +0100 schrieb Ulli Horlacher [off-list ref]:
I have vmware and virtualbox VMs on btrfs SSD. I read in https://btrfs.wiki.kernel.org/index.php/SysadminGuide#When_To_Make_Subvolumes certain types of data (databases, VM images and similar typically big files that are randomly written internally) may require CoW to be disabled for them. So for example such areas could be placed in a subvolume, that is always mounted with the option "nodatacow". Does this apply to SSDs, too?
As a side note: I don't think you can use "nodatacow" just for one subvolume while the other subvolumes of the same btrfs are mounted different. The wiki is just wrong here. The list of possible mount options in the wiki explicitly lists "nodatacow" as not working per subvolume - just globally for the whole fs. -- Regards, Kai Replies to list-only preferred.