[Bug 207885] HDD fail in Virtual Box machine for FreeBSD (ZFS; Unrecovered Read error)

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 23 Jan 2025 11:30:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207885

Michael Gmelin <grembo@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |grembo@FreeBSD.org

--- Comment #2 from Michael Gmelin <grembo@FreeBSD.org> ---
Just as general advice: When using ZFS inside VirtualBox, make sure to disable
IgnoreFlush, otherwise FS corruption can happen quite easily:

  VBoxManage setextradata VM-name
"VBoxInternal/Devices/piix3ide/0/LUN#[x]/Config/IgnoreFlush" 0
  VBoxManage setextradata VM-name
"VBoxInternal/Devices/ahci/0/LUN#[x]/Config/IgnoreFlush" 0

With x being the LUN number, so e.g.,

  VBoxManage setextradata VM-name
"VBoxInternal/Devices/ahci/0/LUN#[0]/Config/IgnoreFlush" 0

See also:
https://www.virtualbox.org/manual/ch12.html#ts_ide-sata-flush

-- 
You are receiving this mail because:
You are the assignee for the bug.