From mboxrd@z Thu Jan 1 00:00:00 1970 References: <4b4d56ef-3127-212b-0e68-00b595faa241@redhat.com> <0535f3d744145eceea9121b1e68b622d@assyoma.it> <4fb6f017d9734892eff6b0ef544d99fc@assyoma.it> <20ddda25-dacf-f4e2-8df4-f9bed1c62fe7@redhat.com> <921a6b9c-103e-3c71-97d2-44ceb5a6bf87@redhat.com> <20170512134157.GA2523@nim> <5358d81c-bc94-8ce1-24e1-a5795502fffc@assyoma.it> <24d541f6-2c99-2c39-f398-6290275f0430@redhat.com> From: Zdenek Kabelac Message-ID: Date: Tue, 16 May 2017 12:54:01 +0200 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [linux-lvm] Snapshot behavior on classic LVM vs ThinLVM Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: LVM general discussion and development , Gionatan Danti Dne 16.5.2017 v 09:53 Gionatan Danti napsal(a): > On 15/05/2017 17:33, Zdenek Kabelac wrote:> Ever tested this: >> >> mount -o errors=remount-ro,data=journal ? > > Yes, I tested it - same behavior: a full thinpool does *not* immediately put > the filesystem in a read-only state, even when using sync/fsync and > "errorwhenfull=y". Hi Somehow I think you've rather made a mistake during your test (or you have buggy kernel). Can you take full log of your test show all options are properly applied i.e. dmesg log + /proc/self/mountinfo report showing all options used for mountpoint and kernel version in use. IMHO you should get something like this in dmesg once your pool gets out of space and starts to return error on write: ---- Aborting journal on device dm-4-8. EXT4-fs error (device dm-4): ext4_journal_check_start:60: Detected aborted journal EXT4-fs (dm-4): Remounting filesystem read-only ---- Clearly when you specify 'data=journal' even write failure of data will cause journal error and thus remount-ro reaction (it least on my box does it) - but such usage is noticeable slower compared with 'ordered' mode. Regards Zdenek