From mboxrd@z Thu Jan 1 00:00:00 1970 From: Milan Broz Subject: Re: FW: the mirror log is NOT kept on disk Date: Mon, 21 Mar 2011 14:26:40 +0100 Message-ID: <4D875210.7010501@redhat.com> References: Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: device-mapper development List-Id: dm-devel.ids On 03/21/2011 02:10 PM, Eli Malul wrote: > But I still do not understand how should I create a mapped device > with dmsetup tool which wouldl survive crash/reboot. You cannot do that without implementing persistent metadata handling yourself. Use LVM here. dmsetup is simple wrapper to DM-ioctl, low level utility. LVM is based on top of that and solves all the problems with persistent metadata you just found. Milan