From owner-freebsd-geom@FreeBSD.ORG Sun Feb 19 12:10:32 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D454C16A420 for ; Sun, 19 Feb 2006 12:10:32 +0000 (GMT) (envelope-from rik@inse.ru) Received: from mail.inse.ru (inse.ru [144.206.128.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 761B943D58 for ; Sun, 19 Feb 2006 12:10:29 +0000 (GMT) (envelope-from rik@inse.ru) Received: from inse.ru (www.inse.ru [144.206.128.1]) by mail.inse.ru (Postfix) with ESMTP id 0396A33C27; Sun, 19 Feb 2006 15:10:27 +0300 (MSK) Message-ID: <43F8605F.1050803@inse.ru> Date: Sun, 19 Feb 2006 15:11:11 +0300 From: Roman Kurakin User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.2.1) Gecko/20030426 X-Accept-Language: ru-ru, en MIME-Version: 1.0 To: Joerg Pernfuss References: <43F744FB.2060503@inse.ru> <20060218171638.6ac81f82@loki> <43F79303.5050808@inse.ru> <20060218231708.6240d912@loki> In-Reply-To: <20060218231708.6240d912@loki> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-geom@freebsd.org Subject: Re: Disk copy X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Feb 2006 12:10:32 -0000 Joerg Pernfuss: >On Sun, 19 Feb 2006 00:34:59 +0300 >Roman Kurakin wrote: > > > >>How this will deal with partition table? File is not partition copy, >>it is full copy of entire disk with partition table etc. >> >> > >It won't deal with anything. It will simply provide the file as a >device node. If the file contains valid file system structures, then >GEOM will create these (similar to a usb drive getting plugged in). > Thanks! I was unaware of such behaviour. It is really works and I can access my backup images. rik >~/test> ls -l >-rw-r--r-- 1 elessar users 20971520 18 Feb 23:09 container > >~/test> file container >container: x86 boot sector > >~/test> sudo mdconfig -a -t vnode -f container -u 0 > >~/test> ls /dev/md0* >/dev/md0 /dev/md0s1 /dev/md0s1a /dev/md0s1c > >~/test> sudo mdconfig -d -u 0 >~/test> > >