I bought a samsung consumer grade qvo 2tb ssd for vm/lxc storage. I went with btrfs for the filesystem for snapshot speed and bit protection. I've seen people posting that you should only use enterprise ssd/s with zfs/btrfs and others saying that's not entirely true. While I've been using btrfs on my desktop on a similar drive for years and it's still in great shape I've not used it in a virtualized setup. Everything is working great but today I was playing in the UI and noticed it has a wear out of 1% and it's only been in there for about 6/7 weeks running about 3 vm/s and some docker containers. Some of the docker containers have web apps that run a db like postgres and mongo. This is just a small intel nuc hosting some things for the family and a serving as a lab. I want to add a few more vm/s and containers and am concerned about wearing it out within a year or two. I found in the forums it mentioned to turn off the following services if not needed since the write to the disk often. I've also verified the trim service is running and from what I read it's suppose to trim every fs mounted that supports it and btrfs does. Is there a way to verify the last time a mount was trimmed so I can be sure the service is doing it? Additionally, I was curious of users here running btrfs and their experience and if there's anymore I can do to make to help prolong the drive. So far all my vm/s are linux and they are all using .raw disk files. I plan on one windows vm and will turn the page file off. I've also seen it recommend that in the vm/s guest that you run trim there to...is that correct?
pve-ha-lrm
pve-ha-crm
pve-ha-lrm
pve-ha-crm