From owner-freebsd-questions@freebsd.org Thu Sep 7 07:34:23 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 12633E0E27D for ; Thu, 7 Sep 2017 07:34:23 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from smtp3.cretaforce.gr (smtp3.cretaforce.gr [138.201.155.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.cretaforce.gr", Issuer "RapidSSL SHA256 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8A08E6461A for ; Thu, 7 Sep 2017 07:34:22 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from server1.cretaforce.gr (server1.cretaforce.gr [138.201.248.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.cretaforce.gr", Issuer "RapidSSL SHA256 CA" (not verified)) by smtp3.cretaforce.gr (Postfix) with ESMTPS id 9C74E2077F for ; Thu, 7 Sep 2017 10:34:20 +0300 (EEST) Received: from 192.168.2.3 (athedsl-279532.home.otenet.gr [85.73.139.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: chris@cretaforce.gr) by server1.cretaforce.gr (Postfix) with ESMTPSA id 5D34F2732F for ; Thu, 7 Sep 2017 10:34:20 +0300 (EEST) From: Christos Chatzaras Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: problem booting from 2nd drive Date: Thu, 7 Sep 2017 10:34:19 +0300 References: <4B828DE3-C784-45A9-A01B-F944DAFE1601@cretaforce.gr> <8a798574-5d68-d6a3-259f-e971d1e30e4e@fjl.co.uk> To: freebsd-questions@freebsd.org In-Reply-To: <8a798574-5d68-d6a3-259f-e971d1e30e4e@fjl.co.uk> Message-Id: X-Mailer: Apple Mail (2.3273) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2017 07:34:23 -0000 > > Why not dump out the GPT on both and take a look? > gpart show => 40 7814037088 ada0 GPT (3.6T) 40 472 1 freebsd-boot (236K) 512 8388608 2 freebsd-ufs (4.0G) 8389120 134217728 3 freebsd-swap (64G) 142606848 33554432 4 freebsd-ufs (16G) 176161280 134217728 5 freebsd-ufs (64G) 310379008 33554432 6 freebsd-ufs (16G) 343933440 1073741824 7 freebsd-ufs (512G) 1417675264 6396361856 8 freebsd-ufs (3.0T) 7814037120 8 - free - (4.0K) => 40 7814037088 ada1 GPT (3.6T) 40 472 1 freebsd-boot (236K) 512 8388608 2 freebsd-ufs (4.0G) 8389120 134217728 3 freebsd-swap (64G) 142606848 33554432 4 freebsd-ufs (16G) 176161280 134217728 5 freebsd-ufs (64G) 310379008 33554432 6 freebsd-ufs (16G) 343933440 1073741824 7 freebsd-ufs (512G) 1417675264 6396361856 8 freebsd-ufs (3.0T) 7814037120 8 - free - (4.0K) dd if=/dev/ada0 of=./bootcode_ada0 count=1 1+0 records in 1+0 records out 512 bytes transferred in 0.013218 secs (38736 bytes/sec) dd if=/dev/ada1 of=./bootcode_ada1 count=1 1+0 records in 1+0 records out 512 bytes transferred in 0.012451 secs (41120 bytes/sec) diff bootcode_ada0 bootcode_ada1 diff shows the files have no differences From owner-freebsd-questions@freebsd.org Thu Sep 7 07:09:39 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 66C7DE0C9B4 for ; Thu, 7 Sep 2017 07:09:39 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from smtp3.cretaforce.gr (smtp3.cretaforce.gr [138.201.155.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.cretaforce.gr", Issuer "RapidSSL SHA256 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DD2EC83493 for ; Thu, 7 Sep 2017 07:09:38 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from server1.cretaforce.gr (server1.cretaforce.gr [138.201.248.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.cretaforce.gr", Issuer "RapidSSL SHA256 CA" (not verified)) by smtp3.cretaforce.gr (Postfix) with ESMTPS id 84194207DF for ; Thu, 7 Sep 2017 10:09:35 +0300 (EEST) Received: from 192.168.2.3 (athedsl-279532.home.otenet.gr [85.73.139.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: chris@cretaforce.gr) by server1.cretaforce.gr (Postfix) with ESMTPSA id 563E72734A for ; Thu, 7 Sep 2017 10:09:35 +0300 (EEST) From: Christos Chatzaras Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: problem booting from 2nd drive Date: Thu, 7 Sep 2017 10:09:34 +0300 References: <4B828DE3-C784-45A9-A01B-F944DAFE1601@cretaforce.gr> To: freebsd-questions@freebsd.org In-Reply-To: Message-Id: <0397261D-7123-4021-984D-D07F5A3FE08C@cretaforce.gr> X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2017 07:09:39 -0000 > P.P.S. Dumb question - when you say you create a geom mirror, I assume = this isn't for the whole disk. If you did try this I'd expect it to = throw an error saying that the backup GPT was corrupt on ada0, but you = said it booted normally. If my assumption is wrong, you need to read up = on GPT and Geom Mirror compatibility. Yes see my previous message. I do seperate gmirror for each partition so = GPT and gmirror don't write both at the last part of the disk.=