From owner-freebsd-fs@FreeBSD.ORG Mon Aug 11 19:33:43 2014 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B47328E9 for ; Mon, 11 Aug 2014 19:33:43 +0000 (UTC) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [IPv6:2607:f3e0:0:1::12]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "smarthost.sentex.ca", Issuer "smarthost.sentex.ca" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 74BE0288E for ; Mon, 11 Aug 2014 19:33:43 +0000 (UTC) Received: from [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a] (saphire3.sentex.ca [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a]) by smarthost1.sentex.ca (8.14.9/8.14.9) with ESMTP id s7BJXdsF017468 for ; Mon, 11 Aug 2014 15:33:39 -0400 (EDT) (envelope-from mike@sentex.net) Message-ID: <53E91A98.3050905@sentex.net> Date: Mon, 11 Aug 2014 15:33:44 -0400 From: Mike Tancsa Organization: Sentex Communications User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: freebsd-fs@freebsd.org Subject: Re: missing partition labels ? References: <53E90B92.6060904@sentex.net> In-Reply-To: <53E90B92.6060904@sentex.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.74 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Aug 2014 19:33:43 -0000 adding kern.geom.label.disk_ident.enable="0" to /boot/loader.conf fixed the issue. ---Mike On 8/11/2014 2:29 PM, Mike Tancsa wrote: > For some reason, when I moved my disks to a new chassis, the partition > lables disappeared from my disks. The server boots up fine, as it is a > mirrored zfs system. > > zpool status shows > > pool: zroot > state: ONLINE > scan: none requested > config: > > NAME STATE READ WRITE CKSUM > zroot ONLINE 0 0 0 > mirror-0 ONLINE 0 0 0 > diskid/DISK-WD-WCC3F4085561p3 ONLINE 0 0 0 > diskid/DISK-WD-WCC3F4063296p3 ONLINE 0 0 0 > > errors: No known data errors > > which is correct. > > However, I no longer see the partition lables associated with /dev/adap# > > It used to look like > # ls -l /dev/ada* > crw-r----- 1 root operator - 0x64 Aug 8 17:32 /dev/ada0 > crw-r----- 1 root operator - 0x67 Aug 8 17:32 /dev/ada0p1 > crw-r----- 1 root operator - 0x69 Aug 8 17:32 /dev/ada0p2 > crw-r----- 1 root operator - 0x6b Aug 8 17:32 /dev/ada0p3 > crw-r----- 1 root operator - 0x6d Aug 11 12:45 /dev/ada0p4 > crw-r----- 1 root operator - 0x6f Aug 8 17:32 /dev/ada1 > crw-r----- 1 root operator - 0x76 Aug 8 17:32 /dev/ada1p1 > crw-r----- 1 root operator - 0x78 Aug 8 17:32 /dev/ada1p2 > crw-r----- 1 root operator - 0x7a Aug 8 17:32 /dev/ada1p3 > crw-r----- 1 root operator - 0x7c Aug 11 12:45 /dev/ada1p4 > > now it looks like > > # ls -l /dev/ada* > crw-r----- 1 root operator - 0x5b Aug 11 14:18 /dev/ada0 > crw-r----- 1 root operator - 0x5f Aug 11 14:18 /dev/ada1 > crw-r----- 1 root operator - 0x67 Aug 11 14:18 /dev/ada2 > crw-r----- 1 root operator - 0x73 Aug 11 14:18 /dev/ada3 > > The problem is, I cant get HAST to use the diskid so my replication is > broken now. > > > # ls -l diskid/ > total 1 > dr-xr-xr-x 2 root wheel - 512 Aug 11 14:18 . > dr-xr-xr-x 9 root wheel - 512 Aug 11 14:18 .. > crw-r----- 1 root operator - 0x5e Aug 11 14:18 DISK-S1ANNSAF225153X > crw-r----- 1 root operator - 0x69 Aug 11 14:18 DISK-S1ANNSAF225154J > crw-r----- 1 root operator - 0x7d Aug 11 14:18 DISK-WD-WCC3F4063296 > crw-r----- 1 root operator - 0x86 Aug 11 14:18 DISK-WD-WCC3F4063296p1 > crw-r----- 1 root operator - 0x87 Aug 11 14:18 DISK-WD-WCC3F4063296p2 > crw-r----- 1 root operator - 0x88 Aug 11 14:18 DISK-WD-WCC3F4063296p3 > crw-r----- 1 root operator - 0x89 Aug 11 14:18 DISK-WD-WCC3F4063296p4 > crw-r----- 1 root operator - 0x6a Aug 11 14:18 DISK-WD-WCC3F4085561 > crw-r----- 1 root operator - 0x75 Aug 11 14:18 DISK-WD-WCC3F4085561p1 > crw-r----- 1 root operator - 0x76 Aug 11 14:18 DISK-WD-WCC3F4085561p2 > crw-r----- 1 root operator - 0x77 Aug 11 14:18 DISK-WD-WCC3F4085561p3 > crw-r----- 1 root operator - 0x78 Aug 11 14:18 DISK-WD-WCC3F4085561p4 > > It errors out with > > [disk1] (secondary) Unable to open diskid/DISK-WD-WCC3F4085561p4: No > such file or directory. > > Somehow the geom name got changed ? > > Geom name: diskid/DISK-WD-WCC3F4063296 > modified: false > state: OK > fwheads: 16 > fwsectors: 63 > last: 1953525134 > first: 34 > entries: 128 > scheme: GPT > Providers: > 1. Name: diskid/DISK-WD-WCC3F4063296p1 > Mediasize: 110592 (108K) > Sectorsize: 512 > Stripesize: 4096 > Stripeoffset: 0 > Mode: r0w0e0 > rawuuid: ecad0d84-143b-11e4-8068-001e6784c8ca > rawtype: 83bd6b9d-7f41-11dc-be0b-001560b84f0f > label: (null) > length: 110592 > offset: 20480 > type: freebsd-boot > index: 1 > end: 255 > start: 40 > 2. Name: diskid/DISK-WD-WCC3F4063296p2 > Mediasize: 8589934592 (8.0G) > Sectorsize: 512 > Stripesize: 4096 > Stripeoffset: 0 > Mode: r0w0e0 > rawuuid: ecc230d3-143b-11e4-8068-001e6784c8ca > rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b > label: (null) > length: 8589934592 > offset: 131072 > type: freebsd-swap > index: 2 > end: 16777471 > start: 256 > 3. Name: diskid/DISK-WD-WCC3F4063296p3 > Mediasize: 214748364800 (200G) > Sectorsize: 512 > Stripesize: 4096 > Stripeoffset: 0 > Mode: r1w1e1 > rawuuid: ecdb4192-143b-11e4-8068-001e6784c8ca > rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b > label: (null) > length: 214748364800 > offset: 8590065664 > type: freebsd-zfs > index: 3 > end: 436207871 > start: 16777472 > 4. Name: diskid/DISK-WD-WCC3F4063296p4 > Mediasize: 776866435072 (724G) > Sectorsize: 512 > Stripesize: 4096 > Stripeoffset: 0 > Mode: r0w0e0 > rawuuid: 5450e916-1461-11e4-93aa-001e6784c8ca > rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b > label: (null) > length: 776866435072 > offset: 223338430464 > type: freebsd-zfs > index: 4 > end: 1953525127 > start: 436207872 > Consumers: > 1. Name: diskid/DISK-WD-WCC3F4063296 > Mediasize: 1000204886016 (932G) > Sectorsize: 512 > Stripesize: 4096 > Stripeoffset: 0 > Mode: r1w1e2 > > > > ---Mike > > -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/