From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752850AbbEHSEm (ORCPT ); Fri, 8 May 2015 14:04:42 -0400 Received: from mout.gmx.net ([212.227.17.21]:52999 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751097AbbEHSEk (ORCPT ); Fri, 8 May 2015 14:04:40 -0400 Message-ID: <554CFAB5.6050004@gmx.de> Date: Fri, 08 May 2015 20:04:37 +0200 From: Dennis Ullrich User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: linux-kernel@vger.kernel.org Subject: Kernel Live Patch... Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:0wItMtho2Shs5h77AudXRaL3TzBlt0SyGUMwVD0GkF9lSbr5ABm h5U5zejtSrjDwHdkByeTlWtJzlix6Tv5IryThufcrXU0IznOm0t0ZyfoQ3z7qFA1HMlq9tE cfQOtMPi4JZ2T27S9tJcu0+gcfPorm+8Ysv0J+fh5Wjm01eJVq0DTrGVd+anqF8pW7vuzXN cNGSDsrMSgbyt8MIkx3iQ== X-UI-Out-Filterresults: notjunk:1; Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dear all, I want to make a proposal which is similar to online kernel patching without reboot... The idea is to do something which could work similar to the live kernel patching method. I don't know how difficult it would be, to implement my proposal, but here it comes. For example I have a HDD with one partiton and a Oracle DB on the ext4 filesystem. I want to migrate it live to another storage (for example a LPFC LUN via Multipath) with all processes etc. on the FS. My idea is to modify the IOStack that it is able to make a "bitwise" copy and "simply" move the Filesystem to its new place on a blockdevice. The point is, to have control about the copy-progress and tell the IOStack which device is to use for the requested data, on every access. When the copy is done, the admin should be able to remove the old drive. All processes should be on the new blockdevice after the movement. What do you think about this idea? Best regards, Dennis P.S. I know that there are solutions (md, lvm) to do this, if its configured in the first place. But you will need a downtime for the final switch between new and old (because of the processes). But in this case I really mean a function which is independent from any partiton table, filesystem etc. and works only on blockdevices.