From owner-freebsd-current@FreeBSD.ORG Tue Jun 30 15:30:01 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BBE631065672; Tue, 30 Jun 2009 15:30:00 +0000 (UTC) (envelope-from lopez.on.the.lists@yellowspace.net) Received: from mail.yellowspace.net (mail.yellowspace.net [80.190.200.164]) by mx1.freebsd.org (Postfix) with ESMTP id 6A0968FC1C; Tue, 30 Jun 2009 15:30:00 +0000 (UTC) (envelope-from lopez.on.the.lists@yellowspace.net) Received: from [192.168.178.22] ([93.207.111.137]) (AUTH: CRAM-MD5 lopez.on.the.lists@yellowspace.net, TLS: TLSv1/SSLv3, 128bits, AES128-SHA) by mail.yellowspace.net with esmtp; Tue, 30 Jun 2009 17:19:53 +0200 id 00495747.000000004A4A2D19.00007611 Message-Id: <0AB0471B-8C3C-422E-BFAB-49C5F89448E2@yellowspace.net> From: Lorenzo Perone To: Pawel Jakub Dawidek In-Reply-To: <20090628084957.GB4159@garage.freebsd.pl> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Tue, 30 Jun 2009 17:19:52 +0200 References: <20090625110253.GA31443@mech-cluster238.men.bris.ac.uk> <10FCC74D-6D46-4112-AD89-BBB4C5933957@mac.com> <2FFFB36F-EFA3-4D92-98A3-692BA2D6F63E@mac.com> <20090628084957.GB4159@garage.freebsd.pl> X-Mailer: Apple Mail (2.935.3) Cc: freebsd-current@freebsd.org, freebsd-questions@freebsd.org Subject: Re: gmirror gm0 destroyed on shutdown; GPT corrupt X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jun 2009 15:30:02 -0000 Hi, > On 28.06.2009, at 10:49, Pawel Jakub Dawidek wrote: > >> .... I for one never put mirror on >> already partitioned disk. Although it is sometimes safe to use the >> last >> sector. Gjournal already looks for UFS and if UFS is in place, it >> figures out if the last sector is in use - it isn't if partition >> size is >> not multiple of UFS block size. >> does this actually also mean that gmirror used on a partition (eg mirroring two partitions of two different disks) is not recommended and is going to write its metadata always on the last sector of the disk, instead of the last sector of the partition? regards, Lorenzo