public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* Shutdown filesystem when a thin pool become full
@ 2017-05-22 14:25 Gionatan Danti
  2017-05-22 23:09 ` Carlos Maiolino
  2017-05-23 13:24 ` Eric Sandeen
  0 siblings, 2 replies; 30+ messages in thread
From: Gionatan Danti @ 2017-05-22 14:25 UTC (permalink / raw)
  To: linux-xfs; +Cc: g.danti

Hi all,
I have a question regarding how to automatically shutdown (or put in 
read-only mode) an XFS filesystem which reside on a full thin pool.

Background info: when a thin pool become full, it will deny any new 
unallocated writes, but will continue to allow writes to 
already-allocated storage chunks. So, it behave as a badly damaged disk, 
where some places can be written, but others throw an error.

Playing with dmsetup table it is possible to deny *all* I/O to the 
volume, but it require careful monitor and a sensible script to do the 
right thing (tm).

 From my testing, it happear that XFS will shutdown itself when a 
metadata write fails, however, failed *data* update will continue 
without triggering any filesystem response. Is this by design? Can I do 
something about that?

As a side note, I perfectly understand that async writes should *not* 
put the filesystem in suspended state; however, I found this behavior 
for synchronized writes also.

Thanks.

-- 
Danti Gionatan
Supporto Tecnico
Assyoma S.r.l. - www.assyoma.it
email: g.danti@assyoma.it - info@assyoma.it
GPG public key ID: FF5F32A8

^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2017-06-21 10:39 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-22 14:25 Shutdown filesystem when a thin pool become full Gionatan Danti
2017-05-22 23:09 ` Carlos Maiolino
2017-05-23 10:56   ` Gionatan Danti
2017-05-23 11:01     ` Gionatan Danti
2017-05-23 12:27       ` Carlos Maiolino
2017-05-23 20:05         ` Gionatan Danti
2017-05-23 21:33           ` Eric Sandeen
2017-05-24 17:52             ` Gionatan Danti
2017-06-13  9:09           ` Gionatan Danti
2017-06-15 11:51             ` Gionatan Danti
2017-06-15 13:14               ` Carlos Maiolino
2017-06-15 14:10                 ` Carlos Maiolino
2017-06-15 15:04                   ` Gionatan Danti
2017-06-20 10:19                     ` Gionatan Danti
2017-06-20 11:05                     ` Carlos Maiolino
2017-06-20 15:03                       ` Gionatan Danti
2017-06-20 15:28                         ` Brian Foster
2017-06-20 15:34                           ` Luis R. Rodriguez
2017-06-20 17:01                             ` Brian Foster
2017-06-20 15:55                           ` Gionatan Danti
2017-06-20 17:02                             ` Brian Foster
2017-06-20 18:43                               ` Gionatan Danti
2017-06-21  9:44                                 ` Carlos Maiolino
2017-06-21 10:39                                   ` Gionatan Danti
2017-06-21  9:53                                 ` Brian Foster
2017-05-23 12:11     ` Carlos Maiolino
2017-05-23 13:24 ` Eric Sandeen
2017-05-23 20:23   ` Gionatan Danti
2017-05-24  7:38     ` Carlos Maiolino
2017-05-24 17:50       ` Gionatan Danti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox