Re: [DNG] Insane defaults on Raspberry Pi images - How to fix corruption/dataloss

2019-11-15 Thread John Morris
On Thu, 2019-11-14 at 22:03 -0500, Steve Litt wrote:
> The piece of information I couldn't find in your (John Morris') data
> is
> how much of the 160GiB is consumed with data. It makes a big 
> difference.

They have had most of their space written to at this point.  The setup
is three physical machines that host two virtual machines (web frontend
and a postgresql database) running by themselves on two of them and
another pair of development VMs on the third or the third is powered
down as a spare.  The VMs rotate between the three physical hosts on
every upgrade cycle to spread the wear on drives and the servers.  The
production images are about 32GB, between 50% and 80% utilized
currently, but the remainder of the drives are unused, but dirty,
between moves. Can't use fstrim in the VMs because qemu / libvirt
doesn't support it yet.

signature.asc
Description: This is a digitally signed message part
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Insane defaults on Raspberry Pi images - How to fix corruption/dataloss

2019-11-15 Thread Adam Borowski
On Fri, Nov 15, 2019 at 04:52:50PM -0600, John Morris wrote:
> Can't use fstrim in the VMs because qemu / libvirt doesn't support it yet.

It does if you use virtio-scsi instead of virtio-blk; same for scsi
passthrough or even fake-hardware emulation of regular scsi.


Meow!
-- 
⢀⣴⠾⠻⢶⣦⠀ A MAP07 (Dead Simple) raspberry tincture recipe: 0.5l 95% alcohol,
⣾⠁⢠⠒⠀⣿⡁ 1kg raspberries, 0.4kg sugar; put into a big jar for 1 month.
⢿⡄⠘⠷⠚⠋⠀ Filter out and throw away the fruits (can dump them into a cake,
⠈⠳⣄ etc), let the drink age at least 3-6 months.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng