From owner-freebsd-geom@FreeBSD.ORG Mon Nov 1 11:06:57 2010 Return-Path: Delivered-To: freebsd-geom@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF0FE10656B6 for ; Mon, 1 Nov 2010 11:06:57 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9C2DB8FC32 for ; Mon, 1 Nov 2010 11:06:57 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oA1B6vkX019176 for ; Mon, 1 Nov 2010 11:06:57 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oA1B6vAl019174 for freebsd-geom@FreeBSD.org; Mon, 1 Nov 2010 11:06:57 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 1 Nov 2010 11:06:57 GMT Message-Id: <201011011106.oA1B6vAl019174@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-geom@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-geom@FreeBSD.org 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, 01 Nov 2010 11:06:57 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o bin/151252 geom [geom] libgeom(3) manual page contains broken link in o kern/150858 geom [geom] [geom_label] [patch] glabel(8) is not compatibl o kern/150626 geom [geom] [gjournal] gjournal(8) destroys label o kern/150555 geom [geom] gjournal unusable on GPT partitions o kern/150334 geom [geom] [udf] [patch] geom label does not support UDF o kern/149762 geom volume labels with rogue characters o bin/149215 geom [panic] [geom_part] gpart(8): Delete linux's slice via o kern/147852 geom [geom] [panic] graid3 panic: wrong offset 16384 for se o kern/147851 geom [geom] [panic] graid3 panic: g_read_data: invalid leng o kern/147667 geom [gmirror] Booting with one component of a gmirror, the o kern/147664 geom [geom] [patch] Add the ability to create linux and fat o kern/145818 geom [geom] geom_stat_open showing cached information for n o kern/145042 geom [geom] System stops booting after printing message "GE o kern/144962 geom [geom] panic when accessing GPT disk with a large numb o kern/144905 geom [geom][geom_part] panic in gpart_ctlreq when unpluggin o kern/143455 geom gstripe(8) in RELENG_8 (31st Jan 2010) broken o kern/142563 geom [geom] [hang] ioctl freeze in zpool f kern/142365 geom [geom] FreeBSD RAID1 (gmirror) is much slower than Lin o kern/141740 geom [geom] gjournal(8): g_journal_destroy concurrent error s kern/141235 geom [geom_part] 8.0 no longer provides /dev entries for al o kern/140352 geom [geom] gjournal + glabel not working o kern/135898 geom [geom] Severe filesystem corruption - large files or l o kern/134922 geom [gmirror] [panic] kernel panic when use fdisk on disk o kern/134113 geom [geli] Problem setting secondary GELI key o kern/134044 geom [geom] gmirror(8) overwrites fs with stale data from r o kern/133931 geom [geli] [request] intentionally wrong password to destr o bin/132845 geom [geom] [patch] ggated(8) does not close files opened a o kern/132273 geom glabel(8): [patch] failing on journaled partition f kern/132242 geom [gmirror] gmirror.ko fails to fully initialize o kern/131353 geom [geom] gjournal(8) kernel lock p docs/130548 geom [patch] gjournal(8) man page is missing sysctls o kern/129674 geom [geom] gjournal root did not mount on boot o kern/129645 geom gjournal(8): GEOM_JOURNAL causes system to fail to boo o kern/129245 geom [geom] gcache is more suitable for suffix based provid f kern/128276 geom [gmirror] machine lock up when gmirror module is used o kern/127420 geom [geom] [gjournal] [panic] Journal overflow on gmirrore o kern/124973 geom [gjournal] [patch] boot order affects geom_journal con o kern/124969 geom gvinum(8): gvinum raid5 plex does not detect missing s o kern/123962 geom [panic] [gjournal] gjournal (455Gb data, 8Gb journal), o kern/123122 geom [geom] GEOM / gjournal kernel lock o kern/122738 geom [geom] gmirror list "losts consumers" after gmirror de f kern/122415 geom [geom] UFS labels are being constantly created and rem o kern/122067 geom [geom] [panic] Geom crashed during boot o kern/121364 geom [gmirror] Removing all providers create a "zombie" mir o kern/120091 geom [geom] [geli] [gjournal] geli does not prompt for pass o kern/115856 geom [geli] ZFS thought it was degraded when it should have o kern/115547 geom [geom] [patch] [request] let GEOM Eli get password fro o kern/114532 geom [geom] GEOM_MIRROR shows up in kldstat even if compile f kern/113957 geom [gmirror] gmirror is intermittently reporting a degrad o kern/113837 geom [geom] unable to access 1024 sector size storage o kern/113419 geom [geom] geom fox multipathing not failing back p bin/110705 geom gmirror(8) control utility does not exit with correct o kern/107707 geom [geom] [patch] [request] add new class geom_xbox360 to o kern/94632 geom [geom] Kernel output resets input while GELI asks for o kern/90582 geom [geom] [panic] Restore cause panic string (ffs_blkfree o bin/90093 geom fdisk(8) incapable of altering in-core geometry o kern/88601 geom [geli] geli cause kernel panic under heavy disk usage o kern/87544 geom [gbde] mmaping large files on a gbde filesystem deadlo o kern/84556 geom [geom] [panic] GBDE-encrypted swap causes panic at shu o kern/79251 geom [2TB] newfs fails on 2.6TB gbde device o kern/79035 geom [vinum] gvinum unable to create a striped set of mirro o bin/78131 geom gbde(8) "destroy" not working. s kern/73177 geom kldload geom_* causes panic due to memory exhaustion 63 problems total. From owner-freebsd-geom@FreeBSD.ORG Tue Nov 2 17:14:54 2010 Return-Path: Delivered-To: freebsd-geom@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2AFED1065672 for ; Tue, 2 Nov 2010 17:14:54 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 5FFD98FC21 for ; Tue, 2 Nov 2010 17:14:52 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id TAA16333 for ; Tue, 02 Nov 2010 19:02:29 +0200 (EET) (envelope-from avg@icyb.net.ua) Message-ID: <4CD04425.4020204@icyb.net.ua> Date: Tue, 02 Nov 2010 19:02:29 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.11) Gecko/20101021 Lightning/1.0b2 Thunderbird/3.1.5 MIME-Version: 1.0 To: freebsd-geom@FreeBSD.org X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Subject: geom_part_mbr vs user 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: Tue, 02 Nov 2010 17:14:54 -0000 It seems that geom_part_mbr: 1. uses CHS for some things 2. insists that various things be "CHS-aligned" While 1 is quite acceptable (although perhaps useless), 2 seems to be unhelpful (and even annoying). E.g. I wanted to create a partition that starts at sector 64, but that was auto-magically and silently converted to 126 (2x63). It took me a while to realize what's going on. Using some greater starting sector (like 8x63) did work. But I still believe that geom_part_mbr "thinking" that it is smarter than me is incorrect. Yeah, keep using CHS params for some defaults, etc, but do obey what I explicitly specify if doesn't violate fundamental constraints like media size or slice overlaps. -- Andriy Gapon From owner-freebsd-geom@FreeBSD.ORG Tue Nov 2 21:17:04 2010 Return-Path: Delivered-To: freebsd-geom@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8FD721065673 for ; Tue, 2 Nov 2010 21:17:04 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [IPv6:2001:470:a803::1]) by mx1.freebsd.org (Postfix) with ESMTP id 210AA8FC19 for ; Tue, 2 Nov 2010 21:17:04 +0000 (UTC) Received: from mail.geekcn.org (tarsier.geekcn.org [211.166.10.233]) by tarsier.geekcn.org (Postfix) with ESMTP id 4A1E0A6875C; Wed, 3 Nov 2010 05:17:01 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([211.166.10.233]) by mail.geekcn.org (mail.geekcn.org [211.166.10.233]) (amavisd-new, port 10024) with LMTP id HUQl4l2W3xSz; Wed, 3 Nov 2010 05:16:54 +0800 (CST) Received: from delta.delphij.net (drawbridge.ixsystems.com [206.40.55.65]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTPSA id EEAD8A68347; Wed, 3 Nov 2010 05:16:52 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:reply-to:organization:user-agent: mime-version:to:cc:subject:references:in-reply-to: x-enigmail-version:openpgp:content-type; b=K9guBOLmnq3XxrQBzqYC/l6TV6Bq0yhLTnnjwMOiOB3+LijNftUsxeOFrfDJ7YuE1 rxkL7rU9OkVqM0aRIMLiQ== Message-ID: <4CD07FBF.4040705@delphij.net> Date: Tue, 02 Nov 2010 14:16:47 -0700 From: Xin LI Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.15) Gecko/20101028 Thunderbird/3.0.10 ThunderBrowse/3.3.2 MIME-Version: 1.0 To: Andriy Gapon References: <4CD04425.4020204@icyb.net.ua> In-Reply-To: <4CD04425.4020204@icyb.net.ua> X-Enigmail-Version: 1.0.1 OpenPGP: id=3FCA37C1; url=http://www.delphij.net/delphij.asc Content-Type: multipart/mixed; boundary="------------050002010804040407000009" Cc: freebsd-geom@FreeBSD.org Subject: Re: geom_part_mbr vs user X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Nov 2010 21:17:04 -0000 This is a multi-part message in MIME format. --------------050002010804040407000009 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 11/02/10 10:02, Andriy Gapon wrote: > > It seems that geom_part_mbr: > 1. uses CHS for some things > 2. insists that various things be "CHS-aligned" > > While 1 is quite acceptable (although perhaps useless), 2 seems to be unhelpful > (and even annoying). > E.g. I wanted to create a partition that starts at sector 64, but that was > auto-magically and silently converted to 126 (2x63). It took me a while to > realize what's going on. Using some greater starting sector (like 8x63) did work. > > But I still believe that geom_part_mbr "thinking" that it is smarter than me is > incorrect. Yeah, keep using CHS params for some defaults, etc, but do obey what I > explicitly specify if doesn't violate fundamental constraints like media size or > slice overlaps. +1. I even have a local patch which mute the warning when booting !verbose. Cheers, - -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iQEcBAEBCAAGBQJM0H+/AAoJEATO+BI/yjfB5eAIAMC3CMVA2gE6ssSFJJfM8JW5 GPGHquCePFWvSOKBp/IQGNsxkpc1XYvlFYnWKVjvQAM8zZixbmFhUB0duIzujzag R7x8Q+xJrwLFGki/7wUwUF2tSh46F26veQ5y6g8Oellt9tG8zEH8Wl6bIS+GfgfM YdvDCQYSmbwznSJLLQp5Sv2uQJZX4xSZsPJLSXxSM9auhCqbMZLwVf1Nm9EU8hb+ BgFf+6/hLIGUrE6fcETm0XcZO8/6sPgLY4lhuq1FpWj+5eEHjB20WZK6F1k72QGz XvbZGJY5p3SzGrv6oIDGGFBda3F/eGiCqfzW/amuiJDs/46WSux4dRlo398UQJI= =D5fM -----END PGP SIGNATURE----- --------------050002010804040407000009 Content-Type: text/plain; name="g_part_mbr.c.diff" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="g_part_mbr.c.diff" SW5kZXg6IHN5cy9nZW9tL3BhcnQvZ19wYXJ0X21ici5jCj09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIHN5 cy9nZW9tL3BhcnQvZ19wYXJ0X21ici5jCShyZXZpc2lvbiAyMTQ2ODEpCisrKyBzeXMvZ2Vv bS9wYXJ0L2dfcGFydF9tYnIuYwkod29ya2luZyBjb3B5KQpAQCAtNDQ5LDEyICs0NDksMTYg QEAKIAkJCQliYXNldGFibGUtPmdwdF9oZWFkcyA9IGhlYWRzOwogCQkJfQogCQl9Ci0JCWlm ICgoZW50LmRwX3N0YXJ0ICUgYmFzZXRhYmxlLT5ncHRfc2VjdG9ycykgIT0gMCkKLQkJCXBy aW50ZigiR0VPTTogJXM6IHBhcnRpdGlvbiAlZCBkb2VzIG5vdCBzdGFydCBvbiBhICIKLQkJ CSAgICAidHJhY2sgYm91bmRhcnkuXG4iLCBwcC0+bmFtZSwgaW5kZXggKyAxKTsKLQkJaWYg KChlbnQuZHBfc2l6ZSAlIGJhc2V0YWJsZS0+Z3B0X3NlY3RvcnMpICE9IDApCi0JCQlwcmlu dGYoIkdFT006ICVzOiBwYXJ0aXRpb24gJWQgZG9lcyBub3QgZW5kIG9uIGEgIgotCQkJICAg ICJ0cmFjayBib3VuZGFyeS5cbiIsIHBwLT5uYW1lLCBpbmRleCArIDEpOworCQlpZiAoYm9v dHZlcmJvc2UpIHsKKwkJCWlmICgoZW50LmRwX3N0YXJ0ICUgYmFzZXRhYmxlLT5ncHRfc2Vj dG9ycykgIT0gMCkKKwkJCQlwcmludGYoIkdFT006ICVzOiBwYXJ0aXRpb24gJWQgZG9lcyBu b3QgIgorCQkJCSAgICAic3RhcnQgb24gYSB0cmFjayBib3VuZGFyeS5cbiIsCisJCQkJICAg IHBwLT5uYW1lLCBpbmRleCArIDEpOworCQkJaWYgKChlbnQuZHBfc2l6ZSAlIGJhc2V0YWJs ZS0+Z3B0X3NlY3RvcnMpICE9IDApCisJCQkJcHJpbnRmKCJHRU9NOiAlczogcGFydGl0aW9u ICVkIGRvZXMgbm90ICIKKwkJCQkgICAgImVuZCBvbiBhIHRyYWNrIGJvdW5kYXJ5LlxuIiwK KwkJCQkgICAgcHAtPm5hbWUsIGluZGV4ICsgMSk7CisJCX0KIAogCQllbnRyeSA9IChzdHJ1 Y3QgZ19wYXJ0X21icl9lbnRyeSAqKWdfcGFydF9uZXdfZW50cnkoYmFzZXRhYmxlLAogCQkg ICAgaW5kZXggKyAxLCBlbnQuZHBfc3RhcnQsIGVudC5kcF9zdGFydCArIGVudC5kcF9zaXpl IC0gMSk7Cg== --------------050002010804040407000009-- From owner-freebsd-geom@FreeBSD.ORG Wed Nov 3 06:44:46 2010 Return-Path: Delivered-To: freebsd-geom@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6908E106566B; Wed, 3 Nov 2010 06:44:46 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward5.mail.yandex.net (forward5.mail.yandex.net [77.88.46.21]) by mx1.freebsd.org (Postfix) with ESMTP id 124A38FC19; Wed, 3 Nov 2010 06:44:45 +0000 (UTC) Received: from smtp3.mail.yandex.net (smtp3.mail.yandex.net [77.88.46.103]) by forward5.mail.yandex.net (Yandex) with ESMTP id 4216914D1AE3; Wed, 3 Nov 2010 09:44:44 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1288766684; bh=0ExEgROl2tiTKiUVruXbm5/dpCbx8DmWcDO18gXkg0k=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type; b=Ws/bRo8DaxG1l0Gwzexnb8n1VNLkWULE3bpDV9aCcdFVdlSpFl+n57kTrDt8IAU5N UYIv3LdGvmSc5P3T323sMPHrgaOfqFCtyPuplZ6yOtJ58lZh29X4y1dXjuySLfYeuX s4KH9LXaNDQFgqMW7Fbogq/Q/19Jta/USFSikY30= Received: from [127.0.0.1] (ns.kirov.so-cdu.ru [77.72.136.145]) by smtp3.mail.yandex.net (Yandex) with ESMTPSA id ED2F627807F; Wed, 3 Nov 2010 09:44:43 +0300 (MSK) Message-ID: <4CD104D7.7000208@yandex.ru> Date: Wed, 03 Nov 2010 09:44:39 +0300 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: Andriy Gapon References: <4CD04425.4020204@icyb.net.ua> In-Reply-To: <4CD04425.4020204@icyb.net.ua> X-Enigmail-Version: 1.1.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigB6DFC8919C73758CDE522AB8" X-Yandex-TimeMark: 1288766684 X-Yandex-Spam: 1 X-Yandex-Front: smtp3.mail.yandex.net Cc: Marcel Moolenaar , freebsd-geom@FreeBSD.org Subject: Re: geom_part_mbr vs user 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, 03 Nov 2010 06:44:46 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigB6DFC8919C73758CDE522AB8 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable On 02.11.2010 20:02, Andriy Gapon wrote: > But I still believe that geom_part_mbr "thinking" that it is smarter th= an me is > incorrect. Yeah, keep using CHS params for some defaults, etc, but do = obey what I > explicitly specify if doesn't violate fundamental constraints like medi= a size or > slice overlaps. I think it was done for maximum compatibility. Some utilities assume that= partitions will be aligned on cylinder boundaries. --=20 WBR, Andrey V. Elsukov --------------enigB6DFC8919C73758CDE522AB8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) iQEcBAEBAgAGBQJM0QTbAAoJEAHF6gQQyKF62hoIAMFAT2AohH8PKWQuSmrDUsxC PSs8oisTJqBfYZC3FZ/1Hu5oHk+VMOaY+Mk7hWOsoE3O5DsVVrGSKPnQVqD0aoQT YSn6x5Sw8dlSKNnoiEgFWu10V5LHxUSn6WsfTvxDJmq9KHipX11qadOSbn7CRFwa jnoj9tMYZU/Fgu5+8nDpHu62nQE3Q8/3E26hyIyHxVyvLY6jHprV3Jh1yGDP40Mh XSJYueYaOtfYlKJ/E+M6reldZ6Ug2yQchS09UGQ5LkMUbdqtgzjHtEVZYxQysqXT 6vBukHrzmr3KLmHv3BA5nThoUWQFZJujo4nPRZGuudFPUxZZ70MDHlwW3BD05M8= =MyoE -----END PGP SIGNATURE----- --------------enigB6DFC8919C73758CDE522AB8-- From owner-freebsd-geom@FreeBSD.ORG Wed Nov 3 07:30:38 2010 Return-Path: Delivered-To: freebsd-geom@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0AA75106564A for ; Wed, 3 Nov 2010 07:30:38 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 51D928FC12 for ; Wed, 3 Nov 2010 07:30:36 +0000 (UTC) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id JAA00209; Wed, 03 Nov 2010 09:30:34 +0200 (EET) (envelope-from avg@icyb.net.ua) Received: from localhost.topspin.kiev.ua ([127.0.0.1]) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1PDXnm-0009rb-Aa; Wed, 03 Nov 2010 09:30:34 +0200 Message-ID: <4CD10F98.2060007@icyb.net.ua> Date: Wed, 03 Nov 2010 09:30:32 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.12) Gecko/20101029 Lightning/1.0b2 Thunderbird/3.1.6 MIME-Version: 1.0 To: "Andrey V. Elsukov" References: <4CD04425.4020204@icyb.net.ua> <4CD104D7.7000208@yandex.ru> In-Reply-To: <4CD104D7.7000208@yandex.ru> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: Marcel Moolenaar , freebsd-geom@FreeBSD.org Subject: Re: geom_part_mbr vs user 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, 03 Nov 2010 07:30:38 -0000 on 03/11/2010 08:44 Andrey V. Elsukov said the following: > On 02.11.2010 20:02, Andriy Gapon wrote: >> But I still believe that geom_part_mbr "thinking" that it is smarter than me is >> incorrect. Yeah, keep using CHS params for some defaults, etc, but do obey what I >> explicitly specify if doesn't violate fundamental constraints like media size or >> slice overlaps. > > I think it was done for maximum compatibility. Some utilities assume that partitions > will be aligned on cylinder boundaries. Possibly. Those utilities likely need some modernization too. Strictly speaking modern (ATA) drives don't even report any CHS numbers. So we mostly just make up some odd [non-even :-)] numbers and then base pretty important decisions on those made up numbers. -- Andriy Gapon