From owner-freebsd-fs@FreeBSD.ORG Mon Feb 25 07:22:53 2008 Return-Path: Delivered-To: freebsd-fs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E9FB16A405; Mon, 25 Feb 2008 07:22:53 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7412613C44B; Mon, 25 Feb 2008 07:22:53 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (remko@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1P7Mr0A013690; Mon, 25 Feb 2008 07:22:53 GMT (envelope-from remko@freefall.freebsd.org) Received: (from remko@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1P7MrdZ013686; Mon, 25 Feb 2008 07:22:53 GMT (envelope-from remko) Date: Mon, 25 Feb 2008 07:22:53 GMT Message-Id: <200802250722.m1P7MrdZ013686@freefall.freebsd.org> To: remko@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-fs@FreeBSD.org From: remko@FreeBSD.org Cc: Subject: Re: bin/121072: "mount_smbfs" cannot normally convert the character-code. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Feb 2008 07:22:53 -0000 Synopsis: "mount_smbfs" cannot normally convert the character-code. Responsible-Changed-From-To: freebsd-bugs->freebsd-fs Responsible-Changed-By: remko Responsible-Changed-When: Mon Feb 25 07:22:53 UTC 2008 Responsible-Changed-Why: I dont understand the request, but it's filesystem related, so assign to -fs group http://www.freebsd.org/cgi/query-pr.cgi?pr=121072 From owner-freebsd-fs@FreeBSD.ORG Mon Feb 25 11:07:02 2008 Return-Path: Delivered-To: freebsd-fs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5942616A401 for ; Mon, 25 Feb 2008 11:07:02 +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 477C713C478 for ; Mon, 25 Feb 2008 11:07:02 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1PB722Y032952 for ; Mon, 25 Feb 2008 11:07:02 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1PB719N032948 for freebsd-fs@FreeBSD.org; Mon, 25 Feb 2008 11:07:01 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 25 Feb 2008 11:07:01 GMT Message-Id: <200802251107.m1PB719N032948@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-fs@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-fs@FreeBSD.org X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Feb 2008 11:07:02 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/112658 fs [smbfs] [patch] smbfs and caching problems (resolves b o kern/114676 fs [ufs] snapshot creation panics: snapacct_ufs2: bad blo o kern/116170 fs [panic] Kernel panic when mounting /tmp o bin/121072 fs "mount_smbfs" cannot normally convert the character-co 4 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/114847 fs [ntfs] [patch] [request] dirmask support for NTFS ala o bin/118249 fs mv(1): moving a directory changes its mtime 2 problems total. From owner-freebsd-fs@FreeBSD.ORG Mon Feb 25 18:07:00 2008 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4F6816A404; Mon, 25 Feb 2008 18:07:00 +0000 (UTC) (envelope-from peter.schuller@infidyne.com) Received: from smtp.infidyne.com (ds9.infidyne.com [88.80.6.206]) by mx1.freebsd.org (Postfix) with ESMTP id 9DB2313C45A; Mon, 25 Feb 2008 18:07:00 +0000 (UTC) (envelope-from peter.schuller@infidyne.com) Received: from c-a916e555.03-51-73746f3.cust.bredbandsbolaget.se (c-a916e555.03-51-73746f3.cust.bredbandsbolaget.se [85.229.22.169]) by smtp.infidyne.com (Postfix) with ESMTP id 573C3343C0; Mon, 25 Feb 2008 18:57:41 +0100 (CET) From: Peter Schuller To: freebsd-current@freebsd.org Date: Mon, 25 Feb 2008 18:59:04 +0100 User-Agent: KMail/1.9.7 References: <200802251849.53370.peter.schuller@infidyne.com> In-Reply-To: <200802251849.53370.peter.schuller@infidyne.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1249783.BsGrgAAx70"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200802251859.05045.peter.schuller@infidyne.com> Cc: freebsd-fs@freebsd.org, Ivan Voras Subject: Re: ZFS lockup in "zfs" state X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Feb 2008 18:07:00 -0000 --nextPart1249783.BsGrgAAx70 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline > I also saw this a couple of days ago (first time for me) on 1 7.0-RCX (not > sure if it was RC1 or RC2, and I can't log in to the machine right now). > This was recently after upgrading it from an older CURRENT from september. > > The machine is amd64, 4 GB of RAM, with a single three-way mirror pool. With prefetch disabled, arc size upped to 800 megs, and kmem size upped to = 1.2=20 gb (IIRC). =2D-=20 / Peter Schuller PGP userID: 0xE9758B7D or 'Peter Schuller ' Key retrieval: Send an E-Mail to getpgpkey@scode.org E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org --nextPart1249783.BsGrgAAx70 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQBHwwHpDNor2+l1i30RAgnKAKCbcuaCtXIv4jmyFJkqdTPoAzf4vACgtg3D Xi6QSLZYc1iVrJBZ/mHxDew= =R/UB -----END PGP SIGNATURE----- --nextPart1249783.BsGrgAAx70-- From owner-freebsd-fs@FreeBSD.ORG Mon Feb 25 18:07:00 2008 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D522216A405; Mon, 25 Feb 2008 18:07:00 +0000 (UTC) (envelope-from peter.schuller@infidyne.com) Received: from smtp.infidyne.com (ds9.infidyne.com [88.80.6.206]) by mx1.freebsd.org (Postfix) with ESMTP id 9D89613C458; Mon, 25 Feb 2008 18:07:00 +0000 (UTC) (envelope-from peter.schuller@infidyne.com) Received: from c-a916e555.03-51-73746f3.cust.bredbandsbolaget.se (c-a916e555.03-51-73746f3.cust.bredbandsbolaget.se [85.229.22.169]) by smtp.infidyne.com (Postfix) with ESMTP id 8DD6E34385; Mon, 25 Feb 2008 18:48:30 +0100 (CET) From: Peter Schuller To: freebsd-current@freebsd.org Date: Mon, 25 Feb 2008 18:49:44 +0100 User-Agent: KMail/1.9.7 References: <20080213133156.GA5645@eos.sc1.parodius.com> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4959269.Z3h79Qx1Hk"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200802251849.53370.peter.schuller@infidyne.com> Cc: freebsd-fs@freebsd.org, Ivan Voras Subject: Re: ZFS lockup in "zfs" state X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Feb 2008 18:07:01 -0000 --nextPart4959269.Z3h79Qx1Hk Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline > >>>> A machine just wedged its ZFS file systems (UFS file systems were > >>>> still running), all unresponsive processes were in "zfs" state. This > >>>> is 7.0-RC1 on i386 with 2 GB RAM. It has happened at least once > >>>> before. > > +1; happened again, same symptoms. I also saw this a couple of days ago (first time for me) on 1 7.0-RCX (not= =20 sure if it was RC1 or RC2, and I can't log in to the machine right now). Th= is=20 was recently after upgrading it from an older CURRENT from september. The machine is amd64, 4 GB of RAM, with a single three-way mirror pool. =2D-=20 / Peter Schuller PGP userID: 0xE9758B7D or 'Peter Schuller ' Key retrieval: Send an E-Mail to getpgpkey@scode.org E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org --nextPart4959269.Z3h79Qx1Hk Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQBHwv/BDNor2+l1i30RArpaAKCbJb7zQx/vp5NUhwULyFRQ9yfOdACeJyI1 8eUmrH+lWYbLw1cBjPeMzcM= =5ozS -----END PGP SIGNATURE----- --nextPart4959269.Z3h79Qx1Hk-- From owner-freebsd-fs@FreeBSD.ORG Tue Feb 26 19:23:23 2008 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D9C9106566C for ; Tue, 26 Feb 2008 19:23:23 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from raven.customer.vol.cz (raven.customer.vol.cz [195.250.144.108]) by mx1.freebsd.org (Postfix) with ESMTP id F0AA413C47E for ; Tue, 26 Feb 2008 19:23:22 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from [192.168.0.23] (rb5dg130.net.upc.cz [89.176.238.130]) (authenticated bits=0) by raven.customer.vol.cz (8.14.1/8.14.1) with ESMTP id m1QJN6MP042289; Tue, 26 Feb 2008 20:23:09 +0100 (CET) (envelope-from pav@FreeBSD.org) From: Pav Lucistnik To: Andriy Gapon In-Reply-To: <1202235368.68281.12.camel@ikaros.oook.cz> References: <200612221824.kBMIOhfM049471@freefall.freebsd.org> <47A2EDB0.8000801@icyb.net.ua> <47A2F404.7010208@icyb.net.ua> <47A735A4.3060506@icyb.net.ua> <47A75B47.2040604@elischer.org> <1202155663.62432.0.camel@ikaros.oook.cz> <47A8754C.5010607@icyb.net.ua> <1202235368.68281.12.camel@ikaros.oook.cz> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-SccF/h9dD4yQBrgLXecY" Date: Tue, 26 Feb 2008 20:23:06 +0100 Message-Id: <1204053786.1799.0.camel@ikaros.oook.cz> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 FreeBSD GNOME Team Port X-Spam-Score: -2.556 () AWL,BAYES_00 X-Scanned-By: MIMEDefang 2.63 on 195.250.144.108 X-Milter: Spamilter (Reciever: raven.customer.vol.cz; Sender-ip: 89.176.238.130; Sender-helo: [192.168.0.23]; ) Cc: Bruce Evans , freebsd-hackers@FreeBSD.org, scottl@FreeBSD.org, freebsd-fs@FreeBSD.org, Julian Elischer , Remko Lodder Subject: Re: fs/udf: vm pages "overlap" while reading large dir [patch] X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pav@FreeBSD.org List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Feb 2008 19:23:23 -0000 --=-SccF/h9dD4yQBrgLXecY Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Pav Lucistnik p=ED=B9e v =FAt 05. 02. 2008 v 19:16 +0100: > Andriy Gapon p=ED=B9e v =FAt 05. 02. 2008 v 16:40 +0200: >=20 > > > Yay, and can you fix the sequential read performance while you're at = it? > > > Kthx! >=20 > > this was almost trivial :-) > > See the attached patch, first hunk is just for consistency. > > The code was borrowed from cd9660, only field/variable names are adjust= ed. Just tested it with my shiny new Bluray drive, and it work wonders. Finally seamless playback of media files off UDF carrying media. So, how does it look WRT committing it? --=20 Pav Lucistnik Somebody ought to cross ball point pens with coat hangers so that the pens will multiply instead of disappear. --=-SccF/h9dD4yQBrgLXecY Content-Type: application/pgp-signature; name=signature.asc Content-Description: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?= =?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?= =?ISO-8859-1?Q?_zpr=E1vy?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEABECAAYFAkfEZxcACgkQntdYP8FOsoKvjQCcDDNmE1Ym815jgDNPmw7Xnyvn jLUAn0KZCW73j0nJqlQAyoay/ucksU2E =TBsO -----END PGP SIGNATURE----- --=-SccF/h9dD4yQBrgLXecY-- From owner-freebsd-fs@FreeBSD.ORG Thu Feb 28 08:33:26 2008 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16FCB1065670; Thu, 28 Feb 2008 08:33:26 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from falcon.cybervisiontech.com (falcon.cybervisiontech.com [217.20.163.9]) by mx1.freebsd.org (Postfix) with ESMTP id AEDAC8FC28; Thu, 28 Feb 2008 08:33:25 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from localhost (localhost [127.0.0.1]) by falcon.cybervisiontech.com (Postfix) with ESMTP id BA70B74400E; Thu, 28 Feb 2008 10:33:24 +0200 (EET) X-Virus-Scanned: Debian amavisd-new at falcon.cybervisiontech.com Received: from falcon.cybervisiontech.com ([127.0.0.1]) by localhost (falcon.cybervisiontech.com [127.0.0.1]) (amavisd-new, port 10027) with ESMTP id 0PAqPK9BJGFv; Thu, 28 Feb 2008 10:33:24 +0200 (EET) Received: from [91.193.172.111] (unknown [91.193.172.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by falcon.cybervisiontech.com (Postfix) with ESMTP id 6CF3474400D; Thu, 28 Feb 2008 10:33:23 +0200 (EET) Message-ID: <47C671CF.9020101@icyb.net.ua> Date: Thu, 28 Feb 2008 10:33:19 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.9 (X11/20071208) MIME-Version: 1.0 To: pav@FreeBSD.org References: <200612221824.kBMIOhfM049471@freefall.freebsd.org> <47A2EDB0.8000801@icyb.net.ua> <47A2F404.7010208@icyb.net.ua> <47A735A4.3060506@icyb.net.ua> <47A75B47.2040604@elischer.org> <1202155663.62432.0.camel@ikaros.oook.cz> <47A8754C.5010607@icyb.net.ua> <1202235368.68281.12.camel@ikaros.oook.cz> <1204053786.1799.0.camel@ikaros.oook.cz> In-Reply-To: <1204053786.1799.0.camel@ikaros.oook.cz> Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 8bit Cc: Bruce Evans , freebsd-hackers@FreeBSD.org, scottl@FreeBSD.org, freebsd-fs@FreeBSD.org, Julian Elischer , Remko Lodder Subject: Re: fs/udf: vm pages "overlap" while reading large dir [patch] X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Feb 2008 08:33:26 -0000 on 26/02/2008 21:23 Pav Lucistnik said the following: > Pav Lucistnik píše v út 05. 02. 2008 v 19:16 +0100: >> Andriy Gapon píše v út 05. 02. 2008 v 16:40 +0200: >> >>>> Yay, and can you fix the sequential read performance while you're at it? >>>> Kthx! >>> this was almost trivial :-) >>> See the attached patch, first hunk is just for consistency. >>> The code was borrowed from cd9660, only field/variable names are adjusted. > > Just tested it with my shiny new Bluray drive, and it work wonders. > Finally seamless playback of media files off UDF carrying media. > > So, how does it look WRT committing it? > Pav, thank you for the feedback/reminder. In my personal option the latest patch posted and described at the following like is a very good candidate for commit: http://docs.FreeBSD.org/cgi/mid.cgi?47AA43B9.1040608 It might have a couple of style related issues, but it should improve things a bit even if some larger VM/VFS/GEOM issues remain. And by the way, a patch from the following PR would be a good "side-dish" for the above patch: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/78987 I think it is simple and obvious enough. -- Andriy Gapon From owner-freebsd-fs@FreeBSD.ORG Thu Feb 28 10:16:23 2008 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 72E221065672; Thu, 28 Feb 2008 10:16:23 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from nat-application.b1.lan.prg.vol.cz (nat-application.b1.lan.prg.vol.cz [195.122.204.152]) by mx1.freebsd.org (Postfix) with ESMTP id 091108FC19; Thu, 28 Feb 2008 10:16:20 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from pav.hide.vol.cz (localhost [127.0.0.1]) by nat-application.b1.lan.prg.vol.cz (8.14.2/8.14.2) with ESMTP id m1S9xpqi054619; Thu, 28 Feb 2008 10:59:51 +0100 (CET) (envelope-from pav@FreeBSD.org) Received: (from pav@localhost) by pav.hide.vol.cz (8.14.2/8.14.2/Submit) id m1S9xllK054618; Thu, 28 Feb 2008 10:59:47 +0100 (CET) (envelope-from pav@FreeBSD.org) X-Authentication-Warning: pav.hide.vol.cz: pav set sender to pav@FreeBSD.org using -f From: Pav Lucistnik To: Andriy Gapon In-Reply-To: <47C671CF.9020101@icyb.net.ua> References: <200612221824.kBMIOhfM049471@freefall.freebsd.org> <47A2EDB0.8000801@icyb.net.ua> <47A2F404.7010208@icyb.net.ua> <47A735A4.3060506@icyb.net.ua> <47A75B47.2040604@elischer.org> <1202155663.62432.0.camel@ikaros.oook.cz> <47A8754C.5010607@icyb.net.ua> <1202235368.68281.12.camel@ikaros.oook.cz> <1204053786.1799.0.camel@ikaros.oook.cz> <47C671CF.9020101@icyb.net.ua> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-yd8j2hHcryoNidCpOQUb" Date: Thu, 28 Feb 2008 10:59:47 +0100 Message-Id: <1204192787.54462.1.camel@pav.hide.vol.cz> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 FreeBSD GNOME Team Port Cc: Bruce Evans , freebsd-hackers@FreeBSD.org, scottl@FreeBSD.org, freebsd-fs@FreeBSD.org, Julian Elischer , Remko Lodder Subject: Re: fs/udf: vm pages "overlap" while reading large dir [patch] X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pav@FreeBSD.org List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Feb 2008 10:16:23 -0000 --=-yd8j2hHcryoNidCpOQUb Content-Type: text/plain; charset=ISO8859-2 Content-Transfer-Encoding: quoted-printable Andriy Gapon p=ED=B9e v =E8t 28. 02. 2008 v 10:33 +0200: And while I have your attention, I have a related question. I have produced a bunch of ISO9660 Level 3 / UDF hybrid media with mkisofs, and when I mount the UDF part of them, the mount point (root directory of media) have 0x000 permissions. Yes that's right, d--------- in ls -l. That makes the whole volume inaccessible for everyone except root. Is this something you can mend in our UDF driver, or should I go dig inside mkisofs guts? Windows handle these media without any visible problems. --=20 Pav Lucistnik How will you recognize experienced hacker from beginner? Beginner thinks that kilobyte have 1000 bytes. Experienced hacker thinks one kilometer have 1024 meters. --=-yd8j2hHcryoNidCpOQUb Content-Type: application/pgp-signature; name=signature.asc Content-Description: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?= =?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?= =?ISO-8859-1?Q?_zpr=E1vy?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEABECAAYFAkfGhg8ACgkQntdYP8FOsoLwyACgrP5zeovnsFlldAbsoaMpLJ0u NlQAoMuA43/HAfJaFUJ3ht9vaCQamj+B =pU05 -----END PGP SIGNATURE----- --=-yd8j2hHcryoNidCpOQUb-- From owner-freebsd-fs@FreeBSD.ORG Thu Feb 28 12:32:33 2008 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 676021065679; Thu, 28 Feb 2008 12:32:33 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from falcon.cybervisiontech.com (falcon.cybervisiontech.com [217.20.163.9]) by mx1.freebsd.org (Postfix) with ESMTP id 0A2838FC23; Thu, 28 Feb 2008 12:32:32 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from localhost (localhost [127.0.0.1]) by falcon.cybervisiontech.com (Postfix) with ESMTP id 1595074400A; Thu, 28 Feb 2008 14:32:32 +0200 (EET) X-Virus-Scanned: Debian amavisd-new at falcon.cybervisiontech.com Received: from falcon.cybervisiontech.com ([127.0.0.1]) by localhost (falcon.cybervisiontech.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Sol3PhN4C6H5; Thu, 28 Feb 2008 14:32:31 +0200 (EET) Received: from [10.2.1.87] (gateway.cybervisiontech.com.ua [88.81.251.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by falcon.cybervisiontech.com (Postfix) with ESMTP id 4794E43DFCA; Thu, 28 Feb 2008 14:32:31 +0200 (EET) Message-ID: <47C6A9DE.1010708@icyb.net.ua> Date: Thu, 28 Feb 2008 14:32:30 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.9 (X11/20080123) MIME-Version: 1.0 To: pav@FreeBSD.org References: <200612221824.kBMIOhfM049471@freefall.freebsd.org> <47A2EDB0.8000801@icyb.net.ua> <47A2F404.7010208@icyb.net.ua> <47A735A4.3060506@icyb.net.ua> <47A75B47.2040604@elischer.org> <1202155663.62432.0.camel@ikaros.oook.cz> <47A8754C.5010607@icyb.net.ua> <1202235368.68281.12.camel@ikaros.oook.cz> <1204053786.1799.0.camel@ikaros.oook.cz> <47C671CF.9020101@icyb.net.ua> <1204192787.54462.1.camel@pav.hide.vol.cz> In-Reply-To: <1204192787.54462.1.camel@pav.hide.vol.cz> Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 8bit Cc: Bruce Evans , freebsd-hackers@FreeBSD.org, scottl@FreeBSD.org, freebsd-fs@FreeBSD.org, Julian Elischer , Remko Lodder Subject: Re: fs/udf: vm pages "overlap" while reading large dir [patch] X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Feb 2008 12:32:33 -0000 on 28/02/2008 11:59 Pav Lucistnik said the following: > Andriy Gapon píše v čt 28. 02. 2008 v 10:33 +0200: > > And while I have your attention, I have a related question. > > I have produced a bunch of ISO9660 Level 3 / UDF hybrid media with > mkisofs, and when I mount the UDF part of them, the mount point (root > directory of media) have 0x000 permissions. Yes that's right, d--------- > in ls -l. That makes the whole volume inaccessible for everyone except > root. > > Is this something you can mend in our UDF driver, or should I go dig > inside mkisofs guts? Windows handle these media without any visible > problems. > I think this ought to be something in mkisofs, last I checked our code was fully conforming to the specs in this regard. And obviously it works with windoz, because it simply ignores the permissions :-) We might consider adding a fixup for such broken media (if my assessment is correct), but I'd rather prefer that it is fixed at the source. -- Andriy Gapon From owner-freebsd-fs@FreeBSD.ORG Thu Feb 28 19:03:16 2008 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6364E1065680; Thu, 28 Feb 2008 19:03:16 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id 017388FC22; Thu, 28 Feb 2008 19:03:15 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from phobos.samsco.home (phobos.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.8/8.13.8) with ESMTP id m1SJ3402041093; Thu, 28 Feb 2008 12:03:05 -0700 (MST) (envelope-from scottl@samsco.org) Message-ID: <47C70568.7070208@samsco.org> Date: Thu, 28 Feb 2008 12:03:04 -0700 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.11) Gecko/20071128 SeaMonkey/1.1.7 MIME-Version: 1.0 To: pav@FreeBSD.org References: <200612221824.kBMIOhfM049471@freefall.freebsd.org> <47A2EDB0.8000801@icyb.net.ua> <47A2F404.7010208@icyb.net.ua> <47A735A4.3060506@icyb.net.ua> <47A75B47.2040604@elischer.org> <1202155663.62432.0.camel@ikaros.oook.cz> <47A8754C.5010607@icyb.net.ua> <1202235368.68281.12.camel@ikaros.oook.cz> <1204053786.1799.0.camel@ikaros.oook.cz> <47C671CF.9020101@icyb.net.ua> <1204192787.54462.1.camel@pav.hide.vol.cz> In-Reply-To: <1204192787.54462.1.camel@pav.hide.vol.cz> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.4 required=5.4 tests=ALL_TRUSTED autolearn=failed version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on pooker.samsco.org Cc: Bruce Evans , freebsd-hackers@FreeBSD.org, scottl@FreeBSD.org, Andriy Gapon , freebsd-fs@FreeBSD.org, Julian Elischer , Remko Lodder Subject: Re: fs/udf: vm pages "overlap" while reading large dir [patch] X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Feb 2008 19:03:16 -0000 Pav Lucistnik wrote: > Andriy Gapon pĂ­ĹĄe v čt 28. 02. 2008 v 10:33 +0200: > > And while I have your attention, I have a related question. > > I have produced a bunch of ISO9660 Level 3 / UDF hybrid media with > mkisofs, and when I mount the UDF part of them, the mount point (root > directory of media) have 0x000 permissions. Yes that's right, d--------- > in ls -l. That makes the whole volume inaccessible for everyone except > root. > > Is this something you can mend in our UDF driver, or should I go dig > inside mkisofs guts? Windows handle these media without any visible > problems. > I wonder if Windows even observes the permissions bits. You'd have to special-case the UDF driver code in FreeBSD, which certainly possible but not terribly attractive. I'd be interested to see what exactly mkiso is doing. Maybe it's putting permissions into extended attributes and assuming the filesystem driver will read those instead. Scott From owner-freebsd-fs@FreeBSD.ORG Thu Feb 28 19:04:05 2008 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B3821065679; Thu, 28 Feb 2008 19:04:05 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id 2A88C8FC2E; Thu, 28 Feb 2008 19:04:05 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from phobos.samsco.home (phobos.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.8/8.13.8) with ESMTP id m1SJ42cS041119; Thu, 28 Feb 2008 12:04:02 -0700 (MST) (envelope-from scottl@samsco.org) Message-ID: <47C705A2.9030502@samsco.org> Date: Thu, 28 Feb 2008 12:04:02 -0700 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.11) Gecko/20071128 SeaMonkey/1.1.7 MIME-Version: 1.0 To: Andriy Gapon References: <200612221824.kBMIOhfM049471@freefall.freebsd.org> <47A2EDB0.8000801@icyb.net.ua> <47A2F404.7010208@icyb.net.ua> <47A735A4.3060506@icyb.net.ua> <47A75B47.2040604@elischer.org> <1202155663.62432.0.camel@ikaros.oook.cz> <47A8754C.5010607@icyb.net.ua> <1202235368.68281.12.camel@ikaros.oook.cz> <1204053786.1799.0.camel@ikaros.oook.cz> <47C671CF.9020101@icyb.net.ua> In-Reply-To: <47C671CF.9020101@icyb.net.ua> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.4 required=5.4 tests=ALL_TRUSTED autolearn=failed version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on pooker.samsco.org Cc: Bruce Evans , freebsd-hackers@FreeBSD.org, freebsd-fs@FreeBSD.org, pav@FreeBSD.org, Julian Elischer , Remko Lodder Subject: Re: fs/udf: vm pages "overlap" while reading large dir [patch] X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Feb 2008 19:04:07 -0000 Andriy Gapon wrote: > on 26/02/2008 21:23 Pav Lucistnik said the following: >> Pav Lucistnik pĂ­ĹĄe v Ăşt 05. 02. 2008 v 19:16 +0100: >>> Andriy Gapon pĂ­ĹĄe v Ăşt 05. 02. 2008 v 16:40 +0200: >>> >>>>> Yay, and can you fix the sequential read performance while you're at it? >>>>> Kthx! >>>> this was almost trivial :-) >>>> See the attached patch, first hunk is just for consistency. >>>> The code was borrowed from cd9660, only field/variable names are adjusted. >> Just tested it with my shiny new Bluray drive, and it work wonders. >> Finally seamless playback of media files off UDF carrying media. >> >> So, how does it look WRT committing it? >> > > Pav, > > thank you for the feedback/reminder. > In my personal option the latest patch posted and described at the > following like is a very good candidate for commit: > http://docs.FreeBSD.org/cgi/mid.cgi?47AA43B9.1040608 > It might have a couple of style related issues, but it should improve > things a bit even if some larger VM/VFS/GEOM issues remain. > > And by the way, a patch from the following PR would be a good > "side-dish" for the above patch: > http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/78987 > I think it is simple and obvious enough. > I will commit both of these to CVS today. Thanks again. Scott From owner-freebsd-fs@FreeBSD.ORG Fri Feb 29 20:19:21 2008 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43E211065675 for ; Fri, 29 Feb 2008 20:19:21 +0000 (UTC) (envelope-from forrie@forrie.com) Received: from forrie.com (demon.dce.harvard.edu [140.247.198.85]) by mx1.freebsd.org (Postfix) with ESMTP id E8E8A8FC2F for ; Fri, 29 Feb 2008 20:19:20 +0000 (UTC) (envelope-from forrie@forrie.com) Received: from dhcp-103-0-64.de-dhcp.harvard.edu (dce-gw.harvard.edu [140.247.198.51]) (authenticated bits=0) by forrie.com (8.14.2/8.13.8) with ESMTP id m1TK4xow047234 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 29 Feb 2008 15:05:04 -0500 (EST) (envelope-from forrie@forrie.com) Message-ID: <47C8656A.6080808@forrie.com> Date: Fri, 29 Feb 2008 15:04:58 -0500 From: Forrest Aldrich User-Agent: Thunderbird 2.0.0.13pre (Macintosh/20080229) MIME-Version: 1.0 To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.92.1/6047/Fri Feb 29 13:51:13 2008 on mail.forrie.com X-Virus-Status: Clean Subject: ZFS as / filesystem on 7.0 ? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Feb 2008 20:19:21 -0000 I recently updated my existing 6.x systems to 7.0. Excited to see ZFS support, after looking through the current documentation, it doesn't appear we can use ZFS as the / filesystem, or am I mistaken (or is that even advisable). The sysinstall doesn't seem to provide you with the option for ZFS on the newly created partitions. So I could have / as UFS2 and /usr (et al) as ZFS. Could someone clarify? Perhaps I missed something in the documentation. Thanks. From owner-freebsd-fs@FreeBSD.ORG Fri Feb 29 21:41:10 2008 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AFB29106566C for ; Fri, 29 Feb 2008 21:41:10 +0000 (UTC) (envelope-from lulf@stud.ntnu.no) Received: from bene1.itea.ntnu.no (bene1.itea.ntnu.no [IPv6:2001:700:300:3::56]) by mx1.freebsd.org (Postfix) with ESMTP id EAC9C8FC13 for ; Fri, 29 Feb 2008 21:41:09 +0000 (UTC) (envelope-from lulf@stud.ntnu.no) Received: from localhost (localhost [127.0.0.1]) by bene1.itea.ntnu.no (Postfix) with ESMTP id D995316C6AA; Fri, 29 Feb 2008 22:41:07 +0100 (CET) Received: from carrot.studby.ntnu.no (unknown [IPv6:2001:700:300:3::185]) by bene1.itea.ntnu.no (Postfix) with ESMTP id 70C1B16C4F7; Fri, 29 Feb 2008 22:41:07 +0100 (CET) Date: Fri, 29 Feb 2008 22:41:07 +0100 From: Ulf Lilleengen To: Forrest Aldrich Message-ID: <20080229214106.GA1249@carrot.studby.ntnu.no> References: <47C8656A.6080808@forrie.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47C8656A.6080808@forrie.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: Debian amavisd-new at bene1.itea.ntnu.no Cc: freebsd-fs@freebsd.org Subject: Re: ZFS as / filesystem on 7.0 ? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Feb 2008 21:41:10 -0000 On fre, feb 29, 2008 at 03:04:58pm -0500, Forrest Aldrich wrote: > I recently updated my existing 6.x systems to 7.0. Excited to see ZFS > support, after looking through the current documentation, it doesn't appear > we can use ZFS as the / filesystem, or am I mistaken (or is that even > advisable). The sysinstall doesn't seem to provide you with the option > for ZFS on the newly created partitions. So I could have / as UFS2 and > /usr (et al) as ZFS. > > Could someone clarify? Perhaps I missed something in the documentation. > Hi, You can use ZFS for the root filesystem, but you cannot boot from it yet. Guides for how to set up ZFS and what's supported can be found here: http://wiki.freebsd.org/ZFS Sysinstall doesn't support ZFS yet, so you'll have to do some tricks after install to get ZFS up and running. Remember, the support is experimental. But I definately recommend to give it a try :) -- Ulf Lilleengen From owner-freebsd-fs@FreeBSD.ORG Fri Feb 29 21:55:35 2008 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B072F1065672 for ; Fri, 29 Feb 2008 21:55:35 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id A2EBC8FC20 for ; Fri, 29 Feb 2008 21:55:35 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 96E381CC038; Fri, 29 Feb 2008 13:55:35 -0800 (PST) Date: Fri, 29 Feb 2008 13:55:35 -0800 From: Jeremy Chadwick To: Ulf Lilleengen Message-ID: <20080229215535.GA5670@eos.sc1.parodius.com> References: <47C8656A.6080808@forrie.com> <20080229214106.GA1249@carrot.studby.ntnu.no> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080229214106.GA1249@carrot.studby.ntnu.no> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-fs@freebsd.org, Forrest Aldrich Subject: Re: ZFS as / filesystem on 7.0 ? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Feb 2008 21:55:35 -0000 On Fri, Feb 29, 2008 at 10:41:07PM +0100, Ulf Lilleengen wrote: > On fre, feb 29, 2008 at 03:04:58pm -0500, Forrest Aldrich wrote: > > I recently updated my existing 6.x systems to 7.0. Excited to see ZFS > > support, after looking through the current documentation, it doesn't appear > > we can use ZFS as the / filesystem, or am I mistaken (or is that even > > advisable). The sysinstall doesn't seem to provide you with the option > > for ZFS on the newly created partitions. So I could have / as UFS2 and > > /usr (et al) as ZFS. > > > > Could someone clarify? Perhaps I missed something in the documentation. > > > Hi, > > You can use ZFS for the root filesystem, but you cannot boot from it yet. > Guides for how to set up ZFS and what's supported can be found here: > http://wiki.freebsd.org/ZFS > > Sysinstall doesn't support ZFS yet, so you'll have to do some tricks after > install to get ZFS up and running. Remember, the support is experimental. But > I definately recommend to give it a try :) I'll take a moment to remind the OP that he should read the Known Problems/Issues page before deciding to do something as risky as put the root filesystem on ZFS. http://wiki.freebsd.org/ZFSKnownProblems -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-fs@FreeBSD.ORG Fri Feb 29 22:00:47 2008 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 727F81065671 for ; Fri, 29 Feb 2008 22:00:47 +0000 (UTC) (envelope-from forrie@forrie.com) Received: from forrie.com (demon.dce.harvard.edu [140.247.198.85]) by mx1.freebsd.org (Postfix) with ESMTP id 21E998FC2A for ; Fri, 29 Feb 2008 22:00:47 +0000 (UTC) (envelope-from forrie@forrie.com) Received: from dhcp-103-0-64.de-dhcp.harvard.edu (dce-gw.harvard.edu [140.247.198.51]) (authenticated bits=0) by forrie.com (8.14.2/8.13.8) with ESMTP id m1TM0c88049570 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 29 Feb 2008 17:00:43 -0500 (EST) (envelope-from forrie@forrie.com) Message-ID: <47C88085.60300@forrie.com> Date: Fri, 29 Feb 2008 17:00:37 -0500 From: Forrest Aldrich User-Agent: Thunderbird 2.0.0.13pre (Macintosh/20080229) MIME-Version: 1.0 To: freebsd-fs@freebsd.org References: <47C8656A.6080808@forrie.com> <20080229214106.GA1249@carrot.studby.ntnu.no> <20080229215535.GA5670@eos.sc1.parodius.com> In-Reply-To: <20080229215535.GA5670@eos.sc1.parodius.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.92.1/6047/Fri Feb 29 13:51:13 2008 on mail.forrie.com X-Virus-Status: Clean Subject: Re: ZFS as / filesystem on 7.0 ? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Feb 2008 22:00:47 -0000 Thank you for the replies. It seems that / and/or at least /boot should remain UFS/UFS2 and the rest of the system ZFS, if so desired. I wonder if it's possible to convert a filesystem from UFS/2 to ZFS ;-) Probably not without another disk nearby to mirror and copy back the content. _F From owner-freebsd-fs@FreeBSD.ORG Fri Feb 29 22:21:07 2008 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FD94106567A for ; Fri, 29 Feb 2008 22:21:07 +0000 (UTC) (envelope-from bp@barryp.org) Received: from itasca.hexavalent.net (itasca.hexavalent.net [67.207.138.180]) by mx1.freebsd.org (Postfix) with ESMTP id 490DC8FC2B for ; Fri, 29 Feb 2008 22:21:07 +0000 (UTC) (envelope-from bp@barryp.org) Received: from host-42-60-230-24.midco.net ([24.230.60.42] helo=eden.barryp.org) by itasca.hexavalent.net with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.67) (envelope-from ) id 1JVCxO-00016S-KV for freebsd-fs@freebsd.org; Fri, 29 Feb 2008 15:39:54 -0600 Received: from geo.med.und.nodak.edu ([134.129.166.11]) by eden.barryp.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67 (FreeBSD)) (envelope-from ) id 1JVCxI-0003RB-Hx; Fri, 29 Feb 2008 15:39:48 -0600 Message-ID: <47C87BB3.3010301@barryp.org> Date: Fri, 29 Feb 2008 15:40:03 -0600 From: Barry Pederson User-Agent: Thunderbird 2.0.0.9 (X11/20071031) MIME-Version: 1.0 To: Forrest Aldrich References: <47C8656A.6080808@forrie.com> In-Reply-To: <47C8656A.6080808@forrie.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org Subject: Re: ZFS as / filesystem on 7.0 ? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Feb 2008 22:21:07 -0000 Forrest Aldrich wrote: > I recently updated my existing 6.x systems to 7.0. Excited to see ZFS > support, after looking through the current documentation, it doesn't > appear we can use ZFS as the / filesystem, or am I mistaken (or is that > even advisable). The sysinstall doesn't seem to provide you with the > option for ZFS on the newly created partitions. So I could have / as > UFS2 and /usr (et al) as ZFS. > > Could someone clarify? Perhaps I missed something in the documentation. > > > Thanks. You need to have /boot on a UFS partition, and then in /boot/loader.conf you can have something like zfs_load="YES" vfs.root.mountfrom="zfs:tank/root" so that the root filesystem is in ZFS. I doubt sysinstall supports any of that, you'll have to do it manually. There's a wiki page describing some of this. http://wiki.freebsd.org/ZFSOnRoot I've had good luck putting /boot on a CompactFlash device, and dedicating the entire regular harddisk(s) to ZFS (no slices or partitions). glabeling the disks before putting them into a ZFS pool seems to be a good idea too - that way they have a fixed name you can refer to that doesn't change if they get moved to different physical ports. Barry From owner-freebsd-fs@FreeBSD.ORG Fri Feb 29 23:00:58 2008 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3B4B1065674 for ; Fri, 29 Feb 2008 23:00:57 +0000 (UTC) (envelope-from bp@barryp.org) Received: from itasca.hexavalent.net (itasca.hexavalent.net [67.207.138.180]) by mx1.freebsd.org (Postfix) with ESMTP id CB8728FC23 for ; Fri, 29 Feb 2008 23:00:57 +0000 (UTC) (envelope-from bp@barryp.org) Received: from host-42-60-230-24.midco.net ([24.230.60.42] helo=eden.barryp.org) by itasca.hexavalent.net with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.67) (envelope-from ) id 1JVEDp-00018U-0e for freebsd-fs@freebsd.org; Fri, 29 Feb 2008 17:00:57 -0600 Received: from geo.med.und.nodak.edu ([134.129.166.11]) by eden.barryp.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67 (FreeBSD)) (envelope-from ) id 1JVEDj-00046X-5B; Fri, 29 Feb 2008 17:00:51 -0600 Message-ID: <47C88EB2.5080108@barryp.org> Date: Fri, 29 Feb 2008 17:01:06 -0600 From: Barry Pederson User-Agent: Thunderbird 2.0.0.9 (X11/20071031) MIME-Version: 1.0 To: Forrest Aldrich References: <47C8656A.6080808@forrie.com> <20080229214106.GA1249@carrot.studby.ntnu.no> <20080229215535.GA5670@eos.sc1.parodius.com> <47C88085.60300@forrie.com> In-Reply-To: <47C88085.60300@forrie.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org Subject: Re: ZFS as / filesystem on 7.0 ? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Feb 2008 23:00:58 -0000 Forrest Aldrich wrote: > Thank you for the replies. It seems that / and/or at least /boot should > remain UFS/UFS2 and the rest of the system ZFS, if so desired. > > I wonder if it's possible to convert a filesystem from UFS/2 to ZFS ;-) > Probably not without another disk nearby to mirror and copy back the > content. No conversion - I ended up installing on UFS on one disk, creating a ZFS pool on a second disk, and then using sysutils/cpdup from ports to clone the install onto one or more ZFS filesystems. Barry From owner-freebsd-fs@FreeBSD.ORG Sat Mar 1 17:38:45 2008 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C750E106567C for ; Sat, 1 Mar 2008 17:38:45 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.freebsd.org (Postfix) with ESMTP id 3B7EF8FC21 for ; Sat, 1 Mar 2008 17:38:44 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.14.2/8.14.1) with ESMTP id m21HG54l069104; Sat, 1 Mar 2008 20:16:05 +0300 (MSK) (envelope-from marck@rinet.ru) Date: Sat, 1 Mar 2008 20:16:05 +0300 (MSK) From: Dmitry Morozovsky To: Forrest Aldrich In-Reply-To: <47C88085.60300@forrie.com> Message-ID: <20080301201308.F49885@woozle.rinet.ru> References: <47C8656A.6080808@forrie.com> <20080229214106.GA1249@carrot.studby.ntnu.no> <20080229215535.GA5670@eos.sc1.parodius.com> <47C88085.60300@forrie.com> X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (woozle.rinet.ru [0.0.0.0]); Sat, 01 Mar 2008 20:16:05 +0300 (MSK) Cc: freebsd-fs@freebsd.org Subject: Re: ZFS as / filesystem on 7.0 ? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Mar 2008 17:38:45 -0000 On Fri, 29 Feb 2008, Forrest Aldrich wrote: FA> Thank you for the replies. It seems that / and/or at least /boot should FA> remain UFS/UFS2 and the rest of the system ZFS, if so desired. FA> FA> I wonder if it's possible to convert a filesystem from UFS/2 to ZFS ;-) FA> Probably not without another disk nearby to mirror and copy back the FA> content. You can even do it with single disk. Hint: install minimal system into 'b' partition (your future swap ;-) and boot into it's single user mode with ad(0,b) response to boot: prompt (press space at early boot stage) AFAIK no in-place conversion from USF to ZFS is possible or would ever be ;-) Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: marck@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ From owner-freebsd-fs@FreeBSD.ORG Sat Mar 1 21:09:28 2008 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D55371065670; Sat, 1 Mar 2008 21:09:28 +0000 (UTC) (envelope-from jakob@dev.citybikes.cz) Received: from dev.citybikes.cz (r5o136.net.upc.cz [86.49.14.136]) by mx1.freebsd.org (Postfix) with ESMTP id 5D3178FC13; Sat, 1 Mar 2008 21:09:27 +0000 (UTC) (envelope-from jakob@dev.citybikes.cz) Received: from dev.citybikes.cz (localhost [127.0.0.1]) by dev.citybikes.cz (8.14.2/8.14.2) with ESMTP id m21L9OZ0003171; Sat, 1 Mar 2008 22:09:24 +0100 (CET) (envelope-from jakob@dev.citybikes.cz) Received: (from jakob@localhost) by dev.citybikes.cz (8.14.2/8.14.2/Submit) id m21L9ON4003170; Sat, 1 Mar 2008 22:09:24 +0100 (CET) (envelope-from jakob) Date: Sat, 1 Mar 2008 22:09:24 +0100 From: Jakub Siroky To: Kris Kennaway Message-ID: <20080301220924.72bf355d@dev.citybikes.cz> In-Reply-To: <47921AE2.1060004@FreeBSD.org> References: <20080118120140.2a8170a0@dev> <47921931.9050606@FreeBSD.org> <47921AE2.1060004@FreeBSD.org> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.1; amd64-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-fs@FreeBSD.org, freebsd-stable@FreeBSD.org Subject: Re: infinite loop when copying to ext2fs X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Mar 2008 21:09:29 -0000 I've just confirmed the same situation on 6.2-RELEASE amd64/GENERIC. I did not noticed it before because I started using ext2fs extensively some months ago. Regards, Jakub On Sat, 19 Jan 2008 16:44:34 +0100 Kris Kennaway wrote: > Kris Kennaway wrote: > > Jakub Siroky wrote: > >> I have two large ext2fs partitions (368 and 313GB) to hold data > >> shared between several OSes. While there were no problems on > >> 6-STABLE branch I was quite disappointed after upgrade to > >> 7-STABLE. Whenever I copy/write to ext2fs partition the system > >> freezes totally without crashdump. So I set debugging settings to > >> kernel config (DEBUG,WITNESS,..) and in console I reproduced error > >> situation ending with full screen of unstoppable running text with > >> lot of memory addresses and a few recognisable words: 'new block > >> bit set for ext already' - again with no crashdump. Then I have > >> formatted 1GB partition with ext2fs and the problem on this small > >> partition appears only sometimes. > > > > OK, I am able to reproduce this. > > > > Kris > > > > Is anyone able to look at this? I could not spot a candidate change > that has not been merged to 6.x. > > Kris From owner-freebsd-fs@FreeBSD.ORG Sat Mar 1 21:22:38 2008 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A9351065675; Sat, 1 Mar 2008 21:22:38 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E01368FC21; Sat, 1 Mar 2008 21:22:31 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <47C9C912.1020700@FreeBSD.org> Date: Sat, 01 Mar 2008 22:22:26 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: Jakub Siroky References: <20080118120140.2a8170a0@dev> <47921931.9050606@FreeBSD.org> <47921AE2.1060004@FreeBSD.org> <20080301220924.72bf355d@dev.citybikes.cz> In-Reply-To: <20080301220924.72bf355d@dev.citybikes.cz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@FreeBSD.org, cracauer@FreeBSD.org, freebsd-stable@FreeBSD.org, maxim@FreeBSD.org Subject: Re: infinite loop when copying to ext2fs X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Mar 2008 21:22:38 -0000 Jakub Siroky wrote: > I've just confirmed the same situation on 6.2-RELEASE amd64/GENERIC. I > did not noticed it before because I started using ext2fs extensively > some months ago. > > Regards, > Jakub > > On Sat, 19 Jan 2008 16:44:34 +0100 > Kris Kennaway wrote: > >> Kris Kennaway wrote: >>> Jakub Siroky wrote: >>>> I have two large ext2fs partitions (368 and 313GB) to hold data >>>> shared between several OSes. While there were no problems on >>>> 6-STABLE branch I was quite disappointed after upgrade to >>>> 7-STABLE. Whenever I copy/write to ext2fs partition the system >>>> freezes totally without crashdump. So I set debugging settings to >>>> kernel config (DEBUG,WITNESS,..) and in console I reproduced error >>>> situation ending with full screen of unstoppable running text with >>>> lot of memory addresses and a few recognisable words: 'new block >>>> bit set for ext already' - again with no crashdump. Then I have >>>> formatted 1GB partition with ext2fs and the problem on this small >>>> partition appears only sometimes. >>> OK, I am able to reproduce this. >>> >>> Kris >>> >> Is anyone able to look at this? I could not spot a candidate change >> that has not been merged to 6.x. >> >> Kris > > Sounds like it may have been broken by the change to ext2_bitops.h by cracauer. Can you confirm whether backing out 1.2.2.1 fixes it? Kris From owner-freebsd-fs@FreeBSD.ORG Sat Mar 1 22:50:44 2008 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2158106566B for ; Sat, 1 Mar 2008 22:50:44 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154]) by mx1.freebsd.org (Postfix) with ESMTP id 3EC978FC1D for ; Sat, 1 Mar 2008 22:50:44 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so3711901fgg.35 for ; Sat, 01 Mar 2008 14:50:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; bh=DZPP8aRjw6rk1Dy2GNZhMW+oP5DPyWS4+NKtdvwt9YE=; b=nNeJE9IUmlqQpuZ/YBIoeoFl/vcVzaSOh0ueiRFK70rYKet/eNFW61ETmMVVn40LqlsjY4iqPs/1O6VnX0GmdvxL3Q7CWtpQaaiLmOTZiNfKRIcYTNZ238NYQyXDSDS1tx/J+Birv9Zz5WUSgasPfheR1FfKKamAPu/h82aLYF8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=eqyW6drr3OedHopadqMWXQfJC54emSBSiwgUSSXLcQlHB/PjCCkV3gYuP+LpzjXViCc8UV1zZJJDpH9C68h8gImtA8+Boknr8IfS9PiZZM9XUlgKsDaCmoLCE+GZiQT3dgDprkpB66iH/KrvUTiPCPHfjChC2tPS4iJDnWTQz28= Received: by 10.82.188.15 with SMTP id l15mr14760347buf.15.1204411842694; Sat, 01 Mar 2008 14:50:42 -0800 (PST) Received: by 10.86.30.17 with HTTP; Sat, 1 Mar 2008 14:50:42 -0800 (PST) Message-ID: <3bbf2fe10803011450l2dadf71fp939759b8c023f1c5@mail.gmail.com> Date: Sat, 1 Mar 2008 23:50:42 +0100 From: "Attilio Rao" Sender: asmrookie@gmail.com To: "FreeBSD Current" , freebsd-fs@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: d7027d212304d661 Cc: Subject: [FOLLOW UP] lockmgr rewriting -- round 1 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Mar 2008 22:50:44 -0000 Starting from the end of december, a serie of commits hit the tree in order to prepare current CVS stock kernel to be ready for an eventual newly implemented lockmgr locking primitive inclusion. The commits included various fixes to lockmgr(9) consumers, mostly the VFS locks and buffer cache objects locks. A detailed, tecnical, list of all modifies provided will be released soon, in order to maintain interested developers up-to-date, but it worths mentioning that for any commit modifying KPI, manpages and __FreeBSD_version bumping happened very closely. Due to the vfs and buffer cache involvement, modifies propagated to a lot of different filesystems, and some bugs show up: all the known one have been alredy fixed, with the exception of LORs reported by WITNESS, which hopefully will be analyzed and solved soon. The "consumers" are now in a good shape in order to accept the new, optimized, implementation, so we can consider an ideal "round 1" as closed. The new implementation should follow in a few of weeks, just in time to find any eventual bug and tweak exiting work in order to be in sync with the new KPI. If any user is experiencing any strange behaviour and he thinks VFS can be involved, please let me know as it is likely bugs can show up in this time-frame and it is better to solve them before the new implementation cames in. As last step let me thank people which deserved many thanks during this "round 1": - Konstantin Belousov submitted code and found time for reviewing almost all the relevant patches, as long as finding time for discussing approaches to follow - Kris Kennaway, Peter Holm, Matteo Riondato and Andrea Barberio tested, together, almost all patches before to be committed - Jeff Roberson, Stephan Uphoff and John Baldwin offered time for revisions and discussions - Yar Tikhiy, Doug Barton, Scot Hetzel and Bryan Venteicher found time to help in resolving specific filesystems bugs - Christian Brueffer and Gabor Kovesdan helped in updating manpages and docs/ bits Thanks, Attilio -- Peace can only be achieved by understanding - A. Einstein