From owner-freebsd-geom@FreeBSD.ORG Sun Feb 26 20:03:47 2006 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 7949916A420 for ; Sun, 26 Feb 2006 20:03:47 +0000 (GMT) (envelope-from oxy@field.hu) Received: from green.field.hu (green.field.hu [217.20.130.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA81B43D45 for ; Sun, 26 Feb 2006 20:03:46 +0000 (GMT) (envelope-from oxy@field.hu) Received: from localhost (green.field.hu [217.20.130.28]) by green.field.hu (Postfix) with ESMTP id F3D86119CD5 for ; Sun, 26 Feb 2006 21:01:53 +0100 (CET) Received: from green.field.hu ([217.20.130.28]) by localhost (green.field.hu [217.20.130.28]) (amavisd-new, port 10024) with ESMTP id 77094-09 for ; Sun, 26 Feb 2006 21:01:53 +0100 (CET) Received: from oxy (dsl85-238-76-25.pool.tvnet.hu [85.238.76.25]) by green.field.hu (Postfix) with ESMTP id 45C56119C8D for ; Sun, 26 Feb 2006 21:01:53 +0100 (CET) Message-ID: <000b01c63b0f$c0779b10$0201a8c0@oxy> From: "OxY" To: Date: Sun, 26 Feb 2006 21:03:45 +0100 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 X-Virus-Scanned: by Amavisd-new (Spamassassin+Razor2+Pyzor+DCC+Bayes db, Clamd Antivirus) at field.hu Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: which mirror balance algorithm to use? 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, 26 Feb 2006 20:03:47 -0000 hi! my box is a file server, it has about ~100-150 simultaneous connection all the time, so the disks are very busy.. i'd like to use the best performance balance algorithm to reduce disk=20 load, which is about 80-90% now.. which one should i use? 'load' and 'round-robin'? why? i tried to read something about this topic, did goole, so on, no = result.. thanks a lot for all your help! From owner-freebsd-geom@FreeBSD.ORG Sun Feb 26 23:20:29 2006 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 2EAE816A420 for ; Sun, 26 Feb 2006 23:20:29 +0000 (GMT) (envelope-from terje+geom@elde.net) Received: from smtp.elde.net (us.elde.net [66.246.223.215]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9CE9243D53 for ; Sun, 26 Feb 2006 23:20:28 +0000 (GMT) (envelope-from terje+geom@elde.net) Received: from smtp.elde.net (343006.ds.nac.net [127.0.0.1]) by smtp.elde.net (Postfix) with ESMTP id 84A9365003; Mon, 27 Feb 2006 00:20:27 +0100 (CET) Received: from [127.0.0.1] (60.80-203-96.nextgentel.com [80.203.96.60]) (Authenticated sender: terje@elde.net) by smtp.elde.net (Postfix) with ESMTP id D4F8664F56; Mon, 27 Feb 2006 00:20:26 +0100 (CET) Message-ID: <44023791.2090008@elde.net> Date: Mon, 27 Feb 2006 00:19:45 +0100 From: Terje Elde User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: OxY References: <000b01c63b0f$c0779b10$0201a8c0@oxy> In-Reply-To: <000b01c63b0f$c0779b10$0201a8c0@oxy> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-geom@freebsd.org Subject: Re: which mirror balance algorithm to use? 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, 26 Feb 2006 23:20:29 -0000 OxY wrote: > my box is a file server, it has about ~100-150 simultaneous connection > all the time, so the disks are very busy.. > i'd like to use the best performance balance algorithm to reduce disk > load, which is about 80-90% now.. > which one should i use? 'load' and 'round-robin'? > why? > There are many factors here. If you're using both slow and fast disks, using the load algorithm might have some advantages for example. I know this isn't the answer you want, but the best way to go about this might actually be to test the different algorithms. It's easy enough to change, and then you can run up some numbers on how well it seem to be performing with the different ones in your setup. Best thing would be if you could run with a simulated load after hours, so you can get the exact same test patterns run for the different algorithms. Combine with trying them out with real world load, and things should get interesting. Terje From owner-freebsd-geom@FreeBSD.ORG Mon Feb 27 02:36:04 2006 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 9B1B916A420 for ; Mon, 27 Feb 2006 02:36:04 +0000 (GMT) (envelope-from jackt123@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id BDD0D43D46 for ; Mon, 27 Feb 2006 02:36:03 +0000 (GMT) (envelope-from jackt123@gmail.com) Received: by xproxy.gmail.com with SMTP id s17so510320wxc for ; Sun, 26 Feb 2006 18:36:03 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=XoCON7H8C/D8HBRoTs5hOFlw1gxmU9YN64mpGbCfBnOsNgxzad1usd+YgPa8bhn5gmgh4EdKfA9qO6iNy01DXPwA+9gGvR2hbDQKVsyPcbdUsqVVt5BqoxTBlAyRLKXCW2ucc5tirbav1nzufp9lAiouPjFixVw3aH+/zYud5lU= Received: by 10.70.29.16 with SMTP id c16mr4002767wxc; Sun, 26 Feb 2006 18:36:03 -0800 (PST) Received: by 10.70.70.16 with HTTP; Sun, 26 Feb 2006 18:36:03 -0800 (PST) Message-ID: Date: Mon, 27 Feb 2006 02:36:03 +0000 From: "Jack T" To: freebsd-geom@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: GELI compatibility with GBDE 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, 27 Feb 2006 02:36:04 -0000 Hi all. Sorry if this is a FAQ (I googled but am still unsure of the answer, and in any case there's too much to risk if I got it wrong) My question is: can GELI access a partition that was encrypted by GBDE? Thanks! - Jack From owner-freebsd-geom@FreeBSD.ORG Mon Feb 27 11:02:34 2006 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 E718616A420 for ; Mon, 27 Feb 2006 11:02:34 +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 583B543D5D for ; Mon, 27 Feb 2006 11:02:27 +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.4/8.13.4) with ESMTP id k1RB2Rsp046990 for ; Mon, 27 Feb 2006 11:02:27 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k1RB2QN2046984 for freebsd-geom@freebsd.org; Mon, 27 Feb 2006 11:02:26 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 27 Feb 2006 11:02:26 GMT Message-Id: <200602271102.k1RB2QN2046984@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, 27 Feb 2006 11:02:35 -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 o [2005/12/08] bin/90093 geom fdisk(8) incapable of altering in-core ge o [2005/12/18] kern/90582 geom [geom_mirror] [panic] Restore cause panic 6 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 Feb 27 20:57:25 2006 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 5FE4416A420 for ; Mon, 27 Feb 2006 20:57:25 +0000 (GMT) (envelope-from cochard@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id AEE5E43D73 for ; Mon, 27 Feb 2006 20:57:15 +0000 (GMT) (envelope-from cochard@gmail.com) Received: by nproxy.gmail.com with SMTP id k26so743242nfc for ; Mon, 27 Feb 2006 12:57:14 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:sender:to:subject:mime-version:content-type; b=LXRyX8bOZlYlzyRr8AhPlI410Cl+FfDlAKAgfq76L/QrkGTcilWc8OHmLPAfu3wYxabT3ux/hPi8gDf8AAH65QTIx0PtB9CrcWT5EtCI1/eUvlSssu/dib/YKXwrDEkc8ZR9uZZJ3ZDhc9kgXxG761mHezV5O7oGaeZWR96Vtmk= Received: by 10.48.14.12 with SMTP id 12mr322960nfn; Mon, 27 Feb 2006 12:50:18 -0800 (PST) Received: by 10.48.216.14 with HTTP; Mon, 27 Feb 2006 12:50:18 -0800 (PST) Message-ID: <3131aa530602271250r458dd9fep@mail.gmail.com> Date: Mon, 27 Feb 2006 21:50:18 +0100 From: "Olivier Cochard" Sender: cochard@gmail.com To: freebsd-geom@freebsd.org MIME-Version: 1.0 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: Gvinum RAID5 volume don't work after a simple reboot X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Olivier Cochard List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2006 20:57:25 -0000 Hi all, One of my user have a big problem with gvinum and RAID5: He builts a RAID 5 volume that worked great for two days. But, when he reboot the PC it takes about 2 hours to get the disks to the "UP" state: Here is an example of output during the starting of the volume: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D 3 drives: D disk_ad1 State: up /dev/ad1s1 A: 0/238475 MB (0%) D disk_ad2 State: up /dev/ad2s1 A: 0/238475 MB (0%) D disk_ad3 State: up /dev/ad3s1 A: 0/238475 MB (0%) 1 volume: V fatty State: down Plexes: 1 Size: 465 GB 1 plex: P fatty.p0 R5 State: down Subdisks: 3 Size: 465 GB 3 subdisks: S fatty.p0.s2 State: I 70% D: disk_ad3 Size: 232 GB S fatty.p0.s1 State: I 70% D: disk_ad2 Size: 232 GB S fatty.p0.s0 State: up D: disk_ad1 Size: 232 GB =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D But, Once it gets to "UP", it's impossible to mount the volume: mount: /dev/gvinum/fatty on /mnt/home1: incorrect super block. then, I try an fsck: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D fsck -t ufs /dev/gvinum/fatty Cannot find file system superblock ** /dev/gvinum/fatty /dev/gvinum/fatty: CANNOT FIGURE OUT FILE SYSTEM PARTITION =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D How could he retrieves all the data stored on the RAID volume ? Thanks, Olivier -- Olivier Cochard FreeNAS main developer http://www.freenas.org Skype: callto://ocochard From owner-freebsd-geom@FreeBSD.ORG Mon Feb 27 21:10:36 2006 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 4B74716A420 for ; Mon, 27 Feb 2006 21:10:36 +0000 (GMT) (envelope-from le@FreeBSD.org) Received: from imap1u.univie.ac.at (imap1u.univie.ac.at [131.130.1.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2ABD43D4C for ; Mon, 27 Feb 2006 21:10:35 +0000 (GMT) (envelope-from le@FreeBSD.org) Received: from korben (korben.prv.univie.ac.at [131.130.7.98]) by imap1u.univie.ac.at (8.12.10/8.12.10) with ESMTP id k1RL9kgG032371 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Mon, 27 Feb 2006 22:09:47 +0100 (CET) Date: Mon, 27 Feb 2006 22:09:45 +0100 From: Lukas Ertl To: Olivier Cochard In-Reply-To: <3131aa530602271250r458dd9fep@mail.gmail.com> Message-ID: References: <3131aa530602271250r458dd9fep@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-DCC-ZID-Univie-Metrics: mx9.univie.ac.at 4249; Body=2 Fuz1=2 Fuz2=2 Cc: freebsd-geom@FreeBSD.org Subject: Re: Gvinum RAID5 volume don't work after a simple reboot 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, 27 Feb 2006 21:10:36 -0000 On Mon, 27 Feb 2006, Olivier Cochard wrote: > Here is an example of output during the starting of the volume: > > ============================= > 3 drives: > > D disk_ad1 State: up /dev/ad1s1 A: 0/238475 MB (0%) > > D disk_ad2 State: up /dev/ad2s1 A: 0/238475 MB (0%) > > D disk_ad3 State: up /dev/ad3s1 A: 0/238475 MB (0%) Are there no bsdlabels on the disks? I.e., is this device listing intended (ad1s1 instead of ad1s1a). > But, Once it gets to "UP", it's impossible to mount the volume: > > mount: /dev/gvinum/fatty on /mnt/home1: incorrect super block. This question might sound stupid, but is there a filesystem on the device? If it initializes, the filesystem is gone, if there ever was one. regards, le -- Lukas Ertl http://homepage.univie.ac.at/l.ertl/ le@FreeBSD.org http://people.freebsd.org/~le/ From owner-freebsd-geom@FreeBSD.ORG Mon Feb 27 21:11:50 2006 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 35B4D16A420 for ; Mon, 27 Feb 2006 21:11:50 +0000 (GMT) (envelope-from oxy@field.hu) Received: from green.field.hu (green.field.hu [217.20.130.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA2DA43D5A for ; Mon, 27 Feb 2006 21:11:45 +0000 (GMT) (envelope-from oxy@field.hu) Received: from localhost (green.field.hu [217.20.130.28]) by green.field.hu (Postfix) with ESMTP id 827DE11A1FC; Mon, 27 Feb 2006 22:09:44 +0100 (CET) Received: from green.field.hu ([217.20.130.28]) by localhost (green.field.hu [217.20.130.28]) (amavisd-new, port 10024) with ESMTP id 72086-03; Mon, 27 Feb 2006 22:09:44 +0100 (CET) Received: from oxy (dsl85-238-76-25.pool.tvnet.hu [85.238.76.25]) by green.field.hu (Postfix) with ESMTP id 2B1C6119CD5; Mon, 27 Feb 2006 22:09:44 +0100 (CET) Message-ID: <000601c63be2$6ac23d00$0201a8c0@oxy> From: "OxY" To: "Terje Elde" References: <000b01c63b0f$c0779b10$0201a8c0@oxy> <44023791.2090008@elde.net> Date: Mon, 27 Feb 2006 22:11:46 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-2"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 X-Virus-Scanned: by Amavisd-new (Spamassassin+Razor2+Pyzor+DCC+Bayes db, Clamd Antivirus) at field.hu Cc: freebsd-geom@freebsd.org Subject: Re: which mirror balance algorithm to use? 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, 27 Feb 2006 21:11:50 -0000 thanks a lot, i choosed load balance, one of my disks is slow. performance is great, load is low :) thxx! best wishes! ----- Original Message ----- From: "Terje Elde" To: "OxY" Cc: Sent: Monday, February 27, 2006 12:19 AM Subject: Re: which mirror balance algorithm to use? > OxY wrote: >> my box is a file server, it has about ~100-150 simultaneous connection >> all the time, so the disks are very busy.. >> i'd like to use the best performance balance algorithm to reduce disk >> load, which is about 80-90% now.. >> which one should i use? 'load' and 'round-robin'? >> why? >> > > There are many factors here. If you're using both slow and fast disks, > using the load algorithm might have some advantages for example. > > I know this isn't the answer you want, but the best way to go about this > might actually be to test the different algorithms. It's easy enough to > change, and then you can run up some numbers on how well it seem to be > performing with the different ones in your setup. Best thing would be > if you could run with a simulated load after hours, so you can get the > exact same test patterns run for the different algorithms. Combine with > trying them out with real world load, and things should get interesting. > > Terje > > From owner-freebsd-geom@FreeBSD.ORG Mon Feb 27 21:16:15 2006 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 5931416A420 for ; Mon, 27 Feb 2006 21:16:15 +0000 (GMT) (envelope-from cochard@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C8D543D62 for ; Mon, 27 Feb 2006 21:16:03 +0000 (GMT) (envelope-from cochard@gmail.com) Received: by nproxy.gmail.com with SMTP id l37so731837nfc for ; Mon, 27 Feb 2006 13:16:02 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:sender:to:subject:cc:in-reply-to:mime-version:content-type:references; b=RGLV5H4qjRo1xZS1LdZfS5QgI9X7X/tOciQRAexduvjR9ZEsdnlaQsLkog7faj0Nj5pFiU1nT45Vcpbg4QuvvynM9tq4bC81HzpyhGIFPUPPD0gL8x/DeYKBDEsl4JS7gf25//Ys0tpfB+ywpt1NUXFnauP06bxLYZiZ0aO5uz0= Received: by 10.48.216.11 with SMTP id o11mr336539nfg; Mon, 27 Feb 2006 13:16:02 -0800 (PST) Received: by 10.48.216.14 with HTTP; Mon, 27 Feb 2006 13:16:02 -0800 (PST) Message-ID: <3131aa530602271316n479af14fi@mail.gmail.com> Date: Mon, 27 Feb 2006 22:16:02 +0100 From: "Olivier Cochard" Sender: cochard@gmail.com To: "Lukas Ertl" In-Reply-To: MIME-Version: 1.0 References: <3131aa530602271250r458dd9fep@mail.gmail.com> 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 Cc: freebsd-geom@freebsd.org Subject: Re: Gvinum RAID5 volume don't work after a simple reboot X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Olivier Cochard List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2006 21:16:15 -0000 No, I don't use bsdlabel, after creating the RAID volume, I use this command: /sbin/newfs -U /dev/gvinum/fatty And I mount it and use it without problem (put lot's of files on it). Olivier 2006/2/27, Lukas Ertl : > > On Mon, 27 Feb 2006, Olivier Cochard wrote: > > > Here is an example of output during the starting of the volume: > > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D > > 3 drives: > > > > D disk_ad1 State: up /dev/ad1s1 A: 0/238475 MB (0%= ) > > > > D disk_ad2 State: up /dev/ad2s1 A: 0/238475 MB (0%= ) > > > > D disk_ad3 State: up /dev/ad3s1 A: 0/238475 MB (0%= ) > > Are there no bsdlabels on the disks? I.e., is this device listing > intended (ad1s1 instead of ad1s1a). > > > But, Once it gets to "UP", it's impossible to mount the volume: > > > > mount: /dev/gvinum/fatty on /mnt/home1: incorrect super block. > > This question might sound stupid, but is there a filesystem on the device= ? > If it initializes, the filesystem is gone, if there ever was one. > > regards, > le > > -- > Lukas Ertl http://homepage.univie.ac.at/l.ertl/ > le@FreeBSD.org http://people.freebsd.org/~le/ > From owner-freebsd-geom@FreeBSD.ORG Mon Feb 27 21:28:23 2006 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 8191816A420 for ; Mon, 27 Feb 2006 21:28:23 +0000 (GMT) (envelope-from le@FreeBSD.org) Received: from imap1u.univie.ac.at (imap1.unet.univie.ac.at [131.130.1.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id A21E443D55 for ; Mon, 27 Feb 2006 21:28:22 +0000 (GMT) (envelope-from le@FreeBSD.org) Received: from korben (korben.prv.univie.ac.at [131.130.7.98]) by imap1u.univie.ac.at (8.12.10/8.12.10) with ESMTP id k1RLSCgG036843 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Mon, 27 Feb 2006 22:28:14 +0100 (CET) Date: Mon, 27 Feb 2006 22:28:12 +0100 From: Lukas Ertl To: Olivier Cochard In-Reply-To: <3131aa530602271316n479af14fi@mail.gmail.com> Message-ID: References: <3131aa530602271250r458dd9fep@mail.gmail.com> <3131aa530602271316n479af14fi@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-DCC-ZID-Univie-Metrics: mx9.univie.ac.at 4248; Body=2 Fuz1=2 Fuz2=2 Cc: freebsd-geom@FreeBSD.org Subject: Re: Gvinum RAID5 volume don't work after a simple reboot 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, 27 Feb 2006 21:28:23 -0000 On Mon, 27 Feb 2006, Olivier Cochard wrote: > No, I don't use bsdlabel, after creating the RAID volume, I use this > command: > /sbin/newfs -U /dev/gvinum/fatty > > And I mount it and use it without problem (put lot's of files on it). And when you try to mount it again, it won't work? Is the volume up at this point? regards, le -- Lukas Ertl http://homepage.univie.ac.at/l.ertl/ le@FreeBSD.org http://people.freebsd.org/~le/ From owner-freebsd-geom@FreeBSD.ORG Mon Feb 27 21:30:43 2006 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 EA1AB16A420 for ; Mon, 27 Feb 2006 21:30:42 +0000 (GMT) (envelope-from cochard@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9212B43D58 for ; Mon, 27 Feb 2006 21:30:41 +0000 (GMT) (envelope-from cochard@gmail.com) Received: by nproxy.gmail.com with SMTP id y25so748100nfb for ; Mon, 27 Feb 2006 13:30:40 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:sender:to:subject:cc:in-reply-to:mime-version:content-type:references; b=sQ4yCnnSQhfrlt56UUcWCgC0bFYk/tmTbwwT3OyxRdBNYOUYK/a02jT40zqITzCR7iIDWchklMA4/O7wIkX37v/+zEISoKk6MqIAMvKOq/16Mx5Fuco99uHZirjwCGxYal9GjuXOYhoa3wzI/Wp4OQ8NRqubjXABitCv9YD/xaU= Received: by 10.48.248.3 with SMTP id v3mr340420nfh; Mon, 27 Feb 2006 13:30:40 -0800 (PST) Received: by 10.48.216.14 with HTTP; Mon, 27 Feb 2006 13:30:40 -0800 (PST) Message-ID: <3131aa530602271330t5b94992ei@mail.gmail.com> Date: Mon, 27 Feb 2006 22:30:40 +0100 From: "Olivier Cochard" Sender: cochard@gmail.com To: "Lukas Ertl" In-Reply-To: MIME-Version: 1.0 References: <3131aa530602271250r458dd9fep@mail.gmail.com> <3131aa530602271316n479af14fi@mail.gmail.com> 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 Cc: freebsd-geom@freebsd.org Subject: Re: Gvinum RAID5 volume don't work after a simple reboot X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Olivier Cochard List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2006 21:30:43 -0000 Yes, the volume is UP but I can't mount it, and the fsck report the error message previously post. Olivier 2006/2/27, Lukas Ertl : > > On Mon, 27 Feb 2006, Olivier Cochard wrote: > > > No, I don't use bsdlabel, after creating the RAID volume, I use this > > command: > > /sbin/newfs -U /dev/gvinum/fatty > > > > And I mount it and use it without problem (put lot's of files on it). > > And when you try to mount it again, it won't work? Is the volume up at > this point? > > regards, > le > > -- > Lukas Ertl http://homepage.univie.ac.at/l.ertl/ > le@FreeBSD.org http://people.freebsd.org/~le/ > -- Olivier Cochard FreeNAS main developer http://www.freenas.org Skype: callto://ocochard From owner-freebsd-geom@FreeBSD.ORG Mon Feb 27 21:36:50 2006 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 C63B416A420 for ; Mon, 27 Feb 2006 21:36:50 +0000 (GMT) (envelope-from le@FreeBSD.org) Received: from imap1u.univie.ac.at (imap1.unet.univie.ac.at [131.130.1.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36CF043D48 for ; Mon, 27 Feb 2006 21:36:50 +0000 (GMT) (envelope-from le@FreeBSD.org) Received: from korben (korben.prv.univie.ac.at [131.130.7.98]) by imap1u.univie.ac.at (8.12.10/8.12.10) with ESMTP id k1RLaSgG038890 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Mon, 27 Feb 2006 22:36:30 +0100 (CET) Date: Mon, 27 Feb 2006 22:36:27 +0100 From: Lukas Ertl To: Olivier Cochard In-Reply-To: <3131aa530602271330t5b94992ei@mail.gmail.com> Message-ID: References: <3131aa530602271250r458dd9fep@mail.gmail.com> <3131aa530602271316n479af14fi@mail.gmail.com> <3131aa530602271330t5b94992ei@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-DCC-ZID-Univie-Metrics: mx9.univie.ac.at 4248; Body=2 Fuz1=2 Fuz2=2 Cc: freebsd-geom@FreeBSD.org Subject: Re: Gvinum RAID5 volume don't work after a simple reboot 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, 27 Feb 2006 21:36:50 -0000 On Mon, 27 Feb 2006, Olivier Cochard wrote: > Yes, the volume is UP but I can't mount it, and the fsck report the error > message previously post. Hm, actually, no idea. Maybe the first superblock got lost somehow, and you can find an alternate superblock to mount the FS. Using "newfs -N" should print out how a FS would be created without doing it, so you can find the locations of the alternate superblocks. regards, le -- Lukas Ertl http://homepage.univie.ac.at/l.ertl/ le@FreeBSD.org http://people.freebsd.org/~le/ From owner-freebsd-geom@FreeBSD.ORG Tue Feb 28 01:43:12 2006 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 4D98D16A420 for ; Tue, 28 Feb 2006 01:43:12 +0000 (GMT) (envelope-from marius.nuennerich@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 801CE43D46 for ; Tue, 28 Feb 2006 01:43:11 +0000 (GMT) (envelope-from marius.nuennerich@gmx.net) Received: (qmail invoked by alias); 28 Feb 2006 01:43:10 -0000 Received: from p5083AA43.dip0.t-ipconnect.de (EHLO sol) [80.131.170.67] by mail.gmx.net (mp032) with SMTP; 28 Feb 2006 02:43:10 +0100 X-Authenticated: #5707313 Date: Tue, 28 Feb 2006 02:43:03 +0100 From: Marius Nuennerich To: "Jack T" Message-ID: <20060228024303.6f164e6a@sol> In-Reply-To: References: X-Mailer: Sylpheed-Claws 2.0.0 (GTK+ 2.8.12; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: freebsd-geom@freebsd.org Subject: Re: GELI compatibility with GBDE 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, 28 Feb 2006 01:43:12 -0000 On Mon, 27 Feb 2006 02:36:03 +0000 "Jack T" wrote: > Hi all. Sorry if this is a FAQ (I googled but > am still unsure of the answer, and in any case > there's too much to risk if I got it wrong) > > My question is: can GELI access > a partition that was encrypted by GBDE? I don't think so, why should it? - Marius From owner-freebsd-geom@FreeBSD.ORG Tue Feb 28 01:52:37 2006 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 B4D4816A420 for ; Tue, 28 Feb 2006 01:52:37 +0000 (GMT) (envelope-from marius.nuennerich@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id E9FC143D45 for ; Tue, 28 Feb 2006 01:52:36 +0000 (GMT) (envelope-from marius.nuennerich@gmx.net) Received: (qmail invoked by alias); 28 Feb 2006 01:52:35 -0000 Received: from p5083AA43.dip0.t-ipconnect.de (EHLO sol) [80.131.170.67] by mail.gmx.net (mp035) with SMTP; 28 Feb 2006 02:52:35 +0100 X-Authenticated: #5707313 Date: Tue, 28 Feb 2006 02:52:29 +0100 From: Marius Nuennerich To: freebsd-geom@freebsd.org Message-ID: <20060228025229.6d3b1105@sol> In-Reply-To: <3131aa530602131312r1944cfbfi@mail.gmail.com> References: <3131aa530602131312r1944cfbfi@mail.gmail.com> X-Mailer: Sylpheed-Claws 2.0.0 (GTK+ 2.8.12; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Subject: Re: Replacing Failed Drive... with gvinum 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, 28 Feb 2006 01:52:37 -0000 On Mon, 13 Feb 2006 22:12:32 +0100 Olivier Cochard wrote: > Hi all, > I've just read the post about replacing a failed drive with gmirror, > How doing the same with gvinum (for RAID 1 and RAID 5) volume ? > > Thanks, > > Olivier I would be interested in this too. If I try to emulate replacing a disk in QEMU it panics! This is the short way to reproduce (sorry the wiki entry is in german, but I think it's understandable from the commands): # comment # % host # > qemu # >> vi in qemu % qemu-img create disk1 4G # install 6.1-BETA1 on disk1 % qemu-img create disk2 128M % qemu-img create disk3 128M % qemu-img create disk4 128M % qemu -hda disk1 -hdb disk2 -hdc disk3 -hdd disk4 # raid5 like http://wiki.bsdforen.de/index.php/FreeBSD_-_gvinum_raid5 # shutdown qemu % qemu-img create disk5 128M % qemu -hda disk1 -hdb disk2 -hdc disk3 -hdd disk5 > fdisk -I /dev/ad3 > bsdlabel -R /dev/ad3s1 saved_label > gvinum create >> drive drei device /dev/ad3s1a >> :wq panic() regards Marius From owner-freebsd-geom@FreeBSD.ORG Tue Feb 28 11:45:22 2006 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 1933616A420 for ; Tue, 28 Feb 2006 11:45:22 +0000 (GMT) (envelope-from jackt123@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0F0243D45 for ; Tue, 28 Feb 2006 11:45:21 +0000 (GMT) (envelope-from jackt123@gmail.com) Received: by xproxy.gmail.com with SMTP id i29so714368wxd for ; Tue, 28 Feb 2006 03:45:21 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FJWHxselWW0VEENMgK6D+s94X+iyyfV9g1hbwKg3q55O6ANRK3FRpQtgARBQ9IR2Wab49HufFrLGq6bqCgt8fR0kLXqy8NFKt4r1D39fa4LfNXtHxIHNHoal1oEApXPEabN44+g5x6Hh5NtFRXAI5wxiTSfbA0OUdruGuMZpzyQ= Received: by 10.70.78.14 with SMTP id a14mr509759wxb; Tue, 28 Feb 2006 03:45:21 -0800 (PST) Received: by 10.70.70.16 with HTTP; Tue, 28 Feb 2006 03:45:21 -0800 (PST) Message-ID: Date: Tue, 28 Feb 2006 11:45:21 +0000 From: "Jack T" To: "Marius Nuennerich" In-Reply-To: <20060228024303.6f164e6a@sol> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20060228024303.6f164e6a@sol> Cc: freebsd-geom@freebsd.org Subject: Re: GELI compatibility with GBDE 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, 28 Feb 2006 11:45:22 -0000 On Mon, 27 Feb 2006 Jack T wrote: > Hi all. Sorry if this is a FAQ (I googled but > am still unsure of the answer, and in any case > there's too much to risk if I got it wrong) > My question is: can GELI access > a partition that was encrypted by GBDE? On 2/28/06, Marius Nuennerich wrote: > I don't think so, why should it? Hi! I was looking at feature comparison charts. GBDE uses AES, GELI can uses AES, Blowfish, and 3DES. GBDE uses fixed key length, GELI can be variable. Since they both can do sector-by-sector encryption, and GELI can be configured to use the same scheme and key length as GBDE, I just thought maybe it would be great if they're compatible. (I have a lot of data encrypted using GBDE, and it would be a lot of work to re-encrypt them with GELI to get the ability to enter keyphrase in kernel space rather than userspace, so that I can encrypt the root filesystem which GBDE can't do) Thanks! - Jack T From owner-freebsd-geom@FreeBSD.ORG Tue Feb 28 12:03:13 2006 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 97A0916A420 for ; Tue, 28 Feb 2006 12:03:13 +0000 (GMT) (envelope-from marius.nuennerich@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 5CBDD43D5D for ; Tue, 28 Feb 2006 12:03:10 +0000 (GMT) (envelope-from marius.nuennerich@gmx.net) Received: (qmail invoked by alias); 28 Feb 2006 12:03:08 -0000 Received: from p50839B96.dip0.t-ipconnect.de (EHLO sol) [80.131.155.150] by mail.gmx.net (mp005) with SMTP; 28 Feb 2006 13:03:08 +0100 X-Authenticated: #5707313 Date: Tue, 28 Feb 2006 13:03:00 +0100 From: Marius Nuennerich To: "Jack T" Message-ID: <20060228130300.59f9125d@sol> In-Reply-To: References: <20060228024303.6f164e6a@sol> X-Mailer: Sylpheed-Claws 2.0.0 (GTK+ 2.8.12; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: freebsd-geom@freebsd.org Subject: Re: GELI compatibility with GBDE 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, 28 Feb 2006 12:03:13 -0000 On Tue, 28 Feb 2006 11:45:21 +0000 "Jack T" wrote: > On Mon, 27 Feb 2006 Jack T wrote: > > Hi all. Sorry if this is a FAQ (I googled but > > am still unsure of the answer, and in any case > > there's too much to risk if I got it wrong) > > My question is: can GELI access > > a partition that was encrypted by GBDE? > > On 2/28/06, Marius Nuennerich wrote: > > I don't think so, why should it? > > Hi! I was looking at feature comparison charts. > GBDE uses AES, GELI can uses AES, Blowfish, and 3DES. > GBDE uses fixed key length, GELI can be variable. Could you post a link to that chart? > > Since they both can do sector-by-sector > encryption, and GELI can be configured to use > the same scheme and key length as GBDE, > I just thought maybe it would be great if > they're compatible. > > (I have a lot of data encrypted using GBDE, > and it would be a lot of work to > re-encrypt them with GELI to get the ability > to enter keyphrase in kernel space > rather than userspace, so that I can encrypt > the root filesystem which GBDE can't do) Thanks for the explanation. I still don't think it is a good idea, even if you would give it a try and it would work, developers are not supporting this kinda thing, so it could break in the future. regards Marius From owner-freebsd-geom@FreeBSD.ORG Tue Feb 28 19:39:17 2006 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 0E90B16A420 for ; Tue, 28 Feb 2006 19:39:17 +0000 (GMT) (envelope-from jackt123@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E9F043D46 for ; Tue, 28 Feb 2006 19:39:16 +0000 (GMT) (envelope-from jackt123@gmail.com) Received: by xproxy.gmail.com with SMTP id t13so781344wxc for ; Tue, 28 Feb 2006 11:39:15 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tQmo7jbD+/xawrw/xXnJMcqqpr7tEEJkzxzj6wAV1fQBCcspShtdy9YOZj0JuTSboof3RMAcBWpdyvctErCnaDe1z7FXk29FXSOtGdGVeZoiyQFrXzjrheb7DDkhgJ9M+80e/6X/WZJgLwQb/V2637Cln66ChRbhVH0katDUiyw= Received: by 10.70.54.13 with SMTP id c13mr991014wxa; Tue, 28 Feb 2006 11:39:15 -0800 (PST) Received: by 10.70.70.16 with HTTP; Tue, 28 Feb 2006 11:39:15 -0800 (PST) Message-ID: Date: Tue, 28 Feb 2006 19:39:15 +0000 From: "Jack T" To: "Marius Nuennerich" In-Reply-To: <20060228130300.59f9125d@sol> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20060228024303.6f164e6a@sol> <20060228130300.59f9125d@sol> Cc: freebsd-geom@freebsd.org Subject: Re: GELI compatibility with GBDE 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, 28 Feb 2006 19:39:17 -0000 On Tue, 28 Feb 2006 "Jack T" wrote: > Hi! I was looking at feature comparison charts. > GBDE uses AES, GELI can uses AES, Blowfish, and 3DES. > GBDE uses fixed key length, GELI can be variable. On 2/28/06, Marius Nuennerich wrote: > Could you post a link to that chart? Of course. It was part of a talk given at EuroBSDCon and CCC last year: https://events.ccc.de/congress/2005/fahrplan/events/1139.en.html The chart is in the PDF at the bottom of the page, table 1, section 3.1. - Jack From owner-freebsd-geom@FreeBSD.ORG Tue Feb 28 20:37:39 2006 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 E353016A437 for ; Tue, 28 Feb 2006 20:37:39 +0000 (GMT) (envelope-from terje+geom@elde.net) Received: from smtp.elde.net (us.elde.net [66.246.223.215]) by mx1.FreeBSD.org (Postfix) with ESMTP id 26D6143D64 for ; Tue, 28 Feb 2006 20:37:35 +0000 (GMT) (envelope-from terje+geom@elde.net) Received: from smtp.elde.net (343006.ds.nac.net [127.0.0.1]) by smtp.elde.net (Postfix) with ESMTP id C8B8365003 for ; Tue, 28 Feb 2006 21:37:34 +0100 (CET) Received: from [127.0.0.1] (60.80-203-96.nextgentel.com [80.203.96.60]) (Authenticated sender: terje@elde.net) by smtp.elde.net (Postfix) with ESMTP id 2E21264F56 for ; Tue, 28 Feb 2006 21:37:34 +0100 (CET) Message-ID: <4404B440.3050108@elde.net> Date: Tue, 28 Feb 2006 21:36:16 +0100 From: Terje Elde User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: freebsd-geom@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Subject: Re: GELI compatibility with GBDE 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, 28 Feb 2006 20:37:40 -0000 Jack T wrote: > My question is: can GELI access > a partition that was encrypted by GBDE? > No clear and definitive answer so far, so to sum it up: No, they're not compatible, and you cannot access a GBDE partition from GELI. It's not just a question of algorithm choice, there are a lot of other factors as well, such as how the encryption algorithms are used, on-disk layout etc. I wouldn't hold my breath for them to become compatible either. Making GELI read GBDE partitions would be like reimplementing GBDE (or large parts) inside GELI. No point, since we already have a GBDE. It'd probably be easier to look into making GBDE support the features you want, than make GELI read GBDE. Terje From owner-freebsd-geom@FreeBSD.ORG Wed Mar 1 10:19:06 2006 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 EBFFE16A420 for ; Wed, 1 Mar 2006 10:19:06 +0000 (GMT) (envelope-from marius.nuennerich@gmx.net) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 1F01F43D48 for ; Wed, 1 Mar 2006 10:19:05 +0000 (GMT) (envelope-from marius.nuennerich@gmx.net) Received: (qmail invoked by alias); 01 Mar 2006 10:19:04 -0000 Received: from p5083AE1B.dip0.t-ipconnect.de (EHLO sol) [80.131.174.27] by mail.gmx.net (mp032) with SMTP; 01 Mar 2006 11:19:04 +0100 X-Authenticated: #5707313 Date: Wed, 1 Mar 2006 11:18:55 +0100 From: Marius Nuennerich To: freebsd-geom@freebsd.org Message-ID: <20060301111855.270f5d89@sol> In-Reply-To: <20060228025229.6d3b1105@sol> References: <3131aa530602131312r1944cfbfi@mail.gmail.com> <20060228025229.6d3b1105@sol> X-Mailer: Sylpheed-Claws 2.0.0 (GTK+ 2.8.12; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Subject: Re: Replacing Failed Drive... with gvinum 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, 01 Mar 2006 10:19:07 -0000 On Tue, 28 Feb 2006 02:52:29 +0100 Marius Nuennerich wrote: > On Mon, 13 Feb 2006 22:12:32 +0100 > Olivier Cochard wrote: > > > Hi all, > > I've just read the post about replacing a failed drive with gmirror, > > How doing the same with gvinum (for RAID 1 and RAID 5) volume ? > > > > Thanks, > > > > Olivier > > I would be interested in this too. If I try to emulate replacing a disk > in QEMU it panics! > > This is the short way to reproduce (sorry the wiki entry is in german, > but I think it's understandable from the commands): > > # comment > # % host > # > qemu > # >> vi in qemu > > % qemu-img create disk1 4G > # install 6.1-BETA1 on disk1 > % qemu-img create disk2 128M > % qemu-img create disk3 128M > % qemu-img create disk4 128M > % qemu -hda disk1 -hdb disk2 -hdc disk3 -hdd disk4 > # raid5 like http://wiki.bsdforen.de/index.php/FreeBSD_-_gvinum_raid5 > # shutdown qemu > % qemu-img create disk5 128M > % qemu -hda disk1 -hdb disk2 -hdc disk3 -hdd disk5 > > fdisk -I /dev/ad3 > > bsdlabel -R /dev/ad3s1 saved_label > > gvinum create > >> drive drei device /dev/ad3s1a > >> :wq > panic() > > regards > Marius Is anyone able to reproduce this? Maybe with real Hardware? Lukas? From owner-freebsd-geom@FreeBSD.ORG Thu Mar 2 03:27:54 2006 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 5FCD116A420 for ; Thu, 2 Mar 2006 03:27:54 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 08F8743D45 for ; Thu, 2 Mar 2006 03:27:51 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [192.168.42.21] (andersonbox1.centtech.com [192.168.42.21]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id k223Ro3T042317 for ; Wed, 1 Mar 2006 21:27:50 -0600 (CST) (envelope-from anderson@centtech.com) Message-ID: <44066635.2060706@centtech.com> Date: Wed, 01 Mar 2006 21:27:49 -0600 From: Eric Anderson User-Agent: Thunderbird 1.5 (X11/20060112) MIME-Version: 1.0 To: freebsd-geom@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1308/Wed Mar 1 04:13:39 2006 on mh1.centtech.com X-Virus-Status: Clean Subject: g_vfs_done/load_block_bitmap panic 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: Thu, 02 Mar 2006 03:27:54 -0000 Recently, on an NFS root booted FreeBSD 6.0-STABLE box, I received the following panic, when trying to dd to a local disk (/dev/ad4, a sata drive with some fragments of a linux boot partition and ext3 filesystem): g_vfs_done():ad4s1[READ(offset=-4096,length=4096)]error=5 panic: load_block_bitmap: block_group >= groups_count - block_group= 131071, groups_count=502 That's all the information I have unfortunately.. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-geom@FreeBSD.ORG Thu Mar 2 15:53:12 2006 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 190FC16A420; Thu, 2 Mar 2006 15:53:12 +0000 (GMT) (envelope-from list-freebsd-2004@morbius.sent.com) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id B6DF043D46; Thu, 2 Mar 2006 15:53:11 +0000 (GMT) (envelope-from list-freebsd-2004@morbius.sent.com) Received: from frontend1.internal (mysql-sessions.internal [10.202.2.149]) by frontend1.messagingengine.com (Postfix) with ESMTP id 69FF5D39198; Thu, 2 Mar 2006 10:53:10 -0500 (EST) Received: from frontend2.messagingengine.com ([10.202.2.151]) by frontend1.internal (MEProxy); Thu, 02 Mar 2006 10:53:10 -0500 X-Sasl-enc: Pu3Wo8BUXh74bA0p23O1NPWc0/Hbey/JRvOU1gxsKf1e 1141314789 Received: from gumby.localdomain (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by frontend2.messagingengine.com (Postfix) with ESMTP id 9C22658072B; Thu, 2 Mar 2006 10:53:09 -0500 (EST) From: RW To: freebsd-geom@freebsd.org Date: Thu, 2 Mar 2006 15:52:58 +0000 User-Agent: KMail/1.9.1 References: <20060208201852.GA732@garage.freebsd.pl> In-Reply-To: <20060208201852.GA732@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200603021553.02591.list-freebsd-2004@morbius.sent.com> Cc: Pawel Jakub Dawidek Subject: Re: -p 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: Thu, 02 Mar 2006 15:53:12 -0000 On Wednesday 08 February 2006 20:18, Pawel Jakub Dawidek wrote: > On Wed, Feb 08, 2006 at 08:56:27PM +0100, Christian Baer wrote: > +> Hi folks! > +> > +> Is there some way to make GELI do the same this as GBDE does when the -p > +> (small 'p') is used? The idea is to run GELI in a script, ask for the > +> passphrase once and then attach, check and mount several providers with > +> the same passphrase automatically. > > The '-p' option is gbde(8) is actually only for debug purposes, as other > users can see it in ps(1) output (if not configured otherwise) and the > passphrase will be logged via audit mechanism which is currenty merged > to the tree. Is there any work-around for this in gdbe? I currently use the -p option to avoid all the typing. I'm not too worried about ps, but having the passphrase turn-up in a log file is a different matter. From owner-freebsd-geom@FreeBSD.ORG Fri Mar 3 06:14:41 2006 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 BCD9E16A422 for ; Fri, 3 Mar 2006 06:14:41 +0000 (GMT) (envelope-from gbaratto@superb.net) Received: from smail2.superb.net (smail2.superb.net [64.251.80.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 896C843D45 for ; Fri, 3 Mar 2006 06:14:41 +0000 (GMT) (envelope-from gbaratto@superb.net) Received: from [64.251.80.100] (100.80.251.64.yvr1.superb.net [64.251.80.100]) by smail2.superb.net (Postfix) with ESMTP id C9BB21F8D03 for ; Thu, 2 Mar 2006 22:14:40 -0800 (PST) Message-ID: <4407DE57.6090503@superb.net> Date: Thu, 02 Mar 2006 22:12:39 -0800 From: "Gustavo A. Baratto" User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: geom@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: ggate+gmirror 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: Fri, 03 Mar 2006 06:14:41 -0000 I have created a girror from a local partition and a ggate provider. The problem that happened a few times was that if the ggate server goes down, the mirror freezes completely, and I can't read nor write in the directory mounted on the gmirror. A 'gmirror list' shows both providers (local partition and ggate) working fine. And a 'ggatec list -v' shows the ggate provider normally Cheers From owner-freebsd-geom@FreeBSD.ORG Fri Mar 3 12:40:07 2006 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 8902616A420 for ; Fri, 3 Mar 2006 12:40:07 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9FB343D48 for ; Fri, 3 Mar 2006 12:40:06 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 48B0A51807; Fri, 3 Mar 2006 13:40:04 +0100 (CET) Received: from localhost (public-gprs28335.centertel.pl [87.96.110.175]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 07B545174A; Fri, 3 Mar 2006 13:39:51 +0100 (CET) Date: Fri, 3 Mar 2006 13:39:15 +0100 From: Pawel Jakub Dawidek To: "Gustavo A. Baratto" Message-ID: <20060303123915.GA10487@garage.freebsd.pl> References: <4407DE57.6090503@superb.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bg08WKrSYDhXBjb5" Content-Disposition: inline In-Reply-To: <4407DE57.6090503@superb.net> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r535 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=BAYES_00 autolearn=ham version=3.0.4 Cc: geom@freebsd.org Subject: Re: ggate+gmirror 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: Fri, 03 Mar 2006 12:40:07 -0000 --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 02, 2006 at 10:12:39PM -0800, Gustavo A. Baratto wrote: +> I have created a girror from a local partition and a ggate provider. +> The problem that happened a few times was that if the ggate server goes = down, the mirror freezes completely, and I can't read nor write in the dire= ctory mounted on the=20 +> gmirror. +>=20 +> A 'gmirror list' shows both providers (local partition and ggate) workin= g fine. +> And a 'ggatec list -v' shows the ggate provider normally Try -t option for ggatec(8). ggate doesn't works very well with gmirror/graid3 yet, as when the other side is disconnected, gmirror/graid3 will mark component as broken and won't connect it again. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --bg08WKrSYDhXBjb5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFECDjzForvXbEpPzQRAikcAJ0W23xfv87dEAVNDeAQnPcUMM+gUwCdHmH8 eyXt7Bd1hkV5+IL7TY+t6sY= =BFuh -----END PGP SIGNATURE----- --bg08WKrSYDhXBjb5--