Re: [ovirt-users] Weekly fstrim & Ubuntu 16.04 LTS guest freeze

2018-03-12 Thread Andrei Verovski
On 03/12/2018 01:50 PM, Yaniv Kaul wrote:
>
>
> On Mon, Mar 12, 2018 at 1:40 PM, Andrei Verovski  > wrote:
>
> Hi !
>
>
> I have stubborn VM (Ubuntu 16.04 LTS) which randomly freezes about
> each 2 - 3 weeks at weekends (when load is close to zero).
> No updates or kernel upgrades help.
> Freeze is not detected by oVirt watchdog and VM is not
> automatically restarted.
>
> Since it happens only on weekends, I suspect some weekly cron job
> may cause this.
> Ubuntu 16.04 LTS is installed on qcow2 disk image (thin provision).
> is it possible that fstrim (which discards / trims unused blocks)
> is a source of this problem ?
>
>
> Are you using virtio-blk (which doesn't support it) or virtio-SCSI
> (which does)?
> Also, does the storage support trimming? Not all do.

I'm using virtio-SCSI, Ubuntu thin provision disk formatted as ext4 boot
+ ext4 root + swap.
Disk image on ext4 RAID 1.

> Y.
>  
>
>
> Thanks in advance
> Andrei
>
> ___
> Users mailing list
> Users@ovirt.org 
> http://lists.ovirt.org/mailman/listinfo/users
> 
>
>

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Weekly fstrim & Ubuntu 16.04 LTS guest freeze

2018-03-12 Thread Yaniv Kaul
On Mon, Mar 12, 2018 at 1:40 PM, Andrei Verovski 
wrote:

> Hi !
>
>
> I have stubborn VM (Ubuntu 16.04 LTS) which randomly freezes about each 2
> - 3 weeks at weekends (when load is close to zero).
> No updates or kernel upgrades help.
> Freeze is not detected by oVirt watchdog and VM is not automatically
> restarted.
>
> Since it happens only on weekends, I suspect some weekly cron job may
> cause this.
> Ubuntu 16.04 LTS is installed on qcow2 disk image (thin provision).
> is it possible that fstrim (which discards / trims unused blocks) is a
> source of this problem ?
>

Are you using virtio-blk (which doesn't support it) or virtio-SCSI (which
does)?
Also, does the storage support trimming? Not all do.
Y.


>
> Thanks in advance
> Andrei
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Weekly fstrim & Ubuntu 16.04 LTS guest freeze

2018-03-12 Thread Andrei Verovski
Hi !


I have stubborn VM (Ubuntu 16.04 LTS) which randomly freezes about each 2 - 3 
weeks at weekends (when load is close to zero).
No updates or kernel upgrades help.
Freeze is not detected by oVirt watchdog and VM is not automatically restarted.

Since it happens only on weekends, I suspect some weekly cron job may cause 
this.
Ubuntu 16.04 LTS is installed on qcow2 disk image (thin provision).
is it possible that fstrim (which discards / trims unused blocks) is a source 
of this problem ?

Thanks in advance
Andrei

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users