From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from tansi.org (ns.km10532-04.keymachine.de [87.118.102.195]) by mail.saout.de (Postfix) with ESMTP for ; Sat, 26 Jun 2010 20:36:33 +0200 (CEST) Received: from gatewagner.dyndns.org (84-74-164-239.dclient.hispeed.ch [84.74.164.239]) by tansi.org (Postfix) with ESMTPA id 3FC122128007 for ; Sat, 26 Jun 2010 20:36:33 +0200 (CEST) Date: Sat, 26 Jun 2010 20:36:32 +0200 From: Arno Wagner Message-ID: <20100626183632.GA30731@tansi.org> References: <1277553580.29791.40.camel@fermat.scientia.net> <20100626125223.GA26185@tansi.org> <1277562112.3245.40.camel@fermat.scientia.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1277562112.3245.40.camel@fermat.scientia.net> Subject: Re: [dm-crypt] FYI: how to (really) cleanly shutdown the system when root is on multiple stacked block devices List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de On Sat, Jun 26, 2010 at 04:21:52PM +0200, Christoph Anton Mitterer wrote: > On Sat, 2010-06-26 at 14:52 +0200, Arno Wagner wrote: > > As far as I know, the "remount,ro" does a complete flush, just > > as an umount does. > But that doesn't answer, whether the flush propagates through all > layers... it could be that one layer has to wait (e.g. lvm, when using > clustering)... Umount does propagate. If it ever does not, the disk layer will be basically unusable. Until then, don't worry about it. > And I'm not even sure if flushing alone is enough,... or where one needs > something like barriers... Barriesrs are a filesystem concept and play no role here. Flushing ("fdatasync" or "fsunc") is not enough in some cases, hence the ro-remount, which is. Arno -- Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: arno@wagner.name GnuPG: ID: 1E25338F FP: 0C30 5782 9D93 F785 E79C 0296 797F 6B50 1E25 338F ---- Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans If it's in the news, don't worry about it. The very definition of "news" is "something that hardly ever happens." -- Bruce Schneier