From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 26 01:39:23 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0AA191065672 for ; Thu, 26 Mar 2009 01:39:23 +0000 (UTC) (envelope-from psteele@maxiscale.com) Received: from exprod7og109.obsmtp.com (exprod7og109.obsmtp.com [64.18.2.171]) by mx1.freebsd.org (Postfix) with SMTP id 98BE98FC14 for ; Thu, 26 Mar 2009 01:39:22 +0000 (UTC) (envelope-from psteele@maxiscale.com) Received: from source ([209.85.198.233]) by exprod7ob109.postini.com ([64.18.6.12]) with SMTP ID DSNKScrcyh7LM+uNkWAHEnLr1n7z1Cmnbn8w@postini.com; Wed, 25 Mar 2009 18:39:22 PDT Received: by rv-out-0506.google.com with SMTP id g9so337825rvb.5 for ; Wed, 25 Mar 2009 18:39:21 -0700 (PDT) Received: by 10.141.29.21 with SMTP id g21mr128238rvj.198.1238031561275; Wed, 25 Mar 2009 18:39:21 -0700 (PDT) Received: from localhost ([76.231.178.131]) by mx.google.com with ESMTPS id k2sm406609rvb.4.2009.03.25.18.39.20 (version=SSLv3 cipher=RC4-MD5); Wed, 25 Mar 2009 18:39:20 -0700 (PDT) Date: Wed, 25 Mar 2009 18:38:25 -0700 (PDT) From: Peter Steele To: freebsd-hackers@freebsd.org Message-ID: <3084677.261238031500941.JavaMail.HALO$@halo> In-Reply-To: <21432774.241238031049378.JavaMail.HALO$@halo> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: WARNING: Expected rawoffset 0, found 63? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2009 01:39:23 -0000 I posted this on the questions list but didn't get a lot of traction. I've created GEOM mirrored file systems on two slices of my system's drives and everything seems to be working, but I get the warning s WARNING: Expected rawoffset 0, found 63 WARNING: Expected rawoffset 0, found 50332464 when the mirrors are being created. These correspond to the offsets for these slices in the partition table: # fdisk -p ad4 # /dev/ad4 g c484521 h16 s63 p 1 0xa5 63 50332401 a 1 p 2 0xa5 50332464 16778160 p 3 0xa5 67110624 421285536 Partition three is not mirror, just partitions 1 and 2. I use the following command to create the slice 1 mirror: gmirror label -v -n -b round-robin s1 and a similar one for slice 2. Additional drives are added to this mirror after the data has been copied to the mirrored file systems. The disks are setup with the required labels, including making sure the c partition is reduced in size by one sector. E.g.: # bsdlabel ad4s1 # /dev/ad4s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 10485760 16 4.2BSD 2048 16384 28528 c: 50332400 0 unused 0 0 # "raw" part, don't edit d: 8388608 10485776 4.2BSD 2048 16384 28528 e: 31457280 18874384 4.2BSD 2048 16384 28528 bsdlabel: partition c doesn't cover the whole unit! bsdlabel: An incorrect partition c may cause problems for standard system utilities # bsdlabel ad4s2 # /dev/ad4s2: 8 partitions: # size offset fstype [fsize bsize bps/cpg] b: 16778143 16 swap c: 16778159 0 unused 0 0 # "raw" part, don't edit bsdlabel: partition c doesn't cover the whole unit! bsdlabel: An incorrect partition c may cause problems for standard system utilities So as far as I can tell I have everything configured the way it should be and everything appears to be working fine, but these warnings worry me. Should I be worried?