From owner-freebsd-geom@FreeBSD.ORG Mon Sep 3 11:08:04 2007 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 0797E16A469 for ; Mon, 3 Sep 2007 11:08:04 +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 C723013C45A for ; Mon, 3 Sep 2007 11:08:03 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l83B83Js079047 for ; Mon, 3 Sep 2007 11:08:03 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l83B82F1079043 for freebsd-geom@FreeBSD.org; Mon, 3 Sep 2007 11:08:02 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 3 Sep 2007 11:08:02 GMT Message-Id: <200709031108.l83B82F1079043@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 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, 03 Sep 2007 11:08:04 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/73177 geom kldload geom_* causes panic due to memory exhaustion o kern/76538 geom [gbde] nfs-write on gbde partition stalls and continue o kern/83464 geom [geom] [patch] Unhandled malloc failures within libgeo o kern/84556 geom [geom] GBDE-encrypted swap causes panic at shutdown o kern/87544 geom [gbde] mmaping large files on a gbde filesystem deadlo o kern/89102 geom [geom_vfs] [panic] panic when forced unmount FS from u o bin/90093 geom fdisk(8) incapable of altering in-core geometry o kern/90582 geom [geom_mirror] [panic] Restore cause panic string (ffs_ o kern/98034 geom [geom] dereference of NULL pointer in acd_geom_detach o kern/104389 geom [geom] [patch] sys/geom/geom_dump.c doesn't encode XML o kern/113419 geom [geom] geom fox multipathing not failing back o misc/113543 geom [geom] [patch] geom(8) utilities don't work inside the o kern/113957 geom [gmirror] gmirror is intermittently reporting a degrad o kern/115572 geom [gbde] gbde partitions fail at 28bit/48bit LBA address 14 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o bin/78131 geom gbde "destroy" not working. o kern/79251 geom [2TB] newfs fails on 2.6TB gbde device o kern/94632 geom [geom] Kernel output resets input while GELI asks for f kern/105390 geom [geli] filesystem on a md backed by sparse file with s o kern/107707 geom [geom] [patch] add new class geom_xbox360 to slice up p bin/110705 geom gmirror control utility does not exit with correct exi o kern/113837 geom [geom] unable to access 1024 sector size storage o kern/113885 geom [geom] [patch] improved gmirror balance algorithm o kern/114532 geom GEOM_MIRROR shows up in kldstat even if compiled in th o kern/115547 geom [geom] [patch] for GEOM Eli to get password from stdin 10 problems total. From owner-freebsd-geom@FreeBSD.ORG Tue Sep 4 15:36:21 2007 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 639D816A418 for ; Tue, 4 Sep 2007 15:36:21 +0000 (UTC) (envelope-from t41pad@googlemail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by mx1.freebsd.org (Postfix) with ESMTP id 55BB213C46B for ; Tue, 4 Sep 2007 15:36:19 +0000 (UTC) (envelope-from t41pad@googlemail.com) Received: by nf-out-0910.google.com with SMTP id k4so1438166nfd for ; Tue, 04 Sep 2007 08:36:19 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=f1T3/icPPm2l8XL6sVQ8TVIZmrMl6/UQR/f4WtkdwAwJDIxJcCO2oFqVPYEpvZfKAki1MKKXc4SgHEfYPeHk5X3cE6Y0r+3aqasc451LHc2sFkeeh3sVdWaX5l4hZgY1eaR+QS9hNj+E0g0LlXui8FEbUgPYQGoGZDL5OLzGXks= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=VhjF6ceIArMMid45guhVgn2pwin+c6bY4nEl5NpIJeXByGV7sj70HxCFWFmRz0qaY+NyJQvvadFEbE3WmxGkB1WdLxf37rNgjArkWyE4FoTgKRWLm9L0t6MTcNM8XGd0GwmM81QZE5QcGxAyCmmXhwjCPm1nuXDkqV6eiGdKS9w= Received: by 10.78.171.13 with SMTP id t13mr4221601hue.1188918466473; Tue, 04 Sep 2007 08:07:46 -0700 (PDT) Received: by 10.78.186.11 with HTTP; Tue, 4 Sep 2007 08:07:46 -0700 (PDT) Message-ID: <5a3499010709040807o66588c18rfd52d25704e4656f@mail.gmail.com> Date: Wed, 5 Sep 2007 00:37:46 +0930 From: "cracker jack" To: freebsd-geom@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: my step-by-step GELI install on 6.2 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, 04 Sep 2007 15:36:21 -0000 Hi guys, I don't intend to re-invent the wheel but I've documented the steps I took to create a full disk encryption system with FreeBSD 6.2, putting /boot on a cd. Its based on my own experiences and what I've read through this mailing-list and on the internet. This is not intended as spam and its located at http://bge-tard.blogspot.com/ comments, corrections and criticisms welcome Thanks. From owner-freebsd-geom@FreeBSD.ORG Wed Sep 5 02:41:21 2007 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 BDE8716A41B for ; Wed, 5 Sep 2007 02:41:21 +0000 (UTC) (envelope-from modulok@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.185]) by mx1.freebsd.org (Postfix) with ESMTP id 99B7813C4A6 for ; Wed, 5 Sep 2007 02:41:21 +0000 (UTC) (envelope-from modulok@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so1221481rvb for ; Tue, 04 Sep 2007 19:41:21 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Tz5oYJSb327s9P1HuHP0RtQ5mVM1V2bJDJI4ofBuuuwmF+2uEbFTZYRRbgax4YH0FaSE7vjQUm0ai+CSR7YsY+Q5clUYhgH59Fazi6POZRLEVkD7wqBbSFLeqw2ahu4ygR3cw4L6I50naFIIeX6wG179sRHu+TztPnLK999qQ5I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=trRovGvlNvEKEPtZcZARL5QnYaT3bnc+hDPZ8/LLMxWIIIOHtUwBViVINdHOLGyJo5PpK2DfPtfeY9QvoX9sILmqUY07b4/wzPzY3NuWv2pv+ZCNFe8aXB6PCFNrmDp7co+iDdSY0Pqr+nQxqRyPfZjwLEOZXcLO+Yblu59Ak2A= Received: by 10.141.209.7 with SMTP id l7mr561123rvq.1188958345076; Tue, 04 Sep 2007 19:12:25 -0700 (PDT) Received: by 10.140.170.12 with HTTP; Tue, 4 Sep 2007 19:12:25 -0700 (PDT) Message-ID: <64c038660709041912w3b7824dal1c6b54704a2821a1@mail.gmail.com> Date: Tue, 4 Sep 2007 20:12:25 -0600 From: Modulok To: freebsd-geom@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Root partition on gmirror, provider not being created at boot time... 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, 05 Sep 2007 02:41:21 -0000 A. BACKGROUND -- For the impatient, skip to the last paragraph in section B. I'm experimenting with gmirror on the root partition on a test system running FreeBSD 6.1-RELEASE. I have two physical disks on the same IDE header (primary master and primary slave). The disks are jumpered correctly, the cables are good, the headers are functioning - both disks are accessible, operational and detected by FreeBSD. A gmirror was setup using /dev/ad0 as the first consumer. (The debug kernel state, kern.geom.debugflags=16 was set to permit using an already mounted device as a consumer.) The mirror was successfully created, I then inserted an additional consumer /dev/ad1. The array auto-synchronized. I edited /etc/fstab and /boot/loader.conf to automatically load the geom_mirror.ko modules and mount the file systems from their respective geom providers. After rebooting the system everything still works and root is mounted from its geom provider, /dev/mirror/gm0s1a, correctly. Everything works. Now let's try to break it.... B. PROBLEMS I simulated a disk failure on the primary slave disk, by physically disconnecting the power input and booting the system. This is where I run into problems: 1. The BIOS complains of a disk error, but otherwise continues to boot. 2. The master boot record is found on the primary master and the the boot manger is executed. 3. loader(8) is found and presents its menu, it starts the automatic boot sequence with the GENERIC kernel. 5. After the kernel probes for various devices, "Trying to mount root from ufs:/dev/mirror/gm0s1a", fails and I am prompted for the location of a root partition. I digress just a moment here, as the system appears to hang because keyboard input is not detected and at this point on the boot phase, I have no other metric from which to judge whether it is actually hanged or not. The keyboard was detected prior to this failure as reported by the device probe. So that's weird, but it even if I could type in something, (?, for example), it wouldn't matter because it's looking in the correct location for root, it's just that the location doesn't exist yet. The provider, /dev/mirror/gm0, is not being created. This is significant for obvious reasons: no mirror means no provider which means no root. The module /boot/kernel/geom_mirror.ko is loaded, as I have manually loaded it via the loader(8) prompt on several consecutive attempts to resolve the problem with identical results. As far as I can tell, it's the provider that isn't being created, for whatever reason. C. FAILED RESOLUTIONS -- In each of the possible resolutions below, the results are the same. 1. Try to boot with the disk entirely disconnected, data cable included. 2. Re-install FreeBSD following the method outlined in the handbook. 3. Manually load the kld via the loader(8) prompt before starting the kernel. 4. Ensure that the BIOS is not attempting to override with some onboard hardware mirroring features. 5. Physically swap disk order, making what was once the primary slave, the primary master. D. TO DO -- The following have not yet been attempted: 1. Email the geom mailing list (...this is where I'm at now...) 2. Statically compile gmirror into the kernel. 3. Attempt the same setup and failure scenario on differing hardware. 4. Attempt the same setup and failure scenario using a different version of FreeBSD. E. SYSTEM SPECIFICATIONS -- If it matters. Mainboard: Tyan Thunder k7X model S2468 dual socket BIOS: Phoenix Bios 4.0 Release 6.0 Disks: 2x Western Digital EIDE model WD1600SB-01RFA0 Is there anything blatantly obvious that I'm missing or should check for? I posted a previous version of this thread to freebsd-questions a few days ago with limited success. Sorry for such a long post. -Modulok- From owner-freebsd-geom@FreeBSD.ORG Wed Sep 5 10:05:42 2007 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 1A79116A469 for ; Wed, 5 Sep 2007 10:05:42 +0000 (UTC) (envelope-from antik@bsd.ee) Received: from zzz.ee (kalah.zzz.ee [194.204.30.253]) by mx1.freebsd.org (Postfix) with ESMTP id C9D8913C45B for ; Wed, 5 Sep 2007 10:05:41 +0000 (UTC) (envelope-from antik@bsd.ee) Received: by zzz.ee (Postfix, from userid 3019) id 76013198412; Wed, 5 Sep 2007 12:42:50 +0300 (EEST) Received: from [192.168.1.26] (adsl215.uninet.ee [194.204.62.215]) by zzz.ee (Postfix) with ESMTP id 96B0B198439 for ; Wed, 5 Sep 2007 12:42:48 +0300 (EEST) From: Andrei Kolu To: freebsd-geom@freebsd.org Date: Wed, 5 Sep 2007 12:42:44 +0300 User-Agent: KMail/1.9.7 References: <20070120073117.GB60202@x12.dk> <20070312142846.GA3747@garage.freebsd.pl> <45F6CEB5.7030305@barryp.org> In-Reply-To: <45F6CEB5.7030305@barryp.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200709051242.44620.antik@bsd.ee> X-Spam-Checker-Version: SpamAssassin on spamassassin.zzz.ee X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_55 Subject: ufs on zvol "Filesystem is not clean..." 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, 05 Sep 2007 10:05:42 -0000 Hello! I am not sure I did everything correctly by creating UFS filesystem ontop of zpool. Should I make 10GB UFS on free space or like I did on following example? # zfs create -V 10g tank/jails/ftpjail # newfs /dev/zvol/tank/ftpjail # mount /dev/zvol/tank/jails/ftpjail /usr/jails/ftpjail/ No complains from ZFS side- maybe it should say something like "You, stupid! You can't do that!" I can create jail with ezjail: # ezjail-admin create ftpjail 192.168.1.112 # jail /usr/jails/ftpjail ftpjail.example.com 192.168.1.112 /bin/csh Everything works fine with jails so far until I reboot system.... Sep 5 12:18:45 freebsd7 kernel: ZFS filesystem version 6 Sep 5 12:18:45 freebsd7 kernel: ZFS storage pool version 6 Sep 5 12:18:45 freebsd7 savecore: no dumps found Sep 5 12:18:46 freebsd7 root: /etc/rc.d/jail: WARNING: devfs_domount(): Unable to mount devfs on /usr/jails/ftpjail/dev Sep 5 12:18:46 freebsd7 root: /etc/rc.d/jail: WARNING: devfs_mount_jail: devfs was not mounted on /usr/jails/ftpjail/dev Sep 5 12:24:13 freebsd7 kernel: WARNING: R/W mount of /usr/jails/ftpjail denied. Filesystem is not clean - run fsck # mount /dev/zvol/tank/jails/ftpjail /usr/jails/ftpjail/ mount: /dev/zvol/tank/jails/ftpjail : Operation not permitted # mount /dev/ad4s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/ad4s1e on /tmp (ufs, local, soft-updates) /dev/ad4s1f on /usr (ufs, local, soft-updates) /dev/ad4s1d on /var (ufs, local, soft-updates) tank on /tank (zfs, local, noatime) tank/usr on /tank/usr (zfs, local, noatime) tank/jails on /usr/jails (zfs, local, noatime) tank/usr/ports on /usr/ports (zfs, local, noatime) tank/usr/ports/distfiles on /usr/ports/distfiles (zfs, local, noatime) /usr/jails/basejail on /usr/jails/apachejail/basejail (nullfs, local, read-only) devfs on /usr/jails/apachejail/dev (devfs, local) fdescfs on /usr/jails/apachejail/dev/fd (fdescfs) procfs on /usr/jails/apachejail/proc (procfs, local) freebsd7# zpool status pool: tank state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM tank ONLINE 0 0 0 raidz1 ONLINE 0 0 0 ad6 ONLINE 0 0 0 ad8 ONLINE 0 0 0 errors: No known data errors From owner-freebsd-geom@FreeBSD.ORG Wed Sep 5 10:10:25 2007 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 E1C6E16A417 for ; Wed, 5 Sep 2007 10:10:25 +0000 (UTC) (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 7ED0C13C442 for ; Wed, 5 Sep 2007 10:10:25 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id B82AD45E91; Wed, 5 Sep 2007 12:09:51 +0200 (CEST) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 92AEA45685; Wed, 5 Sep 2007 12:09:44 +0200 (CEST) Date: Wed, 5 Sep 2007 12:08:31 +0200 From: Pawel Jakub Dawidek To: Andrei Kolu Message-ID: <20070905100831.GD12013@garage.freebsd.pl> References: <20070120073117.GB60202@x12.dk> <20070312142846.GA3747@garage.freebsd.pl> <45F6CEB5.7030305@barryp.org> <200709051242.44620.antik@bsd.ee> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="d8Lz2Tf5e5STOWUP" Content-Disposition: inline In-Reply-To: <200709051242.44620.antik@bsd.ee> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-geom@freebsd.org Subject: Re: ufs on zvol "Filesystem is not clean..." 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, 05 Sep 2007 10:10:26 -0000 --d8Lz2Tf5e5STOWUP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 05, 2007 at 12:42:44PM +0300, Andrei Kolu wrote: > Hello! >=20 > I am not sure I did everything correctly by creating UFS filesystem ontop= of=20 > zpool. Should I make 10GB UFS on free space or like I did on following=20 > example? >=20 > # zfs create -V 10g tank/jails/ftpjail > # newfs /dev/zvol/tank/ftpjail > # mount /dev/zvol/tank/jails/ftpjail /usr/jails/ftpjail/ >=20 > No complains from ZFS side- maybe it should say something like "You, stup= id!=20 > You can't do that!" >=20 > I can create jail with ezjail: > # ezjail-admin create ftpjail 192.168.1.112 > # jail /usr/jails/ftpjail ftpjail.example.com 192.168.1.112 /bin/csh > Everything works fine with jails so far until I reboot system.... >=20 > Sep 5 12:18:45 freebsd7 kernel: ZFS filesystem version 6 > Sep 5 12:18:45 freebsd7 kernel: ZFS storage pool version 6 > Sep 5 12:18:45 freebsd7 savecore: no dumps found > Sep 5 12:18:46 freebsd7 root: /etc/rc.d/jail: WARNING: devfs_domount():= =20 > Unable to mount devfs on /usr/jails/ftpjail/dev > Sep 5 12:18:46 freebsd7 root: /etc/rc.d/jail: WARNING: devfs_mount_jail:= =20 > devfs was not mounted on /usr/jails/ftpjail/dev > Sep 5 12:24:13 freebsd7 kernel: WARNING: R/W mount of /usr/jails/ftpjail= =20 > denied. Filesystem is not clean - run fsck Have you added it to /etc/fstab? --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --d8Lz2Tf5e5STOWUP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFG3oAfForvXbEpPzQRAjymAKD2wQ7+duNSm1m/wfa5UpG+MoMsGgCgg1i5 xmhiVD16I6g35wsJ3lFWEEY= =zT6c -----END PGP SIGNATURE----- --d8Lz2Tf5e5STOWUP-- From owner-freebsd-geom@FreeBSD.ORG Wed Sep 5 11:01:50 2007 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 4692D16A46E for ; Wed, 5 Sep 2007 11:01:50 +0000 (UTC) (envelope-from antik@bsd.ee) Received: from zzz.ee (kalah.zzz.ee [194.204.30.253]) by mx1.freebsd.org (Postfix) with ESMTP id 0098E13C459 for ; Wed, 5 Sep 2007 11:01:49 +0000 (UTC) (envelope-from antik@bsd.ee) Received: by zzz.ee (Postfix, from userid 3019) id 1AA1A198439; Wed, 5 Sep 2007 14:01:36 +0300 (EEST) Received: from [192.168.1.26] (adsl215.uninet.ee [194.204.62.215]) by zzz.ee (Postfix) with ESMTP id 85175198418 for ; Wed, 5 Sep 2007 14:01:32 +0300 (EEST) From: Andrei Kolu To: freebsd-geom@freebsd.org Date: Wed, 5 Sep 2007 14:01:29 +0300 User-Agent: KMail/1.9.7 References: <20070120073117.GB60202@x12.dk> <200709051242.44620.antik@bsd.ee> <20070905100831.GD12013@garage.freebsd.pl> In-Reply-To: <20070905100831.GD12013@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200709051401.31018.antik@bsd.ee> X-Spam-Checker-Version: SpamAssassin on spamassassin.zzz.ee X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_55 Subject: Re: ufs on zvol "Filesystem is not clean..." 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, 05 Sep 2007 11:01:50 -0000 On Wednesday 05 September 2007 13:08:31 Pawel Jakub Dawidek wrote: > On Wed, Sep 05, 2007 at 12:42:44PM +0300, Andrei Kolu wrote: > > Hello! > > > > I am not sure I did everything correctly by creating UFS filesystem ontop > > of zpool. Should I make 10GB UFS on free space or like I did on following > > example? > > > > # zfs create -V 10g tank/jails/ftpjail > > # newfs /dev/zvol/tank/ftpjail > > # mount /dev/zvol/tank/jails/ftpjail /usr/jails/ftpjail/ > > > > No complains from ZFS side- maybe it should say something like "You, > > stupid! You can't do that!" > > > > I can create jail with ezjail: > > # ezjail-admin create ftpjail 192.168.1.112 > > # jail /usr/jails/ftpjail ftpjail.example.com 192.168.1.112 /bin/csh > > Everything works fine with jails so far until I reboot system.... > > > > Sep 5 12:18:45 freebsd7 kernel: ZFS filesystem version 6 > > Sep 5 12:18:45 freebsd7 kernel: ZFS storage pool version 6 > > Sep 5 12:18:45 freebsd7 savecore: no dumps found > > Sep 5 12:18:46 freebsd7 root: /etc/rc.d/jail: WARNING: devfs_domount(): > > Unable to mount devfs on /usr/jails/ftpjail/dev > > Sep 5 12:18:46 freebsd7 root: /etc/rc.d/jail: WARNING: devfs_mount_jail: > > devfs was not mounted on /usr/jails/ftpjail/dev > > Sep 5 12:24:13 freebsd7 kernel: WARNING: R/W mount of /usr/jails/ftpjail > > denied. Filesystem is not clean - run fsck > > Have you added it to /etc/fstab? First time I added it to fstab but system mount complained about inconsistent UFS filesystem. I removed it from fstab and entered single-user mode. "kldload zfs" and tried to fsck /dev/zvol/tank/jails/ftpjail- ZFS said that it can't start zvolume because other filesystem wrote something into zfs filesystem. first system drive: ad4: 152627MB at ata2-master SATA300 raidz (tank): ad6: 305245MB at ata3-master SATA300 ad8: 305245MB at ata4-master SATA300 NAME STATE READ WRITE CKSUM tank ONLINE 0 0 0 raidz1 ONLINE 0 0 0 ad6 ONLINE 0 0 0 ad8 ONLINE 0 0 0 From owner-freebsd-geom@FreeBSD.ORG Wed Sep 5 11:09:21 2007 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 8959716A417 for ; Wed, 5 Sep 2007 11:09:21 +0000 (UTC) (envelope-from mmakkes@science.uva.nl) Received: from imap.science.uva.nl (imap.science.uva.nl [146.50.4.51]) by mx1.freebsd.org (Postfix) with ESMTP id 0640E13C461 for ; Wed, 5 Sep 2007 11:09:20 +0000 (UTC) (envelope-from mmakkes@science.uva.nl) Received: from ow166.science.uva.nl [146.50.7.83] by imap.science.uva.nl with ESMTP (sendmail 8.13.8/config 11.38). id l85Aeof5027600; Wed, 5 Sep 2007 12:40:50 +0200 X-Organisation: Faculty of Science, University of Amsterdam, The Netherlands X-URL: http://www.science.uva.nl/ Received: by ow166.science.uva.nl (Postfix, from userid 14577) id 286482BB5D; Wed, 5 Sep 2007 12:40:49 +0200 (CEST) Date: Wed, 5 Sep 2007 12:40:49 +0200 From: Marc Makkes To: freebsd-geom@freebsd.org Message-ID: <20070905104048.GA5050@science.uva.nl> References: <20070120073117.GB60202@x12.dk> <20070312142846.GA3747@garage.freebsd.pl> <45F6CEB5.7030305@barryp.org> <200709051242.44620.antik@bsd.ee> <20070905100831.GD12013@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lrZ03NoBR/3+SXJZ" Content-Disposition: inline In-Reply-To: <20070905100831.GD12013@garage.freebsd.pl> X-Operating-System: Linux 2.6.12-1.1381_FC3smp i686 User-Agent: mutt-ng/devel-r804 (Linux) X-Virus-Scanned: by amavisd-new Subject: raid 5 broken 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, 05 Sep 2007 11:09:21 -0000 --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi all,=20 I've a gvinum raid 5 setup with 8 disk and one disk failed, i replace the drive with a new one, edited the disklabel. But doesn't appear in gvinum list:=20 Can some point out information about rebuiling plex'es? Yours, -marc=20 gvinum -> list 7 drives: D d1 State: down /dev/ad6ac A: 0/238475 MB D d2 State: down /dev/ad8ac A: 0/238475 MB D d3 State: down /dev/ad10ac A: 0/238475 MB D d4 State: down /dev/ad12ac A: 0/238475 MB D d5 State: down /dev/ad14ac A: 0/238475 MB D d6 State: down /dev/ad16ac A: 0/238475 MB D d7 State: down /dev/ad18ac A: 0/238475 MB --lrZ03NoBR/3+SXJZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.7 (GNU/Linux) iD8DBQFG3oewluF9JhRB0nERAqCyAJ9WlWW6BAdAGkY/n/b5kG7vv53eUgCeKPLb aqPLe2fnLwTrJRfdyeKZ9/E= =jQgD -----END PGP SIGNATURE----- --lrZ03NoBR/3+SXJZ-- From owner-freebsd-geom@FreeBSD.ORG Wed Sep 5 21:42:39 2007 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 C9EF616A419 for ; Wed, 5 Sep 2007 21:42:39 +0000 (UTC) (envelope-from hg@queue.to) Received: from pickle.queue.to (pickle.queue.to [71.180.69.18]) by mx1.freebsd.org (Postfix) with ESMTP id 8F29113C467 for ; Wed, 5 Sep 2007 21:42:39 +0000 (UTC) (envelope-from hg@queue.to) Received: (qmail 5919 invoked from network); 5 Sep 2007 17:42:38 -0400 Received: from cally.queue.to (172.16.0.6) by pickle.queue.to with ESMTP; 5 Sep 2007 17:42:38 -0400 Message-ID: <46DF22CE.5060503@queue.to> Date: Wed, 05 Sep 2007 17:42:38 -0400 From: Howard Goldstein User-Agent: Thunderbird 2.0.0.6 (X11/20070802) MIME-Version: 1.0 To: freebsd-geom@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: ZFS MFC? 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, 05 Sep 2007 21:42:39 -0000 Are there plans to bring ZFS down into STABLE? (If testers are lacking I'll volunteer) From owner-freebsd-geom@FreeBSD.ORG Wed Sep 5 21:59:26 2007 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 F191C16A46C for ; Wed, 5 Sep 2007 21:59:26 +0000 (UTC) (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 83DF113C4A3 for ; Wed, 5 Sep 2007 21:59:26 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 6E7D945E93; Wed, 5 Sep 2007 23:59:25 +0200 (CEST) Received: from localhost (154.81.datacomsa.pl [195.34.81.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 3A99545E97; Wed, 5 Sep 2007 23:59:07 +0200 (CEST) Date: Wed, 5 Sep 2007 23:57:44 +0200 From: Pawel Jakub Dawidek To: Howard Goldstein Message-ID: <20070905215744.GD15709@garage.freebsd.pl> References: <46DF22CE.5060503@queue.to> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9dgjiU4MmWPVapMU" Content-Disposition: inline In-Reply-To: <46DF22CE.5060503@queue.to> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 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: freebsd-geom@freebsd.org Subject: Re: ZFS MFC? 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, 05 Sep 2007 21:59:27 -0000 --9dgjiU4MmWPVapMU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 05, 2007 at 05:42:38PM -0400, Howard Goldstein wrote: > Are there plans to bring ZFS down into STABLE? (If testers are lacking > I'll volunteer) There is no need to MFC. ZFS will be in soon-to-be-released 7.0-RELEASE, thus 7-STABLE branch. It will be too hard to MFC it into 6.x. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --9dgjiU4MmWPVapMU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFG3yZYForvXbEpPzQRAuMJAKDDqEKErwfQV88XYsXGtJKz51vmLQCdF7nA HgfgH1atwD3foIGA365r+JY= =A9Dk -----END PGP SIGNATURE----- --9dgjiU4MmWPVapMU-- From owner-freebsd-geom@FreeBSD.ORG Thu Sep 6 08:00:38 2007 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 7934916A419 for ; Thu, 6 Sep 2007 08:00:38 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from smtp.teledomenet.gr (smtp.teledomenet.gr [213.142.128.2]) by mx1.freebsd.org (Postfix) with ESMTP id 34F7F13C45B for ; Thu, 6 Sep 2007 08:00:38 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: by smtp.teledomenet.gr (Postfix, from userid 58) id A82CF142205; Thu, 6 Sep 2007 10:45:19 +0300 (EEST) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on smtp.teledomenet.gr X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.3 Received: from iris (unknown [192.168.1.71]) by smtp.teledomenet.gr (Postfix) with ESMTP id E97761421FB for ; Thu, 6 Sep 2007 10:45:15 +0300 (EEST) Content-Disposition: inline From: Nikos Vassiliadis To: freebsd-geom@freebsd.org Date: Thu, 6 Sep 2007 10:43:36 +0300 User-Agent: KMail/1.9.1 X-NCC-RegID: gr.telehouse MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200709061043.36457.nvass@teledomenet.gr> Subject: installing on gjournal 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, 06 Sep 2007 08:00:38 -0000 Hello, I just said to ask for thoughts the community about the above subject, after having waisted two hours trying to install 7-CURRENT... Do you know a relatively easy way to install a new system with gjournal? What I am seeing is: GEOM_JOURNAL: Journal $JournalID: ad0s2a contains data. GEOM_JOURNAL: Journal $JournalID: ad0s2d contains journal. Trying to mount root from ufs:/dev/ad0s2a.journal Then I get to the famous mountroot kernel prompt... /dev/ad0s2a is also not accessible anymore, which makes perfect sence, since gjournal has locked it. I also did tunefs -J enable /dev/ad0s2a.journal. What I never did is adding -J to newfs opts during installation(sysinstall). Where am I doing wrong? Thanks in advance. Nikos From owner-freebsd-geom@FreeBSD.ORG Thu Sep 6 09:35:28 2007 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 ED35716A417 for ; Thu, 6 Sep 2007 09:35:28 +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 A67F813C457 for ; Thu, 6 Sep 2007 09:35:28 +0000 (UTC) (envelope-from gcubfg-freebsd-geom@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1ITDlO-0000uF-5x for freebsd-geom@freebsd.org; Thu, 06 Sep 2007 11:35:02 +0200 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 06 Sep 2007 11:35:02 +0200 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 06 Sep 2007 11:35:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-geom@freebsd.org From: Ivan Voras Date: Thu, 06 Sep 2007 11:23:05 +0200 Lines: 28 Message-ID: References: <200709061043.36457.nvass@teledomenet.gr> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="------------enig82CF5E14CB41D9F96C403346" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 1.5.0.12 (X11/20060911) In-Reply-To: <200709061043.36457.nvass@teledomenet.gr> X-Enigmail-Version: 0.94.4.0 Sender: news Subject: Re: installing on gjournal 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, 06 Sep 2007 09:35:29 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig82CF5E14CB41D9F96C403346 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Nikos Vassiliadis wrote: > Where am I doing wrong? Why to you need gjournal on the root partition? Do you have lots of IO=20 (writing, mostly) on it? --------------enig82CF5E14CB41D9F96C403346 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFG38b5ldnAQVacBcgRAxHFAKC15v6PO8Ej7nUhcGvLsCkRFO6WkACfXfwX ZYWjJ37Ctf9bmYruM8ilPA0= =SECX -----END PGP SIGNATURE----- --------------enig82CF5E14CB41D9F96C403346-- From owner-freebsd-geom@FreeBSD.ORG Thu Sep 6 10:01:11 2007 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 7F54316A41B for ; Thu, 6 Sep 2007 10:01:11 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from smtp.teledomenet.gr (smtp.teledomenet.gr [213.142.128.2]) by mx1.freebsd.org (Postfix) with ESMTP id 36B7913C457 for ; Thu, 6 Sep 2007 10:01:10 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: by smtp.teledomenet.gr (Postfix, from userid 58) id 926BD14215C; Thu, 6 Sep 2007 13:00:59 +0300 (EEST) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on smtp.teledomenet.gr X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.3 Received: from iris (unknown [192.168.1.71]) by smtp.teledomenet.gr (Postfix) with ESMTP id 1A41514218C; Thu, 6 Sep 2007 13:00:56 +0300 (EEST) From: Nikos Vassiliadis To: freebsd-geom@freebsd.org Date: Thu, 6 Sep 2007 12:59:16 +0300 User-Agent: KMail/1.9.1 References: <200709061043.36457.nvass@teledomenet.gr> In-Reply-To: X-NCC-RegID: gr.telehouse MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-7" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200709061259.16961.nvass@teledomenet.gr> Cc: Ivan Voras Subject: Re: installing on gjournal 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, 06 Sep 2007 10:01:11 -0000 On Thursday 06 September 2007 12:23, Ivan Voras wrote: > Nikos Vassiliadis wrote: > > Where am I doing wrong? > > Why to you need gjournal on the root partition? Do you have lots of IO > (writing, mostly) on it? hm, due to limited space(24GB), I have decided to keep everything in a single partition. On the other hand giving 1GB to / and keeping the rest for /usr, would not make much of a difference... But, anyway, is there a relatively easy way to install on gjournal? Whatever that is, including rootfs or not. Anything, except dumping and restoring? Nikos From owner-freebsd-geom@FreeBSD.ORG Thu Sep 6 15:12:35 2007 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 E784C16A41A for ; Thu, 6 Sep 2007 15:12:35 +0000 (UTC) (envelope-from mymailfloods@googlemail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.182]) by mx1.freebsd.org (Postfix) with ESMTP id BE68813C4CA for ; Thu, 6 Sep 2007 15:12:35 +0000 (UTC) (envelope-from mymailfloods@googlemail.com) Received: by wa-out-1112.google.com with SMTP id k17so211274waf for ; Thu, 06 Sep 2007 08:12:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=L5hA4inrCRDv1jCOaI1typU7Q3XRBF/WRx/aB8Dz3K4=; b=B+hMbV+4GMIpjvjePenuqig4OXk2lPNz7hmekUu8ilXGLtD8KXTXjRnOT/FSaku/DtfOEXC/SKUqw3+XrfLBiep6289FYqrUKhKihS8cumM1ICZaLUVeWQCb7yxVCPG2JMaFMJ+S1Lq8083/F3TsCUz6RkxWvN6Ns24zr9OEu4I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=EkeHFNuGXmQKbHZrn2RoqUIWT9sl5VBMUiG9Wr8TtMNT1/3O8PdkeFaI5XQipvgFiIWuGWKVxNK3u3bAnlkxhUDdSc74W9q7YLY8g3248Ag6mi2isytobM6DPxsroODeF4/gexA0OcO7ksM7qbwVE6ziu3aqH+GciMnPpccq6uE= Received: by 10.114.56.1 with SMTP id e1mr110768waa.1189089845355; Thu, 06 Sep 2007 07:44:05 -0700 (PDT) Received: by 10.115.32.5 with HTTP; Thu, 6 Sep 2007 07:44:05 -0700 (PDT) Message-ID: Date: Thu, 6 Sep 2007 16:44:05 +0200 From: "Thomas Hobbes" To: freebsd-geom@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Encrypt mirrored device with geli fails 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, 06 Sep 2007 15:12:36 -0000 # uname -a FreeBSD 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 # cat /boot/loader.conf beastie_disable="YES" geom_eli_load="YES" geom_mirror_load="YES" padlock_load="YES" Swap space is encrypted by appending '.eli' to /dev/mirror/gm0s1b in /etc/fstab. According to the ouput of swapinfo this works fine. /dev/mirror/gm0s1a is mounted on / /dev/mirror/gm0s1d is mounted on /var /dev/mirror/gm0s1e is mounted on /usr /dev/mirror/gm0s1f is mounted on /crypt Here's what caused the error: # umount /crypt # dd if=/dev/random of=/root/gm0s1f.key bs=64 count=1 1+0 records in 1+0 records out 64 bytes transferred in 0.000580 secs (110331 bytes/sec) # geli init -K /root/gm0s1f.key -l 256 -s 4096 /dev/mirror/gm0s1f Enter new passphrase: Reenter new passphrase: # geli attach -k /root/gm0s1f.key /dev/mirror/gm0s1f MD5 hash mismatch for /dev/mirror/gm0s1f. I don't know what I'm doing wrong. Was anybody successful in this respect? I'd appreciate every hint. From owner-freebsd-geom@FreeBSD.ORG Thu Sep 6 18:57:26 2007 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 DFA2216A4CA for ; Thu, 6 Sep 2007 18:57:26 +0000 (UTC) (envelope-from hg@queue.to) Received: from pickle.queue.to (pickle.queue.to [71.180.69.18]) by mx1.freebsd.org (Postfix) with ESMTP id 7105613C46E for ; Thu, 6 Sep 2007 18:57:26 +0000 (UTC) (envelope-from hg@queue.to) Received: (qmail 4689 invoked from network); 6 Sep 2007 14:57:14 -0400 Received: from cally.queue.to (172.16.0.6) by pickle.queue.to with ESMTP; 6 Sep 2007 14:57:14 -0400 Message-ID: <46E04D8A.4010001@queue.to> Date: Thu, 06 Sep 2007 14:57:14 -0400 From: Howard Goldstein User-Agent: Thunderbird 2.0.0.6 (X11/20070802) MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <46DF22CE.5060503@queue.to> <20070905215744.GD15709@garage.freebsd.pl> In-Reply-To: <20070905215744.GD15709@garage.freebsd.pl> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-geom@freebsd.org Subject: Re: ZFS MFC? 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, 06 Sep 2007 18:57:27 -0000 Pawel Jakub Dawidek wrote: > On Wed, Sep 05, 2007 at 05:42:38PM -0400, Howard Goldstein wrote: >> Are there plans to bring ZFS down into STABLE? (If testers are lacking >> I'll volunteer) > > There is no need to MFC. ZFS will be in soon-to-be-released 7.0-RELEASE, > thus 7-STABLE branch. It will be too hard to MFC it into 6.x. > Cool - thank you. And thanks also for your work on geom.