From owner-freebsd-geom@FreeBSD.ORG Mon Nov 28 11:02:22 2005 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 85D1316A41F for ; Mon, 28 Nov 2005 11:02:22 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C3C2543D79 for ; Mon, 28 Nov 2005 11:02:03 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jASB215D088137 for ; Mon, 28 Nov 2005 11:02:01 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jASB20OK088124 for freebsd-geom@freebsd.org; Mon, 28 Nov 2005 11:02:00 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 28 Nov 2005 11:02:00 GMT Message-Id: <200511281102.jASB20OK088124@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-geom@FreeBSD.org Cc: Subject: Current problem reports assigned to you 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: Mon, 28 Nov 2005 11:02:22 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2005/01/21] kern/76538 geom [gbde] nfs-write on gbde partition stalls o [2005/08/04] kern/84556 geom [geom] GBDE-encrypted swap causes panic a o [2005/10/16] kern/87544 geom [gbde] mmaping large files on a gbde file o [2005/11/16] kern/89102 geom [geom_vfs] [panic] panic when forced unmo 4 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2005/02/26] bin/78131 geom gbde "destroy" not working. o [2005/03/26] kern/79251 geom [2TB] newfs fails on 2.6TB gbde device 2 problems total. From owner-freebsd-geom@FreeBSD.ORG Mon Nov 28 13:01:12 2005 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 AEAC416A41F for ; Mon, 28 Nov 2005 13:01:12 +0000 (GMT) (envelope-from kir@fm.com.ua) Received: from kserver.kiev.ua (kserver.kiev.ua [213.186.114.4]) by mx1.FreeBSD.org (Postfix) with SMTP id 014E443D4C for ; Mon, 28 Nov 2005 13:01:10 +0000 (GMT) (envelope-from kir@fm.com.ua) Received: (qmail 93900 invoked by uid 89); 28 Nov 2005 15:01:09 +0200 Received: from unknown (HELO kirill.server.sov) (postmaster@kserver.kiev.ua@83.170.235.160) by kserver.kiev.ua with SMTP; 28 Nov 2005 15:01:09 +0200 Date: Mon, 28 Nov 2005 14:59:33 +0200 From: Kirill Klimov X-Mailer: The Bat! (v1.62i) X-Priority: 3 (Normal) Message-ID: <1011050708278.20051128145933@kserver.kiev.ua> To: freebsd-geom@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Status: CLEAN Subject: GEOM mirror newly added HDD booting problem X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Kirill Klimov List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Nov 2005 13:01:12 -0000 Hi list I'm having GEOM mirror setuped on slices of 2 disks. It was setuped as described at http://people.freebsd.org/~rse/mirror/ It has 2 consumers: ad0s1 and ad2s1. # gmirror status Name Status Components mirror/gm0s1 COMPLETE ad0s1 ad2s1 I was needed to replace ad2 with new HDD. What I've done: - removed HDD from the system (physically) - removed it from RAID (gmirror forget gm0s1) - added new HDD to the system (physically). It has been marked as ad2. - dd if=/dev/zero of=/dev/ad2 bs=512 count=79 - created 2 partitions with fdisk. 1st one exactly the same size as ad0s1 also setuped ad2s1 as active slice. - added newly created slice to the mirror (gmirror insert gm0s1 /dev/ad2s1) Wait until new consumer has been synchronised, so now RAID is complete: 14:33(root@box):[/root]# gmirror status Name Status Components mirror/gm0s1 COMPLETE ad0s1 ad2s1 The problem: I wanted to test new configuration - has rebooted the system and turned off 1st HDD (ad0): I wasn't able to boot having following error on boot stage 3: can't load 'kernel'. lsdev shows: disk1s1: FFS bad disklabel So I could reboot only with HDD1. It boots, mirror loads, both RAID consumers are active. I've also tried creating only 1 slice on new HDD (ad2s1 covering the whole disk), added that to mirror and has absolutely the same problem (can't boot from new HDD). Don't you know what is the reason of problem and how I could fix that? Or at least what I could try to do to solve it. Thank you for your time. Any help is highly appreciated. --------------------- Some additional info: 14:49(root@box):[/root]# uname -mpv FreeBSD 5.4-RELEASE-p1 #0: Thu Jul 14 11:56:13 EEST 2005 root@box.sov:/usr/obj/usr/src/sys/LS7 i386 i386 14:49(root@box):[/root]# fdisk ad0 ******* Working on device /dev/ad0 ******* parameters extracted from in-core disklabel are: cylinders=155061 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=155061 heads=16 sectors/track=63 (1008 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 78156225 (38162 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 0/ sector 63 The data for partition 2 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 78156288, size 78140097 (38154 Meg), flag 0 beg: cyl 1023/ head 255/ sector 63; end: cyl 1023/ head 254/ sector 63 The data for partition 3 is: The data for partition 4 is: 14:52(root@box):[/root]# fdisk ad2 ******* Working on device /dev/ad2 ******* parameters extracted from in-core disklabel are: cylinders=155061 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=155061 heads=16 sectors/track=63 (1008 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 78156225 (38162 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 735/ head 15/ sector 63 The data for partition 2 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 78156288, size 78139152 (38153 Meg), flag 0 beg: cyl 736/ head 0/ sector 1; end: cyl 430/ head 15/ sector 63 The data for partition 3 is: The data for partition 4 is: --------------------- -- Best regards Kirill From owner-freebsd-geom@FreeBSD.ORG Mon Nov 28 13:41:12 2005 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 A571516A41F for ; Mon, 28 Nov 2005 13:41:12 +0000 (GMT) (envelope-from V.Konrad@lse.ac.uk) Received: from exic6.lse.ac.uk (exic6.lse.ac.uk [158.143.217.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id C5F9D43D46 for ; Mon, 28 Nov 2005 13:41:08 +0000 (GMT) (envelope-from V.Konrad@lse.ac.uk) Received: from ExF1.lse.ac.uk ([158.143.216.11]) by exic6.lse.ac.uk with Microsoft SMTPSVC(5.0.2195.6713); Mon, 28 Nov 2005 13:41:06 +0000 Received: exchange.lse.ac.uk 158.143.216.11 from 158.143.216.102 158.143.216.102 via HTTP with MS-WebStorage 6.0.6249 Received: 158.143.216.102 158.143.216.102 from 158.143.201.41 158.143.201.41 via HTTP with MS-WebStorage 6.0.6249 Received: from whirpool.lse.ac.uk by exchange.lse.ac.uk; 28 Nov 2005 13:41:06 +0000 From: Vladimir Konrad To: freebsd-geom@freebsd.org Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Mon, 28 Nov 2005 13:41:06 +0000 Message-Id: <1133185266.1353.5.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 X-OriginalArrivalTime: 28 Nov 2005 13:41:07.0032 (UTC) FILETIME=[624E3D80:01C5F421] Subject: re: GEOM mirror newly added HDD booting problem 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: Mon, 28 Nov 2005 13:41:12 -0000 > The problem: I wanted to test new configuration - has rebooted the > system and turned off 1st HDD (ad0): > > I wasn't able to boot having following error on boot stage 3: > > can't load 'kernel'. did you install a boot record on the new hard-disc? the boot record lives before the partitions/slices so it would not be automatically mirrored... vlad From owner-freebsd-geom@FreeBSD.ORG Mon Nov 28 15:08:32 2005 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 A209216A41F for ; Mon, 28 Nov 2005 15:08:32 +0000 (GMT) (envelope-from kir@fm.com.ua) Received: from kserver.kiev.ua (kserver.kiev.ua [213.186.114.4]) by mx1.FreeBSD.org (Postfix) with SMTP id C3D0043D77 for ; Mon, 28 Nov 2005 15:08:30 +0000 (GMT) (envelope-from kir@fm.com.ua) Received: (qmail 13806 invoked by uid 89); 28 Nov 2005 17:08:27 +0200 Received: from unknown (HELO kirill.server.sov) (postmaster@kserver.kiev.ua@83.170.235.160) by kserver.kiev.ua with SMTP; 28 Nov 2005 17:08:27 +0200 Date: Mon, 28 Nov 2005 17:08:08 +0200 From: Kirill Klimov X-Mailer: The Bat! (v1.62i) X-Priority: 3 (Normal) Message-ID: <361058422631.20051128170808@kserver.kiev.ua> To: freebsd-geom@freebsd.org In-Reply-To: <1133185266.1353.5.camel@localhost.localdomain> References: <1133185266.1353.5.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Status: CLEAN Subject: Re[2]: GEOM mirror newly added HDD booting problem X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Kirill Klimov List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Nov 2005 15:08:32 -0000 Hi, Vladimir. Thank you for answer. >> can't load 'kernel'. VK> did you install a boot record on the new hard-disc? the boot record VK> lives before the partitions/slices so it would not be automatically VK> mirrored... Yes, I have. ( fdisk -v -B -f- -i /dev/ad2 p 1 165 63 78156225 p 2 165 78156288 78139152 a 1 fdisk -B /dev/ad2 (to be sure) ) Also if that hasn't been done, that I'd got smth like 'no boot disk, replace boot disk and press any key' but booting from this disks actually starts (stages 1,2) but smth is going wrong on stage 3 ;( -- Best regards Kirill From owner-freebsd-geom@FreeBSD.ORG Mon Nov 28 16:40:51 2005 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 E85F816A41F for ; Mon, 28 Nov 2005 16:40:51 +0000 (GMT) (envelope-from V.Konrad@lse.ac.uk) Received: from exic6.lse.ac.uk (exic.lse.ac.uk [158.143.217.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id D4E2043D76 for ; Mon, 28 Nov 2005 16:40:46 +0000 (GMT) (envelope-from V.Konrad@lse.ac.uk) Received: from ExF1.lse.ac.uk ([158.143.216.11]) by exic6.lse.ac.uk with Microsoft SMTPSVC(5.0.2195.6713); Mon, 28 Nov 2005 16:40:43 +0000 Received: exchange.lse.ac.uk 158.143.216.11 from 158.143.216.102 158.143.216.102 via HTTP with MS-WebStorage 6.0.6249 Received: 158.143.216.102 158.143.216.102 from 158.143.201.41 158.143.201.41 via HTTP with MS-WebStorage 6.0.6249 Received: from whirpool.lse.ac.uk by exchange.lse.ac.uk; 28 Nov 2005 16:40:43 +0000 From: Vladimir Konrad To: Kirill Klimov In-Reply-To: <361058422631.20051128170808@kserver.kiev.ua> References: <1133185266.1353.5.camel@localhost.localdomain> <361058422631.20051128170808@kserver.kiev.ua> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Mon, 28 Nov 2005 16:40:42 +0000 Message-Id: <1133196042.1355.8.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 X-OriginalArrivalTime: 28 Nov 2005 16:40:43.0301 (UTC) FILETIME=[79766550:01C5F43A] Cc: freebsd-geom@freebsd.org Subject: Re: Re[2]: GEOM mirror newly added HDD booting problem 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: Mon, 28 Nov 2005 16:40:52 -0000 > Yes, I have. > > ( > fdisk -v -B -f- -i /dev/ad2 > p 1 165 63 78156225 > p 2 165 78156288 78139152 > a 1 > fdisk -B /dev/ad2 (to be sure) > ) plus you did: disklabel -B /dev/ad2s1 vlad From owner-freebsd-geom@FreeBSD.ORG Mon Nov 28 16:57:36 2005 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 7127F16A41F for ; Mon, 28 Nov 2005 16:57:36 +0000 (GMT) (envelope-from kirill@kserver.kiev.ua) Received: from kserver.kiev.ua (kserver.kiev.ua [213.186.114.4]) by mx1.FreeBSD.org (Postfix) with SMTP id E7D0A43D75 for ; Mon, 28 Nov 2005 16:57:26 +0000 (GMT) (envelope-from kirill@kserver.kiev.ua) Received: (qmail 29529 invoked by uid 89); 28 Nov 2005 18:57:25 +0200 Received: from unknown (HELO kirill.server.sov) (postmaster@kserver.kiev.ua@83.170.235.160) by kserver.kiev.ua with SMTP; 28 Nov 2005 18:57:24 +0200 Date: Mon, 28 Nov 2005 18:57:18 +0200 From: Kirill Klimov X-Mailer: The Bat! (v1.62i) X-Priority: 3 (Normal) Message-ID: <1131064972569.20051128185718@kserver.kiev.ua> To: freebsd-geom@freebsd.org In-Reply-To: <1133196042.1355.8.camel@localhost.localdomain> References: <1133185266.1353.5.camel@localhost.localdomain> <361058422631.20051128170808@kserver.kiev.ua> <1133196042.1355.8.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Status: CLEAN Subject: Re[4]: GEOM mirror newly added HDD booting problem X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Kirill Klimov List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Nov 2005 16:57:36 -0000 Hi, Vladimir. >> fdisk -v -B -f- -i /dev/ad2 >> p 1 165 63 78156225 >> p 2 165 78156288 78139152 >> a 1 >> fdisk -B /dev/ad2 (to be sure) VK> plus you did: VK> disklabel -B /dev/ad2s1 Have now tried this tip - it didn't help. This step isn't needed, IMO - labels on slice are mirrored with gmirror. -- Best regards Kirill From owner-freebsd-geom@FreeBSD.ORG Mon Nov 28 17:20:31 2005 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 6C70D16A41F for ; Mon, 28 Nov 2005 17:20:31 +0000 (GMT) (envelope-from V.Konrad@lse.ac.uk) Received: from exic4.lse.ac.uk (exic.lse.ac.uk [158.143.217.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9407D43D62 for ; Mon, 28 Nov 2005 17:20:30 +0000 (GMT) (envelope-from V.Konrad@lse.ac.uk) Received: from ExF1.lse.ac.uk ([158.143.216.11]) by exic4.lse.ac.uk with Microsoft SMTPSVC(5.0.2195.6713); Mon, 28 Nov 2005 17:20:28 +0000 Received: exchange.lse.ac.uk 158.143.216.11 from 158.143.216.101 158.143.216.101 via HTTP with MS-WebStorage 6.0.6249 Received: 158.143.216.101 158.143.216.101 from 158.143.201.41 158.143.201.41 via HTTP with MS-WebStorage 6.0.6249 Received: from whirpool.lse.ac.uk by exchange.lse.ac.uk; 28 Nov 2005 17:20:28 +0000 From: Vladimir Konrad To: Kirill Klimov In-Reply-To: <1131064972569.20051128185718@kserver.kiev.ua> References: <1133185266.1353.5.camel@localhost.localdomain> <361058422631.20051128170808@kserver.kiev.ua> <1133196042.1355.8.camel@localhost.localdomain> <1131064972569.20051128185718@kserver.kiev.ua> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Mon, 28 Nov 2005 17:20:28 +0000 Message-Id: <1133198428.1353.1.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 X-OriginalArrivalTime: 28 Nov 2005 17:20:29.0063 (UTC) FILETIME=[077CC970:01C5F440] Cc: freebsd-geom@freebsd.org Subject: Re: Re[4]: GEOM mirror newly added HDD booting problem 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: Mon, 28 Nov 2005 17:20:31 -0000 > Have now tried this tip - it didn't help. then i do not know... :-( > This step isn't needed, IMO - labels on slice are mirrored with > gmirror. i was not sure whether the GEOM mirrors all of the slice, as (depending on the setup) the system is prohibited to write into certain parts of the disc... vlad From owner-freebsd-geom@FreeBSD.ORG Wed Nov 30 19:01:51 2005 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 E1DF416A41F for ; Wed, 30 Nov 2005 19:01:51 +0000 (GMT) (envelope-from ivoras@fer.hr) Received: from pinus.cc.fer.hr (pinus.cc.fer.hr [161.53.73.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 54AEB43D5A for ; Wed, 30 Nov 2005 19:01:51 +0000 (GMT) (envelope-from ivoras@fer.hr) Received: from [161.53.72.113] (lara.cc.fer.hr [161.53.72.113]) by pinus.cc.fer.hr (8.12.2/8.12.2) with ESMTP id jAUJ1fFx012990 for ; Wed, 30 Nov 2005 20:01:45 +0100 (MET) Message-ID: <438DF6F4.3040905@fer.hr> Date: Wed, 30 Nov 2005 20:01:08 +0100 From: Ivan Voras User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050921) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-geom@freebsd.org Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Subject: Two patches 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: Wed, 30 Nov 2005 19:01:52 -0000 If anyone's interested, I've made two patches to GEOM-related utilities: - g_zero Normally, g_zero is a provider of a huge device made of zeros. My patch extends this to allow specifying some other byte that the device should be made of, via kern.geom.zero.byte sysctl. The usage for this is mainly for testing & poking around the system, for example when testing something geom-related on a device already erased with zeros from previous testing attempts, so to distinguish the new write's effect (or also something like a general purpose /dev/zero :) ). This is a simple patch at: http://ivoras.sharanet.org/stuff/g_zero.c.diff (it should be applied to sys/geom/zero/g_zero.c) - ggatel Ggatel is (mostly) used to export a file as a device, similar to md(4). I've added the option to log all I/O requests when they pass through the device in one of several modes: "short" - a text file that just contains the type of operation, offset and length of I/O, "long" that also hexdumps the data and "binary" that dumps the struct g_gate_ctl_io and buffer data as binary records. This is useful to record & analyze access patterns to the device (for example, coming from the filesystem layer). The archive containing source files with Makefile and the patches is at: http://ivoras.sharanet.org/stuff/ggatel.tgz I've also modified the man page :) From owner-freebsd-geom@FreeBSD.ORG Fri Dec 2 20:30:15 2005 Return-Path: X-Original-To: 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 E045B16A422; Fri, 2 Dec 2005 20:30:15 +0000 (GMT) (envelope-from cpressey@catseye.mine.nu) Received: from priv-edtnes46.telusplanet.net (defout.telus.net [199.185.220.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id B65C343D5C; Fri, 2 Dec 2005 20:30:14 +0000 (GMT) (envelope-from cpressey@catseye.mine.nu) Received: from catseye.biscuit.boo ([154.20.76.195]) by priv-edtnes46.telusplanet.net (InterMail vM.6.01.04.04 201-2131-118-104-20050224) with SMTP id <20051202203013.QWAO9261.priv-edtnes46.telusplanet.net@catseye.biscuit.boo>; Fri, 2 Dec 2005 13:30:13 -0700 Date: Fri, 2 Dec 2005 12:31:20 -0800 From: Chris Pressey To: current@freebsd.org Message-Id: <20051202123120.736bf5ff.cpressey@catseye.mine.nu> In-Reply-To: <43753528.7030802@freesbie.org> References: <20051027200448.1ba236fe.cpressey@catseye.mine.nu> <43753528.7030802@freesbie.org> Organization: Cat's Eye Technologies X-Mailer: Sylpheed version 1.0.6 (GTK+ 1.2.10; i386-portbld-freebsd4.11) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: geom@freebsd.org, discussion@bsdinstaller.com Subject: Re: fdisk(8) no longer capable of altering geometry 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: Fri, 02 Dec 2005 20:30:16 -0000 On Sat, 12 Nov 2005 01:19:52 +0100 Dario Freni wrote: > My little follow-up to this issue. This bug is quite critical on > products using bsdinstaller such as FreeSBIE or pfSense. I heard > rumours that PC-BSD also encounter this problem and had to workaround > it by sysinstall. > > Can somebody please take a look at it? > > Thanks, > Dario Hi Dario, The reasons I haven't a filed a PR yet are a) I've been busy with the real world (school has taken up all my time) b) I've received no firsthand reports of anyone duplicating these results, despite repeated requests. All I have is personal experience, plus BSD Installer bug reports that suggest that this "must be" the problem. But I'd like an independent confirmation of the bug itself, before filing a PR. So, I'll ask once again: Does ANYONE else see the same behaviour that I am seeing? Namely: - As root, run "fdisk -u ad1" (or on whatever disk you like) - Tell fdisk(8) "yes, I'd like to change our idea of what the BIOS thinks (of the geometry of this disk)" - Give fdisk(8) any new geometry values you like - Be happy with this choice - Choose to write the new partition table - Get a "GEOM not found" error (optional) - Run "fdisk ad1" again and observe that the geometry hasn't changed I see this on CURRENT as of late last night. -Chris