From owner-freebsd-geom@FreeBSD.ORG Sun Dec 21 02:14:55 2008 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 6320B1065670 for ; Sun, 21 Dec 2008 02:14:55 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.242]) by mx1.freebsd.org (Postfix) with ESMTP id 1BCEF8FC14 for ; Sun, 21 Dec 2008 02:14:54 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by an-out-0708.google.com with SMTP id c2so818666anc.13 for ; Sat, 20 Dec 2008 18:14:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=eJu5BJiYLeqTncL4MC01Gv7MV/vbrFh3iTimXZlmST8=; b=T9TE0qzrLEuJ3fkVsLmHChP3ghmoZn0LDYujnA522D9iiHgNwYRkJ9b/HEr8s68ytG ESSpfpxVb5FSvn2yrn+4pF8CV1/Ffb7LqYC4mvto+b9m3r6GgV02rF9m+G0kGn/JbzID u09k0Quy2VBi4RPjGUWRv/YwaxMYV9SVNUlH0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Kp41y7K/A0u4urzSgmKV/2SBPaGRyNW8evyh/ofKwR/YJJBhwli9cN4clpROi6meKa p3CVixLzIg5oNvQMuHxdIC2+eS601222T/MwUmKPVHC4cuL9mXiX10EzzHcJWRAn46Om cjrpxW5OkejAHh1hshAbxh0ZPGKqCg1per4Lk= Received: by 10.231.16.199 with SMTP id p7mr61639iba.40.1229824022082; Sat, 20 Dec 2008 17:47:02 -0800 (PST) Received: by 10.231.17.8 with HTTP; Sat, 20 Dec 2008 17:47:02 -0800 (PST) Message-ID: <3a142e750812201747o339d7298p11236bb02c7f858f@mail.gmail.com> Date: Sun, 21 Dec 2008 02:47:02 +0100 From: "Paul B. Mahol" To: gelraen In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: freebsd-current@freebsd.org, freebsd-geom@freebsd.org Subject: Re: Changed names of logical disks on recent -CURRENT: part of logical disks not accessible now 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: Sun, 21 Dec 2008 02:14:55 -0000 On 12/20/08, gelraen wrote: > Hello, > > I've csup'ed about 1 hour ago (previous csup was few days back), > recompiled kernel and slice names changed from ad0s5 to something like > ad0s3s1, etc. > But in /dev I found only 3 levels of slices: Maybe because of recent switch from geom_bsd, geom_mbr to geom_part_bsd and geom_part_mbr. -- Paul From owner-freebsd-geom@FreeBSD.ORG Sun Dec 21 19:30:03 2008 Return-Path: Delivered-To: freebsd-geom@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC8B31065674 for ; Sun, 21 Dec 2008 19:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C49A58FC1B for ; Sun, 21 Dec 2008 19:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mBLJU3L8015967 for ; Sun, 21 Dec 2008 19:30:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mBLJU3Ib015964; Sun, 21 Dec 2008 19:30:03 GMT (envelope-from gnats) Date: Sun, 21 Dec 2008 19:30:03 GMT Message-Id: <200812211930.mBLJU3Ib015964@freefall.freebsd.org> To: freebsd-geom@FreeBSD.org From: Volkov Alexei Cc: Subject: Re: kern/129674: [geom] gjournal root did not mount on boot X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Volkov Alexei List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Dec 2008 19:30:03 -0000 The following reply was made to PR kern/129674; it has been noted by GNATS. From: Volkov Alexei To: bug-followup@FreeBSD.org, Alexei.Volkov@softlynx.ru Cc: Subject: Re: kern/129674: [geom] gjournal root did not mount on boot Date: Sun, 21 Dec 2008 22:21:48 +0300 Yes, there was PR128529 http://www.freebsd.org/cgi/query-pr.cgi?pr=128529 and it is my fault i did not find it while search around an issue, cause PR128529 marked as fixed (solved) and my expectations were different. Finally, there is the last question. The PR128529 patch is available for HEAD and direct backport to 7-STABLE is not trivial for me. Compiler stops on /usr/src/sys/modules/geom/geom_journal/../../../geom/journal/g_journal.c: In function 'g_journal_worker': /usr/src/sys/modules/geom/geom_journal/../../../geom/journal/g_journal.c:2111: error: 'struct g_journal_softc' has no member named 'sc_rootmount' Is there any known fix for 7.X branch? From owner-freebsd-geom@FreeBSD.ORG Mon Dec 22 05:30:04 2008 Return-Path: Delivered-To: freebsd-geom@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD3081065670 for ; Mon, 22 Dec 2008 05:30:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id ACEF78FC0C for ; Mon, 22 Dec 2008 05:30:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mBM5U4TE072190 for ; Mon, 22 Dec 2008 05:30:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mBM5U4ln072181; Mon, 22 Dec 2008 05:30:04 GMT (envelope-from gnats) Date: Mon, 22 Dec 2008 05:30:04 GMT Message-Id: <200812220530.mBM5U4ln072181@freefall.freebsd.org> To: freebsd-geom@FreeBSD.org From: linimon@lonesome.com (Mark Linimon) Cc: Subject: Re: kern/129674: gjournal root did not mount on boot X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mark Linimon List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2008 05:30:04 -0000 The following reply was made to PR kern/129674; it has been noted by GNATS. From: linimon@lonesome.com (Mark Linimon) To: bug-followup@FreeBSD.org Cc: Subject: Re: kern/129674: gjournal root did not mount on boot Date: Sun, 21 Dec 2008 23:25:59 -0600 ----- Forwarded message from Patrick Lamaizière ----- From: Patrick Lamaizière To: freebsd-bugs@freebsd.org, Alexei Volkov Organization: /dave/nulle Cc: Subject: Re: kern/129674: gjournal root did not mount on boot Looks the same as PR 128529 http://www.freebsd.org/cgi/query-pr.cgi?pr=128529 There is a fix for CURRENT: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/geom/journal/g_journal.c#rev1.18 ----- End forwarded message ----- From owner-freebsd-geom@FreeBSD.ORG Mon Dec 22 05:30:15 2008 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 4A8BF1065674; Mon, 22 Dec 2008 05:30:15 +0000 (UTC) (envelope-from gelraen.ua@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by mx1.freebsd.org (Postfix) with ESMTP id 862F08FC1A; Mon, 22 Dec 2008 05:30:14 +0000 (UTC) (envelope-from gelraen.ua@gmail.com) Received: by nf-out-0910.google.com with SMTP id h3so272351nfh.33 for ; Sun, 21 Dec 2008 21:30:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=ySgQnmzNHDwQQtihqz6PWmyhudoH7kMPOv77pGqsjv4=; b=vCFtVpaNd/++rJkw0mr70X6eLCs3lgziByiD6n12+nDuF6sHR6ZJzcefzW2t+8lxB8 /v0rbAtHQZd2MJrMBefKX3TMgWGDD1xWSEhw81ydcBOwNyctS0ZqLAUNlvakQhnMadqh QZKiZ9a8ysMVrRN02GwAM5DMTbgsMbmeTFbjU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=QMm4Be5Wckq5CaXMgjTfjdQLMHBa1c56EMJ+wlwCHyAJ1e9Fv1KSuCzVVaN6wQqrOw MrBN1MyQPiR9KIyV210m/oxx1/9m41ZgHZ6KkiuiLG+ttyXkUD8KU80pqVHMkCNAUFKh s5Cwh3KOHjoSO32hgAyxchwE4V8bxXB7CKJ+I= Received: by 10.210.127.10 with SMTP id z10mr6856949ebc.195.1229923813327; Sun, 21 Dec 2008 21:30:13 -0800 (PST) Received: by 10.210.34.13 with HTTP; Sun, 21 Dec 2008 21:30:13 -0800 (PST) Message-ID: Date: Mon, 22 Dec 2008 07:30:13 +0200 From: gelraen To: "Ivan Voras" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <3a142e750812201747o339d7298p11236bb02c7f858f@mail.gmail.com> Cc: freebsd-current@freebsd.org, freebsd-geom@freebsd.org Subject: Re: Changed names of logical disks on recent -CURRENT: part of logical disks not accessible now 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, 22 Dec 2008 05:30:15 -0000 2008/12/22 Ivan Voras : > Paul B. Mahol wrote: >> On 12/20/08, gelraen wrote: >>> Hello, >>> >>> I've csup'ed about 1 hour ago (previous csup was few days back), >>> recompiled kernel and slice names changed from ad0s5 to something like >>> ad0s3s1, etc. >>> But in /dev I found only 3 levels of slices: >> >> Maybe because of recent switch from geom_bsd, geom_mbr to >> geom_part_bsd and geom_part_mbr. > > Yes, it's almost certainly because of that. The OP should contact marcel > /at/ freebsd.org and probably be ready to send him boot (zeroeth) > sectors of his drive(s) and partitions. > > > Hmm.... I've just noticed one strange thing: corresponding to PTs of ad0s3 and ad0s3s2, ad0s3s2s1 uses whole slice, and first sector of ad0s3s2s2 located beyond boundaries of ad0s3s2. So I've booted 7.0-RELEASE, to ensure that all still working, and dumped all boot sectors directly from ad0, calculating offsets manually. It seems strange to me, but second entry in PTs on extended partition contains offset directly from ad0s3, not from ad0s3s2, ad0s3s2s2 etc., and sized to only one slice, not the rest of extended partition. And, because ad0s3s2 now simply does not contain needed data, PT of ad0s3s2s2 can not be readed: # fdisk ad0s3s2s2 fdisk: could not detect sector size I think, now I should move PT entries from ad0s3s2 and so on directly to PT of ad0s3, but I don't sure about how would other OS and previous versions of FreeBSD will understand this BTW, now fdisk seems to be unable to work with regular files, it fails with message fdisk: unable to get correct path for tmp.bin : Inappropriate file type or format and ktrace shows next thing: 5740 fdisk CALL ioctl(0x3,DIOCGSECTORSIZE,0xbfbfe5e4) 5740 fdisk RET ioctl -1 errno 25 Inappropriate ioctl for device From owner-freebsd-geom@FreeBSD.ORG Mon Dec 22 11:06:51 2008 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 D62831065670 for ; Mon, 22 Dec 2008 11:06:51 +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 C3EFD8FC1F for ; Mon, 22 Dec 2008 11:06:51 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mBMB6pAR060572 for ; Mon, 22 Dec 2008 11:06:51 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mBMB6pNW060568 for freebsd-geom@FreeBSD.org; Mon, 22 Dec 2008 11:06:51 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 22 Dec 2008 11:06:51 GMT Message-Id: <200812221106.mBMB6pNW060568@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, 22 Dec 2008 11:06:51 -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 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 o kern/128398 geom [PATCH] glabel(8): teach geom_label to recognise gpt l f kern/128276 geom [gmirror] machine lock up when gmirror module is used o kern/126902 geom [geom] [geom_label] Kernel panic during install boot 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/124294 geom [geom] gmirror(8) have inappropriate logic when workin o kern/124130 geom [gmirror][usb] gmirror fails to start usb devices that o kern/123962 geom [panic] [gjournal] gjournal (455Gb data, 8Gb journal), o kern/123630 geom [patch] [gmirror] gmirror doesnt allow the original dr o kern/123122 geom [geom] GEOM / gjournal kernel lock 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/121559 geom [patch] [geom] geom label class allows to create inacc o kern/121364 geom [gmirror] Removing all providers create a "zombie" mir o kern/120231 geom [geom] GEOM_CONCAT error adding second drive o kern/120044 geom [msdosfs] [geom] incorrect MSDOSFS label fries adminis o kern/120021 geom [geom] [panic] net-p2p/qbittorrent crashes system when o kern/119743 geom [geom] geom label for cds is keeped after dismount and f 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 o 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/104389 geom [geom] [patch] sys/geom/geom_dump.c doesn't encode XML o kern/98034 geom [geom] dereference of NULL pointer in acd_geom_detach 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 a kern/89660 geom [vinum] [patch] [panic] due to g_malloc returning null o kern/89546 geom [geom] GEOM error s kern/89102 geom [geom] [panic] panic when forced unmount FS from unplu o kern/87544 geom [gbde] mmaping large files on a gbde filesystem deadlo o kern/84556 geom [geom] GBDE-encrypted swap causes panic at shutdown 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 42 problems total. From owner-freebsd-geom@FreeBSD.ORG Mon Dec 22 16:20:38 2008 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 367A71065674 for ; Mon, 22 Dec 2008 16:20:38 +0000 (UTC) (envelope-from aglarond@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.247]) by mx1.freebsd.org (Postfix) with ESMTP id DC7CD8FC21 for ; Mon, 22 Dec 2008 16:20:37 +0000 (UTC) (envelope-from aglarond@gmail.com) Received: by an-out-0708.google.com with SMTP id c2so985438anc.13 for ; Mon, 22 Dec 2008 08:20:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=QXAm8UkjM3JMqzwH/S+a2z3IM7+H8t7W1XHV3QgKIOs=; b=orLu2m6R8kUDmPw/tiZXm3GOF0rPckwL1kdyKaksRr2Sbz2V7wzWKuz0G+BXUSFVgF l1KohHpV4mEbv35IlFYhC0F6/Zs9C3roQJYVnbai7IDeLy1KfePezlj0iPUoOVYBG3/Y m0DLf9PMk2bwUu0fvBcpgZu7l9IJ9o1NOQfmc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=U3AR5p+b4mL6Ws2S/+YJk4kzHqADiYHmzBeGMKAwltUcK837eksSu0++bD5q4va+PP +aqB7mnaDyK+2szHgMOt7bKOXK1Q/95uQS/id/YZgqv9q3Sgu2+vir4skn80d1UrQ02/ D/ihI2F9R1E/moXbmcbZvgrLRMTgw45GUssPQ= Received: by 10.100.128.20 with SMTP id a20mr3872426and.148.1229962836496; Mon, 22 Dec 2008 08:20:36 -0800 (PST) Received: by 10.101.66.10 with HTTP; Mon, 22 Dec 2008 08:20:36 -0800 (PST) Message-ID: <55c107bf0812220820k2fb99ccev77d661629efed219@mail.gmail.com> Date: Mon, 22 Dec 2008 17:20:36 +0100 From: "Dimitri Aivaliotis" To: rick-freebsd2008@kiwi-computer.com In-Reply-To: <20081219161602.GA80859@keira.kiwi-computer.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <55c107bf0812180320x502847efi53df5a7da68b73e1@mail.gmail.com> <20081218175752.GA10326@carrot.lan> <20081218182352.GA69287@keira.kiwi-computer.com> <55c107bf0812190250x434e468cy2fb19956f36b5958@mail.gmail.com> <20081219161602.GA80859@keira.kiwi-computer.com> Cc: freebsd-geom@freebsd.org Subject: Re: gvinum raid10 stale 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, 22 Dec 2008 16:20:38 -0000 Hi Rick, On Fri, Dec 19, 2008 at 5:16 PM, Rick C. Petty wrote: > You should be able to add mirrors pretty easily, as long as those are > mirrors of stripes (since you can't stripe your mirrors in gvinum), but you > have to make sure each mirror (plex) contains the right size, regardless of > your stripe (subdisk) size. So, am I reading you (and Ulf's previous mail) correctly in that the example given in the Handbook is not expandable? volume raid10 plex org striped 512k sd length 102480k drive a sd length 102480k drive b sd length 102480k drive c sd length 102480k drive d sd length 102480k drive e plex org striped 512k sd length 102480k drive c sd length 102480k drive d sd length 102480k drive e sd length 102480k drive a sd length 102480k drive b I thought that this was the "mirror of stripes" that you describe above. > I add to my mirrors regularly, usually just to move volumes around. I > think the confusion here is the number of subdisks per plex that you have > which is unnecessary. Ignoring my current configuration for the moment because of the confusion caused by it, how would I expand the above example by adding 5 additional disks? Thanks for your patience with me here. I'm trying to understand how this should work. - Dimitri From owner-freebsd-geom@FreeBSD.ORG Mon Dec 22 20:03:14 2008 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 32DE0106567A for ; Mon, 22 Dec 2008 20:03:14 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: from kiwi-computer.com (keira.kiwi-computer.com [63.224.10.3]) by mx1.freebsd.org (Postfix) with SMTP id C7E6E8FC25 for ; Mon, 22 Dec 2008 20:03:13 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: (qmail 16684 invoked by uid 2001); 22 Dec 2008 20:03:12 -0000 Date: Mon, 22 Dec 2008 14:03:12 -0600 From: "Rick C. Petty" To: Dimitri Aivaliotis Message-ID: <20081222200312.GA16003@keira.kiwi-computer.com> References: <55c107bf0812180320x502847efi53df5a7da68b73e1@mail.gmail.com> <20081218175752.GA10326@carrot.lan> <20081218182352.GA69287@keira.kiwi-computer.com> <55c107bf0812190250x434e468cy2fb19956f36b5958@mail.gmail.com> <20081219161602.GA80859@keira.kiwi-computer.com> <55c107bf0812220820k2fb99ccev77d661629efed219@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <55c107bf0812220820k2fb99ccev77d661629efed219@mail.gmail.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-geom@freebsd.org Subject: Re: gvinum raid10 stale X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rick-freebsd2008@kiwi-computer.com List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2008 20:03:14 -0000 On Mon, Dec 22, 2008 at 05:20:36PM +0100, Dimitri Aivaliotis wrote: > > So, am I reading you (and Ulf's previous mail) correctly in that the > example given in the Handbook is not expandable? > > volume raid10 > plex org striped 512k > sd length 102480k drive a > sd length 102480k drive b > sd length 102480k drive c > sd length 102480k drive d > sd length 102480k drive e > plex org striped 512k > sd length 102480k drive c > sd length 102480k drive d > sd length 102480k drive e > sd length 102480k drive a > sd length 102480k drive b > > I thought that this was the "mirror of stripes" that you describe above. This is a mirror of stripes, but I'm not really sure what you gain by staggering across all the drives like that. Are you doing this for some performance gain? If you're really using five disks, you may wish to consider raid5. Otherwise, this looks like a mirror of stripes across five disks. Much prettier than what you posted originally. > > I add to my mirrors regularly, usually just to move volumes around. I > > think the confusion here is the number of subdisks per plex that you have > > which is unnecessary. > > Ignoring my current configuration for the moment because of the > confusion caused by it, how would I expand the above example by adding > 5 additional disks? Are you trying to add mirrors or did you want to increase your volume size? You could increase the volume size, but the underlying filesystem would need to be resized. I'm not sure if gvinum lets you increase the volume size. If you just want to add another striped mirror: plex org striped 512k volume raid10 sd length 102480k drive f sd length 102480k drive g sd length 102480k drive h sd length 102480k drive i sd length 102480k drive j > Thanks for your patience with me here. I'm trying to understand how > this should work. No problem. I would still recommend getting rid of the stripes to reduce your complexity and simplify future additions, but that's my personal preference. -- Rick C. Petty From owner-freebsd-geom@FreeBSD.ORG Tue Dec 23 05:29:40 2008 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 991F81065678; Tue, 23 Dec 2008 05:29:40 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id 5D3AD8FC1A; Tue, 23 Dec 2008 05:29:40 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id 1F218FEFA; Tue, 23 Dec 2008 18:04:30 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FSMCh2FCqPRn; Tue, 23 Dec 2008 18:04:26 +1300 (NZDT) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP; Tue, 23 Dec 2008 18:04:26 +1300 (NZDT) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id F225F11479; Tue, 23 Dec 2008 18:04:25 +1300 (NZDT) Date: Mon, 22 Dec 2008 21:04:25 -0800 From: Andrew Thompson To: marcel@freebsd.org Message-ID: <20081223050425.GA89448@citylink.fud.org.nz> References: <3a142e750812201747o339d7298p11236bb02c7f858f@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3a142e750812201747o339d7298p11236bb02c7f858f@mail.gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: gelraen , freebsd-current@freebsd.org, freebsd-geom@freebsd.org Subject: Re: Changed names of logical disks on recent -CURRENT: part of logical disks not accessible now 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, 23 Dec 2008 05:29:40 -0000 On Sun, Dec 21, 2008 at 02:47:02AM +0100, Paul B. Mahol wrote: > On 12/20/08, gelraen wrote: > > Hello, > > > > I've csup'ed about 1 hour ago (previous csup was few days back), > > recompiled kernel and slice names changed from ad0s5 to something like > > ad0s3s1, etc. > > But in /dev I found only 3 levels of slices: > > Maybe because of recent switch from geom_bsd, geom_mbr to > geom_part_bsd and geom_part_mbr. Have you had a chance to look at this Marcel? My ad4s6 device is now showing as ad4s4s2s1. Andrew From owner-freebsd-geom@FreeBSD.ORG Tue Dec 23 17:20:45 2008 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 8A0DE106567B; Tue, 23 Dec 2008 17:20:45 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout012.mac.com (asmtpout012.mac.com [17.148.16.87]) by mx1.freebsd.org (Postfix) with ESMTP id 718898FC12; Tue, 23 Dec 2008 17:20:45 +0000 (UTC) (envelope-from xcllnt@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from sivam-t43.jnpr.net (natint3.juniper.net [66.129.224.36]) by asmtp012.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0KCC00LPIAUK2T60@asmtp012.mac.com>; Tue, 23 Dec 2008 09:20:45 -0800 (PST) Message-id: <6D4A57D3-3F6D-43E6-9B69-95514F69C57A@mac.com> From: Marcel Moolenaar To: Andrew Thompson In-reply-to: <20081223050425.GA89448@citylink.fud.org.nz> Date: Tue, 23 Dec 2008 09:20:43 -0800 References: <3a142e750812201747o339d7298p11236bb02c7f858f@mail.gmail.com> <20081223050425.GA89448@citylink.fud.org.nz> X-Mailer: Apple Mail (2.930.3) Cc: gelraen , FreeBSD Current , freebsd-geom@freebsd.org Subject: Re: Changed names of logical disks on recent -CURRENT: part of logical disks not accessible now 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, 23 Dec 2008 17:20:45 -0000 On Dec 22, 2008, at 9:04 PM, Andrew Thompson wrote: > On Sun, Dec 21, 2008 at 02:47:02AM +0100, Paul B. Mahol wrote: >> On 12/20/08, gelraen wrote: >>> Hello, >>> >>> I've csup'ed about 1 hour ago (previous csup was few days back), >>> recompiled kernel and slice names changed from ad0s5 to something >>> like >>> ad0s3s1, etc. >>> But in /dev I found only 3 levels of slices: >> >> Maybe because of recent switch from geom_bsd, geom_mbr to >> geom_part_bsd and geom_part_mbr. > > Have you had a chance to look at this Marcel? My ad4s6 device is now > showing as ad4s4s2s1. I'm thinking about it. I have a couple of things I need to do first, 7.1-RC2 being one of them... -- Marcel Moolenaar xcllnt@mac.com From owner-freebsd-geom@FreeBSD.ORG Tue Dec 23 19:03:09 2008 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 26054106564A; Tue, 23 Dec 2008 19:03:09 +0000 (UTC) (envelope-from gelraen.ua@gmail.com) Received: from mail-ew0-f21.google.com (mail-ew0-f21.google.com [209.85.219.21]) by mx1.freebsd.org (Postfix) with ESMTP id 324B18FC13; Tue, 23 Dec 2008 19:03:02 +0000 (UTC) (envelope-from gelraen.ua@gmail.com) Received: by ewy14 with SMTP id 14so3402256ewy.19 for ; Tue, 23 Dec 2008 11:03:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=MyxZx/hAr5Iem8YGcS3Qif/EhxTsaXGjnkT7ysDCmBk=; b=HmGN69D/rwVJ/6BXe54Kk+DWCdrT258Bu5QM+5hnVmAkuKdVJAt56LR1oS0zVxGla8 cuO9kAc6PeSSI/BTRd+7tXOlcVKaDjujWrlPXZxe6+5eaOWDHenVuh7mf4DojI/HKhyd BoKhh1ZIrgM7Z2qkpOIf8d+rZxxz05uHAbrmY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=G980XwXAT9hKp9D6RYCwRwmkJwAHQ+EJcQoF8S672IrxPNKmrVPwHPoJe0XA2oz4ve J+Uoc1SFGoonVns/Zu4Kx6Xnk1KefaADmYGvdFnNj96YtHtmmsjGJiKClhfWqwuhytY9 6s1O1psYo+TLjET5r9YVrYf31Dzw87aURDJHk= Received: by 10.210.20.17 with SMTP id 17mr9204180ebt.37.1230058981973; Tue, 23 Dec 2008 11:03:01 -0800 (PST) Received: by 10.210.77.20 with HTTP; Tue, 23 Dec 2008 11:03:01 -0800 (PST) Message-ID: Date: Tue, 23 Dec 2008 21:03:01 +0200 From: gelraen To: "Marcel Moolenaar" In-Reply-To: <6D4A57D3-3F6D-43E6-9B69-95514F69C57A@mac.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <3a142e750812201747o339d7298p11236bb02c7f858f@mail.gmail.com> <20081223050425.GA89448@citylink.fud.org.nz> <6D4A57D3-3F6D-43E6-9B69-95514F69C57A@mac.com> Cc: FreeBSD Current , Andrew Thompson , freebsd-geom@freebsd.org Subject: Re: Changed names of logical disks on recent -CURRENT: part of logical disks not accessible now 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, 23 Dec 2008 19:03:09 -0000 2008/12/23 Marcel Moolenaar : > > > I'm thinking about it. I have a couple of things > I need to do first, 7.1-RC2 being one of them... > I think, I can try to fix this if you give me couple advices (mostly about what code I should look and change) I spent some time in thinking about the best way to implement naming of extended partition. IMO, the only reasonable way is to sequentially numerate slices. So the result may look like this: ad0s3s1 ad0s3s2 ad0s3s3 ad0s3s4 ad0s3s5 .... Main problem here is detecting which type of naming to use in particilar case. Marcel, it would be nice if you point me which files in /usr/src I should look, and, maybe, give link to some short article about GEOM internal structure. Then I'll be able to stuck deep in sources for a few days :) From owner-freebsd-geom@FreeBSD.ORG Tue Dec 23 19:28:16 2008 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 3B421106564A; Tue, 23 Dec 2008 19:28:16 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout016.mac.com (asmtpout016.mac.com [17.148.16.91]) by mx1.freebsd.org (Postfix) with ESMTP id 1F9E28FC1A; Tue, 23 Dec 2008 19:28:16 +0000 (UTC) (envelope-from xcllnt@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from djanson-lt.jnpr.net (natint3.juniper.net [66.129.224.36]) by asmtp016.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0KCC00BEYGR2EQ30@asmtp016.mac.com>; Tue, 23 Dec 2008 11:28:16 -0800 (PST) Message-id: From: Marcel Moolenaar To: gelraen In-reply-to: Date: Tue, 23 Dec 2008 11:28:14 -0800 References: <3a142e750812201747o339d7298p11236bb02c7f858f@mail.gmail.com> <20081223050425.GA89448@citylink.fud.org.nz> <6D4A57D3-3F6D-43E6-9B69-95514F69C57A@mac.com> X-Mailer: Apple Mail (2.930.3) Cc: FreeBSD Current , Andrew Thompson , freebsd-geom@freebsd.org Subject: Re: Changed names of logical disks on recent -CURRENT: part of logical disks not accessible now 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, 23 Dec 2008 19:28:16 -0000 On Dec 23, 2008, at 11:03 AM, gelraen wrote: > 2008/12/23 Marcel Moolenaar : >> >> >> I'm thinking about it. I have a couple of things >> I need to do first, 7.1-RC2 being one of them... >> > > I think, I can try to fix this if you give me couple advices (mostly > about what code I should look and change) All the code is under src/sys/geom/part. o g_part.c contains the high-level (abstract) code for partitioning. o g_part_mbr.c deals specifically with MBR. > I spent some time in thinking about the best way to implement naming > of extended partition. > IMO, the only reasonable way is to sequentially numerate slices. So > the result may look like this: > ad0s3s1 ad0s3s2 ad0s3s3 ad0s3s4 > ad0s3s5 .... Well, the question is whether to expose the nesting in the naming or use a flattened partition naming scheme. Secondly, how generic do you want to make the flattening. With flattening, you have ad0sX, with X from 1 to many. Without flattening you get ad0sX[sY...], with X and Y from 1 to 4. What you suggest is a partial flattening: adsXsY, with X from 1 to 4 and Y from 1 to many. The question of how generic you want to make it, relates to having a BSD label under a MBR or a MBR under a GPT and whether to flatten the namespace. As an example, you can limit flattening for nested partitions of the same type (i.e. same-scheme nesting). > Main problem here is detecting which type of naming to use in > particilar case. Exactly. This requires information exchange between level X-1 to level X of the nesting. Such an exchange already exists for example: the absolute sector offset of the partition is passed from level X-1 to level X. So, it's definitely doable. In short: we just need to nail down what we're going to fix, if we're going to fix anything, and understand the consequences of our choice so that we can document it or beter, avoid introducing new bugs in the process.. -- Marcel Moolenaar xcllnt@mac.com From owner-freebsd-geom@FreeBSD.ORG Wed Dec 24 06:56:01 2008 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 81F091065687; Wed, 24 Dec 2008 06:56:01 +0000 (UTC) (envelope-from gelraen.ua@gmail.com) Received: from mail-ew0-f21.google.com (mail-ew0-f21.google.com [209.85.219.21]) by mx1.freebsd.org (Postfix) with ESMTP id 91F588FC43; Wed, 24 Dec 2008 06:56:00 +0000 (UTC) (envelope-from gelraen.ua@gmail.com) Received: by ewy14 with SMTP id 14so3651599ewy.19 for ; Tue, 23 Dec 2008 22:55:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=+N+K2xlJYHlMtjkkdhaBa+IoFYdMvBAhY1wEU7wsbVE=; b=Vu/NujyYFgrZLFltKnP2Edk6RP8HXUcycLIkEHvAWQkYT95uUl/10BRSZEtRoOVFfb aXuYSucZ6GCrgqC9Ycy4WSy9cwsaiXgAy+Fjj/Ovyk9Qwy1tuJ18NQoWlhya3jNuA8mT yHhzPEHCjSFWhLN0I7nPnTOt5i9abtymm/91k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=MpE6jjfeJope91Z+UjbueNohHm/M9XGe4jVmtO9jgjvAn3IlzTlk9E2nSgWWJAMvT7 TqmD++EcdVCTfFR/pEvXOgv1znuZf92Lk8QiSV2wAD33nZ/K6oxlDMroN9YZneEmaBQ+ A5VMjS6w1k2L98bA+SUrNYyIKwPgKfzuyYl34= Received: by 10.210.19.7 with SMTP id 7mr5197767ebs.141.1230101759446; Tue, 23 Dec 2008 22:55:59 -0800 (PST) Received: by 10.210.77.20 with HTTP; Tue, 23 Dec 2008 22:55:59 -0800 (PST) Message-ID: Date: Wed, 24 Dec 2008 08:55:59 +0200 From: gelraen To: "Marcel Moolenaar" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <3a142e750812201747o339d7298p11236bb02c7f858f@mail.gmail.com> <20081223050425.GA89448@citylink.fud.org.nz> <6D4A57D3-3F6D-43E6-9B69-95514F69C57A@mac.com> Cc: FreeBSD Current , Andrew Thompson , freebsd-geom@freebsd.org Subject: Re: Changed names of logical disks on recent -CURRENT: part of logical disks not accessible now 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, 24 Dec 2008 06:56:01 -0000 2008/12/23 Marcel Moolenaar : > > On Dec 23, 2008, at 11:03 AM, gelraen wrote: > >> I spent some time in thinking about the best way to implement naming >> of extended partition. >> IMO, the only reasonable way is to sequentially numerate slices. So >> the result may look like this: >> ad0s3s1 ad0s3s2 ad0s3s3 ad0s3s4 ad0s3s5 .... > > Well, the question is whether to expose the nesting > in the naming or use a flattened partition naming > scheme. Secondly, how generic do you want to make the > flattening. > > With flattening, you have ad0sX, with X from 1 to many. > Without flattening you get ad0sX[sY...], with X and Y > from 1 to 4. > > What you suggest is a partial flattening: adsXsY, with > X from 1 to 4 and Y from 1 to many. > > The question of how generic you want to make it, relates > to having a BSD label under a MBR or a MBR under a GPT > and whether to flatten the namespace. As an example, you > can limit flattening for nested partitions of the same > type (i.e. same-scheme nesting). > >> Main problem here is detecting which type of naming to use in particilar >> case. > > Exactly. This requires information exchange between level > X-1 to level X of the nesting. Such an exchange already > exists for example: the absolute sector offset of the > partition is passed from level X-1 to level X. So, it's > definitely doable. > > In short: we just need to nail down what we're going to > fix, if we're going to fix anything, and understand the > consequences of our choice so that we can document it > or beter, avoid introducing new bugs in the process.. > > -- > Marcel Moolenaar > xcllnt@mac.com > Let's see what we have: Slices on extended partition is *not* actually nested, they form a some sort of chain. Single entry in parent (level 1) PT is sized to whole extended partition. Nothing unusual. Next, 1st PT of extended partition contain two entries: 1st entry) normal slice (level 2), which can contain some FS or be a target for partitioning 2nd entry) pointer to next slice in next format: - type field set to 0x05 (Extended DOS) - start sector points to next PT - size is equal to size of next normal slice plus skipped sectors (63 in my case) "Anomalies" starts from 2nd PT: 1st entry) normal slice (level 2). Start sector specified relatively to position of current PT and (which is equal) to start sector value in previous PT 2nd entry) again, pointer to next PT. Most important here, that start sector calculated relatively to whole extended partition, not current PT, and points to somewhere outside of area specified by 1st entry and corresponding entry in previous PT. >From my point of view, it is some strange and confusing design, but it allows creating of potentially unlimited number of slices in not very complicated way. Description of PTs in extended partition can be generalized for using the same code for all PTs and extending possibilities: 1) start sectors for all, entries except marked as Extended DOS, used relatively to current PT. 2) for entries marked as Extended DOS we count start sector relatively to whole extended partition and there are three cases: 2.1) pointed PT contains extended entry which safely can be nested (all offsets and sizes specified correctly, no overlappings and running out of bounds) 2.2) pointed PT contains extended entry which runs out of bounds, but can be correctly processed as a part of chain 2.3) pointed PT does not contain extended entry In case 2.1 we increase nesting level. For 2.2 and 2.3 slices are part of chain and should be flattened. All other cases considered as invalid. Little comment for case 2.3: it also could be nested, but to avoid renaming after adding "chain"-style partition in it's PT better to use it as a part of chain. With such design it would be possible to combine chains of partitions and really nested partitions. Even more, it would be possible to form "branchy" chain (i.e. one of PTs contains 2 entries which couldn't be nested) Correct me, pls, if I miss something. P.S.: As I think, proposition written above, describes more powerful implementation that could be needed in real life. Extended partitions takes it's history from dark DOS times and AFAIK there are no implementations with real nesting, not just chaining, so it would be fully enough to implement only proper processing of chains. From owner-freebsd-geom@FreeBSD.ORG Wed Dec 24 13:03:59 2008 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 199721065670 for ; Wed, 24 Dec 2008 13:03:59 +0000 (UTC) (envelope-from gcubfg-freebsd-geom@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id BFC6F8FC1A for ; Wed, 24 Dec 2008 13:03:58 +0000 (UTC) (envelope-from gcubfg-freebsd-geom@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LFTP0-00046y-L8 for freebsd-geom@freebsd.org; Wed, 24 Dec 2008 13:03:54 +0000 Received: from 195.208.174.178 ([195.208.174.178]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Dec 2008 13:03:54 +0000 Received: from vadim_nuclight by 195.208.174.178 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Dec 2008 13:03:54 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-geom@freebsd.org From: Vadim Goncharov Followup-To: gmane.os.freebsd.devel.geom Date: Wed, 24 Dec 2008 13:03:45 +0000 (UTC) Organization: Nuclear Lightning @ Tomsk, TPU AVTF Hostel Lines: 17 Message-ID: References: <3a142e750812201747o339d7298p11236bb02c7f858f@mail.gmail.com> <20081223050425.GA89448@citylink.fud.org.nz> <6D4A57D3-3F6D-43E6-9B69-95514F69C57A@mac.com> X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 195.208.174.178 X-Comment-To: Marcel Moolenaar User-Agent: slrn/0.9.8.1 (FreeBSD) Sender: news Subject: Re: Changed names of logical disks on recent -CURRENT: part of logical disks not accessible now X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vadim_nuclight@mail.ru List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2008 13:03:59 -0000 Hi Marcel Moolenaar! On Tue, 23 Dec 2008 11:28:14 -0800; Marcel Moolenaar wrote about 'Re: Changed names of logical disks on recent -CURRENT: part of logical disks not accessible now': > In short: we just need to nail down what we're going to > fix, if we're going to fix anything, and understand the > consequences of our choice so that we can document it > or beter, avoid introducing new bugs in the process.. We want to fix POLA violation, i.e. make all that stuff behave as it always did before (primary from 1 to 4, logical slices from 5 to any). Nothing more, because doing something with MBR partitioning nowadays is not worth because GPT is already available (MBR is limited to 2 Tb, and disks are growing). -- WBR, Vadim Goncharov. ICQ#166852181 mailto:vadim_nuclight@mail.ru [Moderator of RU.ANTI-ECOLOGY][FreeBSD][http://antigreen.org][LJ:/nuclight] From owner-freebsd-geom@FreeBSD.ORG Wed Dec 24 13:08:21 2008 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 E02761065673 for ; Wed, 24 Dec 2008 13:08:21 +0000 (UTC) (envelope-from aglarond@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.249]) by mx1.freebsd.org (Postfix) with ESMTP id 930318FC08 for ; Wed, 24 Dec 2008 13:08:21 +0000 (UTC) (envelope-from aglarond@gmail.com) Received: by an-out-0708.google.com with SMTP id c2so1278107anc.13 for ; Wed, 24 Dec 2008 05:08:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=43SpSVG/dbBaIwdrajlrIzM7NMrsdKqQSjg1U8n/VUQ=; b=lyVK9DTIG4Y9EWRZzELBmeOCfFuUUQE2L1HtJsr+dPEIR410vEj/7OGd7MwVAnZCVF ltAXfTxRuR6ImyAOVmLv0ZObzFo/7aJg86A0GIrqhC5pKtI4uuYdIiL/7JoLq+YmjGHh vJxPr7dwDm05mWz1IIUX8+agiRpZJxSm1aTPo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Is9zsdFie5BPyViXB298vh+Df7gMQ6BRuWCz1QvteiOdq4KI+9FB22PxGOZAeHQcYt qJuxhpY+Fs7BexsJSF2auMfpVNHvWRK6J3wKIb6d2ak7kxOCEot0S682oM6bjaNfbeLA oHiGzrx58NKdPrC/HAs8gVc92uB3a+TLuQ/Tw= Received: by 10.100.33.4 with SMTP id g4mr834251ang.43.1230124100980; Wed, 24 Dec 2008 05:08:20 -0800 (PST) Received: by 10.100.110.15 with HTTP; Wed, 24 Dec 2008 05:08:20 -0800 (PST) Message-ID: <55c107bf0812240508v68d9ccf2n164c78891724b634@mail.gmail.com> Date: Wed, 24 Dec 2008 14:08:20 +0100 From: "Dimitri Aivaliotis" To: rick-freebsd2008@kiwi-computer.com In-Reply-To: <20081222200312.GA16003@keira.kiwi-computer.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <55c107bf0812180320x502847efi53df5a7da68b73e1@mail.gmail.com> <20081218175752.GA10326@carrot.lan> <20081218182352.GA69287@keira.kiwi-computer.com> <55c107bf0812190250x434e468cy2fb19956f36b5958@mail.gmail.com> <20081219161602.GA80859@keira.kiwi-computer.com> <55c107bf0812220820k2fb99ccev77d661629efed219@mail.gmail.com> <20081222200312.GA16003@keira.kiwi-computer.com> Cc: freebsd-geom@freebsd.org Subject: Re: gvinum raid10 stale 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, 24 Dec 2008 13:08:22 -0000 Hi Rick, On Mon, Dec 22, 2008 at 9:03 PM, Rick C. Petty wrote: > On Mon, Dec 22, 2008 at 05:20:36PM +0100, Dimitri Aivaliotis wrote: >> > > This is a mirror of stripes, but I'm not really sure what you gain by > staggering across all the drives like that. Are you doing this for some > performance gain? If you're really using five disks, you may wish to > consider raid5. Otherwise, this looks like a mirror of stripes across five > disks. Much prettier than what you posted originally. OK, so this IS expandable. That's good news. My real-life situation is going from 2 to 4 disks, so RAID5 is not an option here. > Are you trying to add mirrors or did you want to increase your volume size? I want to increase volume size. > You could increase the volume size, but the underlying filesystem would > need to be resized. I'm not sure if gvinum lets you increase the volume > size. If you just want to add another striped mirror: > > plex org striped 512k volume raid10 > sd length 102480k drive f > sd length 102480k drive g > sd length 102480k drive h > sd length 102480k drive i > sd length 102480k drive j Ok, so this would just increase resiliency, without increasing volume size? Unfortunately so: (I had to change the plex line because it gave an error: invalid plex definition ' plex org striped 512k volume raid10') plex name raid10.p2 org striped 512k vol raid10 plex name raid10.p3 org striped 512k vol raid10 # gvinum lp -v 4 plexes: Plex raid10.p3: Size: 146767085568 bytes (139968 MB) Subdisks: 32 State: down Organization: striped Stripe size: 512 kB Part of volume raid10 Plex raid10.p2: Size: 146767085568 bytes (139968 MB) Subdisks: 32 State: down Organization: striped Stripe size: 512 kB Part of volume raid10 Plex raid10.p0: Size: 146767085568 bytes (139968 MB) Subdisks: 32 State: down Organization: striped Stripe size: 512 kB Part of volume raid10 Plex raid10.p1: Size: 146767085568 bytes (139968 MB) Subdisks: 32 State: up Organization: striped Stripe size: 512 kB Part of volume raid10 But this is not what I'm looking to do, as I'd like to increase volume size. >> Thanks for your patience with me here. I'm trying to understand how >> this should work. > > No problem. I would still recommend getting rid of the stripes to reduce > your complexity and simplify future additions, but that's my personal > preference. I agree. If I'm going to be reconfiguring the disks anyways, how can I setup a configuration where I can grow a volume that starts out as a 2-disk mirror? I've tried a few different configurations on a test server now, but nothing seems to allow me to access the files on the current volume in its expanded state. - Dimitri From owner-freebsd-geom@FreeBSD.ORG Fri Dec 26 08:17:33 2008 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 47D261065670 for ; Fri, 26 Dec 2008 08:17:33 +0000 (UTC) (envelope-from obrien@NUXI.org) Received: from dragon.nuxi.org (trang.nuxi.org [74.95.12.85]) by mx1.freebsd.org (Postfix) with ESMTP id 1D2D78FC2A for ; Fri, 26 Dec 2008 08:17:32 +0000 (UTC) (envelope-from obrien@NUXI.org) Received: from dragon.nuxi.org (obrien@localhost [127.0.0.1]) by dragon.nuxi.org (8.14.2/8.14.2) with ESMTP id mBQ81kGS026033; Fri, 26 Dec 2008 00:01:46 -0800 (PST) (envelope-from obrien@dragon.nuxi.org) Received: (from obrien@localhost) by dragon.nuxi.org (8.14.2/8.14.2/Submit) id mBQ81kra026032; Fri, 26 Dec 2008 00:01:46 -0800 (PST) (envelope-from obrien) Date: Fri, 26 Dec 2008 00:01:46 -0800 From: "David O'Brien" To: Marcel Moolenaar Message-ID: <20081226080146.GB25406@dragon.NUXI.org> Mail-Followup-To: obrien@freebsd.org, Marcel Moolenaar , FreeBSD Current , freebsd-geom@freebsd.org References: <3a142e750812201747o339d7298p11236bb02c7f858f@mail.gmail.com> <20081223050425.GA89448@citylink.fud.org.nz> <6D4A57D3-3F6D-43E6-9B69-95514F69C57A@mac.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 8.0-CURRENT User-Agent: Mutt/1.5.16 (2007-06-09) Cc: FreeBSD Current , freebsd-geom@freebsd.org Subject: Re: Changed names of logical disks on recent -CURRENT: part of logical disks not accessible now X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: obrien@freebsd.org List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2008 08:17:33 -0000 On Tue, Dec 23, 2008 at 11:28:14AM -0800, Marcel Moolenaar wrote: > On Dec 23, 2008, at 11:03 AM, gelraen wrote: >> 2008/12/23 Marcel Moolenaar : > Well, the question is whether to expose the nesting > in the naming or use a flattened partition naming > scheme. Secondly, how generic do you want to make the > flattening. > > With flattening, you have ad0sX, with X from 1 to many. > Without flattening you get ad0sX[sY...], with X and Y > from 1 to 4. > > What you suggest is a partial flattening: adsXsY, with > X from 1 to 4 and Y from 1 to many. Yuck. Why does the slice names have to change from ad0s5 for the first partition within an exteneded partition. -- -- David (obrien@FreeBSD.org) From owner-freebsd-geom@FreeBSD.ORG Fri Dec 26 08:29:03 2008 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 AB403106564A; Fri, 26 Dec 2008 08:29:03 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 6A9FA8FC08; Fri, 26 Dec 2008 08:29:03 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 0F81417001; Fri, 26 Dec 2008 08:29:01 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.3/8.14.3) with ESMTP id mBQ8T1lD021389; Fri, 26 Dec 2008 08:29:01 GMT (envelope-from phk@critter.freebsd.dk) To: obrien@freebsd.org From: "Poul-Henning Kamp" In-Reply-To: Your message of "Fri, 26 Dec 2008 00:01:46 PST." <20081226080146.GB25406@dragon.NUXI.org> Date: Fri, 26 Dec 2008 08:29:01 +0000 Message-ID: <21388.1230280141@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: freebsd-geom@freebsd.org, Marcel Moolenaar , FreeBSD Current Subject: Re: Changed names of logical disks on recent -CURRENT: part of logical disks not accessible now 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, 26 Dec 2008 08:29:03 -0000 In message <20081226080146.GB25406@dragon.NUXI.org>, "David O'Brien" writes: >> With flattening, you have ad0sX, with X from 1 to many. >> Without flattening you get ad0sX[sY...], with X and Y >> from 1 to 4. That is wrong. Extended FAT partitions are a linked list and you can have have as many partitions as you like. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-geom@FreeBSD.ORG Fri Dec 26 09:06:43 2008 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 302CD1065670; Fri, 26 Dec 2008 09:06:43 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id E0F3E8FC08; Fri, 26 Dec 2008 09:06:42 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 09DBB17001; Fri, 26 Dec 2008 09:06:40 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.3/8.14.3) with ESMTP id mBQ96ewh021619; Fri, 26 Dec 2008 09:06:40 GMT (envelope-from phk@critter.freebsd.dk) To: Garrett Cooper From: "Poul-Henning Kamp" In-Reply-To: Your message of "Fri, 26 Dec 2008 00:45:30 PST." Date: Fri, 26 Dec 2008 09:06:40 +0000 Message-ID: <21618.1230282400@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: FreeBSD Current , Marcel Moolenaar , "obrien@freebsd.org" , "freebsd-geom@freebsd.org" Subject: Re: Changed names of logical disks on recent -CURRENT: part of logical disks not accessible now 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, 26 Dec 2008 09:06:43 -0000 In message , Garrett Cooper wri tes: >On Dec 26, 2008, at 0:29, "Poul-Henning Kamp" >wrote: > >> In message <20081226080146.GB25406@dragon.NUXI.org>, "David O'Brien" >> writes: >> >>>> With flattening, you have ad0sX, with X from 1 to many. >>>> Without flattening you get ad0sX[sY...], with X and Y >>>> from 1 to 4. >> >> That is wrong. >> >> Extended FAT partitions are a linked list and you can have have >> as many partitions as you like. > >I thought 4 primary and 4 secondary dos slices were the limit on a >standard configuration... 3 primary and N secondary. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-geom@FreeBSD.ORG Fri Dec 26 09:12:14 2008 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 A06171065670 for ; Fri, 26 Dec 2008 09:12:14 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.28]) by mx1.freebsd.org (Postfix) with ESMTP id 518818FC18 for ; Fri, 26 Dec 2008 09:12:14 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so1996641ywe.13 for ; Fri, 26 Dec 2008 01:12:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:references:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:x-mailer :mime-version:subject:date:cc; bh=fGhKW3+Og5WhydZmC/ffO3y+ZQNgrIbOvvg4Zqncv1Q=; b=tpks2U01geqpKP+1bppz3uNbMLwjFgrpWiI3V9evDAvaUnzTHEIP4eg0e0lN57WQnS 3tMZMiqDd2jVwNweZH7gQgEkpvhMDstxZHpTBpk7PW9H4QIHBI6MljszxzJlNFy/ch2u zcc15zN4CvlPc07es9nxVTAS3cqtt5ArpXGQ4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=references:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:x-mailer:mime-version:subject:date:cc; b=m6jl9qBcuPwjNH1cqCSqkXJWc53PzLjele/Ll9qgM7fUK4lZV9WahgtQwu+mzS53XN l1bAP/XUG/U6QJT3512TvCVm1N0RobO3Yu2UXbuh8DRFwJig3mx6zykQ7qr7XwNCpdXX G6LdGTF5qACOHiGMz/h0qMg7iTdhnuvflV1HI= Received: by 10.100.122.8 with SMTP id u8mr6160229anc.131.1230281152702; Fri, 26 Dec 2008 00:45:52 -0800 (PST) Received: from ?10.97.3.41? ([32.154.77.238]) by mx.google.com with ESMTPS id d22sm21343737and.0.2008.12.26.00.45.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 26 Dec 2008 00:45:51 -0800 (PST) References: <21388.1230280141@critter.freebsd.dk> Message-Id: From: Garrett Cooper To: Poul-Henning Kamp In-Reply-To: <21388.1230280141@critter.freebsd.dk> Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Mailer: iPhone Mail (5F136) Mime-Version: 1.0 (iPhone Mail 5F136) Date: Fri, 26 Dec 2008 00:45:30 -0800 Cc: FreeBSD Current , Marcel Moolenaar , "obrien@freebsd.org" , "freebsd-geom@freebsd.org" Subject: Re: Changed names of logical disks on recent -CURRENT: part of logical disks not accessible now 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, 26 Dec 2008 09:12:14 -0000 On Dec 26, 2008, at 0:29, "Poul-Henning Kamp" wrote: > In message <20081226080146.GB25406@dragon.NUXI.org>, "David O'Brien" > writes: > >>> With flattening, you have ad0sX, with X from 1 to many. >>> Without flattening you get ad0sX[sY...], with X and Y >>> from 1 to 4. > > That is wrong. > > Extended FAT partitions are a linked list and you can have have > as many partitions as you like. I thought 4 primary and 4 secondary dos slices were the limit on a standard configuration... From owner-freebsd-geom@FreeBSD.ORG Fri Dec 26 13:43:55 2008 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 F0B8E1065670 for ; Fri, 26 Dec 2008 13:43:55 +0000 (UTC) (envelope-from michael.schuh@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.30]) by mx1.freebsd.org (Postfix) with ESMTP id A6BFD8FC23 for ; Fri, 26 Dec 2008 13:43:55 +0000 (UTC) (envelope-from michael.schuh@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so2017520ywe.13 for ; Fri, 26 Dec 2008 05:43:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=bxICzOPaDT7+QxWKtaeB36yXKn0K4tFza0W6TiHbuWk=; b=BaaJv/WAy0OYWFGi/WV8fXhUoyN4JZxtkJ2GuvYcCVhUoRv3QXNuNT/EC7lqUlz3n+ Xa88OKC5gtjM8dEYD2eGOvnOynMSe7qS+mZ/ZdcaQlGsVGecgWzFKU3afGNigDyLsjyl s4en43cTqREZ/2hW8PLC6HUGM9G9i7+mOQY6U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=Pstz7KNdGxorqxx+WgBcN5IWNgL56Hjza3iq8JTbrZrl1UMtASSJJTUm7krgWf68+u PO6npxeqk73j1b5V4xyZl1dcYLG6kI+LPpX29a9xdc8kTxroJzXFCzFRBgYPJcZP9MPn 15GJYV58p9XMG1tjx8RcUEuNKRBfwyk69Pxc4= Received: by 10.65.115.6 with SMTP id s6mr8363091qbm.73.1230297437997; Fri, 26 Dec 2008 05:17:17 -0800 (PST) Received: by 10.65.84.14 with HTTP; Fri, 26 Dec 2008 05:17:17 -0800 (PST) Message-ID: <1dbad3150812260517u4ce6b5e7n6eed03de2e1f31a4@mail.gmail.com> Date: Fri, 26 Dec 2008 14:17:17 +0100 From: "Michael Schuh" To: freebsd-geom@freebsd.org In-Reply-To: <20081226120015.2DB9510656BA@hub.freebsd.org> MIME-Version: 1.0 References: <20081226120015.2DB9510656BA@hub.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: freebsd-geom Digest, Vol 243, Issue 5 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, 26 Dec 2008 13:43:56 -0000 Hi, merry Chrismas :-) > > ---------- Weitergeleitete Nachricht ---------- > From: Garrett Cooper > To: Poul-Henning Kamp > Date: Fri, 26 Dec 2008 00:45:30 -0800 > Subject: Re: Changed names of logical disks on recent -CURRENT: part of > logical disks not accessible now > On Dec 26, 2008, at 0:29, "Poul-Henning Kamp" wrote: > > Extended FAT partitions are a linked list and you can have have >> as many partitions as you like. >> > > I thought 4 primary and 4 secondary dos slices were the limit on a standa= rd > configuration... > for sure? my guess is you can have 4 extended partitions, each with 4 secondary/slave partitions.... speak a maximum of 16 partitions per disk. with the rule, you can only use = a primary !or! a extended partition same time on same place. as far as i remember me right ..... regards michael --=20 =3D=3D=3D m i c h a e l - s c h u h . n e t =3D=3D=3D Michael Schuh Postfach 10 21 52 66021 Saarbr=FCcken phone: 0681/8319664 mobil: 0177/9738644 @: m i c h a e l . s c h u h @ g m a i l . c o m =3D=3D=3D Ust-ID: DE251072318 =3D=3D=3D From owner-freebsd-geom@FreeBSD.ORG Sat Dec 27 14:15:17 2008 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 495D81065674 for ; Sat, 27 Dec 2008 14:15:17 +0000 (UTC) (envelope-from ulf.lilleengen@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.228]) by mx1.freebsd.org (Postfix) with ESMTP id 133028FC13 for ; Sat, 27 Dec 2008 14:15:17 +0000 (UTC) (envelope-from ulf.lilleengen@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so5356250rvf.43 for ; Sat, 27 Dec 2008 06:15:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=+QuA5+Qp5VW58KPmqURipwFySk9OgSvE+ejDKX0dbtA=; b=n1+36vs1n5f0f7e4wscGUsgJBLT2/OlfO3KjGA/6DczBSP9cjhKeMSjn2rrVvaBMmE gT2YTvcOz4IXe6el6G/MqiZRMuLCKoptvpGAl5SSDJ6YwFbZkabSxcYgkTrfg+qo0z4v wruprHgdSi1DZWRUTqs/SrkUbWiMWO/W+wxTo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=NrhGv9FtNR2d/rPP5e/SMT7SbzWwR3kym5SKQRRCNT5Mne2Bm1OUkkuohsXlUz6wCz /rsaR6v7iJWICfTH2HJYLcFzdb/N4W0uf7HYAeGD27RI6RI4qZHPgtrHvYXFydR+SBD6 SbUU2ZfqAgccYMNfFUmDJ3Oa3QSuIXNtoOooY= Received: by 10.114.199.3 with SMTP id w3mr3390285waf.181.1230387316774; Sat, 27 Dec 2008 06:15:16 -0800 (PST) Received: by 10.114.14.5 with HTTP; Sat, 27 Dec 2008 06:15:16 -0800 (PST) Message-ID: <917871cf0812270615j4f43ce0v497804ce5a71690f@mail.gmail.com> Date: Sat, 27 Dec 2008 15:15:16 +0100 From: "Ulf Lilleengen" To: "Michael Jung" In-Reply-To: MIME-Version: 1.0 References: <20081212155023.GA82667@keira.kiwi-computer.com> <917871cf0812130559r6d423688q57287dd765d6edf4@mail.gmail.com> <20081214195649.GK34842@funkthat.com> <20081214215913.GA3723@nobby> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: John-Mark Gurney , freebsd-geom@freebsd.org Subject: Re: Encrypting raid5 volume with geli 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: Sat, 27 Dec 2008 14:15:17 -0000 On Fri, Dec 19, 2008 at 10:49 PM, Michael Jung < mikej@paymentallianceintl.com> wrote: > FreeBSD 7.1-PRERELEASE #1: Fri Dec 19 09:04:23 EST 2008 > > With the new patch I can create UFS system and mount. > > I can also: > > (root@charon) /etc# geli init -P -K /root/test.key /dev/gvinum/test > > But when I try to attach it: > > (root@charon) /etc# geli attach -p -k /root/test.key /dev/gvinum/test > (root@charon) /etc# mount /dev/gvinum/test.eli /mnt > mount: /dev/gvinum/test.eli : Invalid argument > (root@charon) /etc# Uhm, haven't you forgotten to do a newfs /dev/gvinum/test.eli before mounting it? It works fine for me when doing that first. -- Ulf Lilleengen From owner-freebsd-geom@FreeBSD.ORG Sat Dec 27 19:38:43 2008 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 00A3D1065679 for ; Sat, 27 Dec 2008 19:38:43 +0000 (UTC) (envelope-from jos@catnook.com) Received: from lizzy.dyndns.org (209-204-188-132.dsl.static.sonic.net [209.204.188.132]) by mx1.freebsd.org (Postfix) with SMTP id 869BE8FC0C for ; Sat, 27 Dec 2008 19:38:42 +0000 (UTC) (envelope-from jos@catnook.com) Received: (qmail 31337 invoked by uid 1000); 27 Dec 2008 19:12:23 -0000 Date: Sat, 27 Dec 2008 11:12:23 -0800 From: Jos Backus To: freebsd-current@freebsd.org, freebsd-geom@freebsd.org Message-ID: <20081227191223.GB31177@lizzy.catnook.local> References: <3a142e750812201747o339d7298p11236bb02c7f858f@mail.gmail.com> <20081223050425.GA89448@citylink.fud.org.nz> <6D4A57D3-3F6D-43E6-9B69-95514F69C57A@mac.com> <20081226080146.GB25406@dragon.NUXI.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081226080146.GB25406@dragon.NUXI.org> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Subject: Re: Changed names of logical disks on recent -CURRENT: part of logical disks not accessible now X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jos@catnook.com List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Dec 2008 19:38:43 -0000 Another data point: when I replace GEOM_{MBR,BSD} with GEOM_PART_{MBR,BSD} my system becomes unbootable and remains stuck at the mountroot> prompt. My root fs is on ad0s1a but the available geoms only list ad0a (and no slices), which obviously doesn't work. -- Jos Backus jos at catnook.com