
From: "Tim Connors" <tim.w.connors@gmail.com>
On Fri, 19 Sep 2014, Craig Sanders wrote:
On Thu, Sep 18, 2014 at 10:48:00AM +0200, Michele Bert wrote:
1) Can bad block appear on a virtual disk too? Even if it is eventually just a flat file in the host filesystem? 2) Are those bad blocks related to real bad blocks on the physical host file system?
vmware will tend to drop disk paths well before linux would have a problem with them, in the name of High Availability. Whilst Linux would just log a 120s hangcheck timer alert to the syslog if the disk didn't answer in 120 seconds, vmware might respond to the same disk outage by
I have seen the same with Oracle VirtualBox. The "disk" was an ordinary file. The write timed out so Linux (the same Ubuntu 12.04) perceived it as a disk failure and remounted read-only. There were no physical hardware errors involved. It caught me by surprise when it happened and it took a little bit until I understood what's going on. The system just behaved weird (it was only one of three virtual disks so the system worked partially) I have a nagios/Icinga script checking the expected mounts since then. It compares the mounts with a mount "snapshot" written in a file after installation. Regards Peter