Re: Unable to un-cache logical volume when chunk size is over 1MiB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Gionatan, 

The system with the issue is with  writeback cache mode enabled. 

Best regards, 

Ryan 

On Mon, 25 Jun 2018, 18:19 Gionatan Danti, <g.danti@xxxxxxxxxx> wrote:
Il 24-06-2018 21:18 Ryan Launchbury ha scritto:
> In testing, forcibly removing the cache, via editing the LVM config
> file has caused extensive XFS filesystem corruption, even when backing
> up the metadata first and restoring after the cache device is missing.
> Any advice on how to safely uncache the volume would be massively
> appreciated.

It is my understanding that a writethrough cache should *never* have any
data that are not on the backing volumes already.
In other words, forcibly removing a writethough cache (ie: disconnetting
the physical cache device) should not cause any harms to
filesystem/data.

Can you show the output of "dmsetup table"?
Thanks.

--
Danti Gionatan
Supporto Tecnico
Assyoma S.r.l. - www.assyoma.it
email: g.danti@xxxxxxxxxx - info@xxxxxxxxxx
GPG public key ID: FF5F32A8
_______________________________________________
linux-lvm mailing list
linux-lvm@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux