From owner-freebsd-fs@FreeBSD.ORG Mon Jun 2 06:02:53 2003 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F0B5637B401; Mon, 2 Jun 2003 06:02:53 -0700 (PDT) Received: from kurush.osdn.org.ua (external.osdn.org.ua [212.40.34.156]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2DED43F93; Mon, 2 Jun 2003 06:02:51 -0700 (PDT) (envelope-from never@kurush.osdn.org.ua) Received: from kurush.osdn.org.ua (never@localhost [127.0.0.1]) by kurush.osdn.org.ua (8.12.6p2/8.12.6) with ESMTP id h52D2nsB022229; Mon, 2 Jun 2003 16:02:49 +0300 (EEST) (envelope-from never@kurush.osdn.org.ua) Received: (from never@localhost) by kurush.osdn.org.ua (8.12.6p2/8.12.6/Submit) id h52D2mXg022226; Mon, 2 Jun 2003 16:02:48 +0300 (EEST) (envelope-from never) Date: Mon, 2 Jun 2003 16:02:48 +0300 From: Alexandr Kovalenko To: freebsd-hackers@freebsd.org Message-ID: <20030602130248.GA21429@nevermind.kiev.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline User-Agent: Mutt/1.5.1i cc: freebsd-fs@freebsd.org Subject: trimming of chroot jail path in df(1) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2003 13:02:54 -0000 [Please Cc: me] I've found module jailfsstat: http://garage.freebsd.pl/jailfsstat.tgz which task is that process in jail can see only file systems mounted inside of jail. It works somehow incorrect and I would like to ask you for an URL of FreeBSD's vfs implementation documentation. -- NEVE-RIPE, will build world for food Ukrainian FreeBSD User Group http://uafug.org.ua/ From owner-freebsd-fs@FreeBSD.ORG Mon Jun 2 08:11:26 2003 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C61937B401; Mon, 2 Jun 2003 08:11:26 -0700 (PDT) Received: from milla.ask33.net (milla.ask33.net [217.197.166.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C13A43F93; Mon, 2 Jun 2003 08:11:25 -0700 (PDT) (envelope-from nick@milla.ask33.net) Received: by milla.ask33.net (Postfix, from userid 1001) id 2ECA43ABB4D; Mon, 2 Jun 2003 17:16:56 +0200 (CEST) Date: Mon, 2 Jun 2003 17:16:54 +0200 From: Pawel Jakub Dawidek To: Alexandr Kovalenko Message-ID: <20030602151654.GY45118@garage.freebsd.pl> References: <20030602130248.GA21429@nevermind.kiev.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="DhQwRAYkrIIrFlia" Content-Disposition: inline In-Reply-To: <20030602130248.GA21429@nevermind.kiev.ua> X-PGP-Key-URL: http://garage.freebsd.pl/jules.asc X-OS: FreeBSD 4.8-RELEASE i386 X-URL: http://garage.freebsd.pl User-Agent: Mutt/1.5.1i cc: freebsd-fs@freebsd.org cc: freebsd-hackers@freebsd.org Subject: Re: trimming of chroot jail path in df(1) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2003 15:11:26 -0000 --DhQwRAYkrIIrFlia Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 02, 2003 at 04:02:48PM +0300, Alexandr Kovalenko wrote: +> I've found module jailfsstat: +>=20 +> http://garage.freebsd.pl/jailfsstat.tgz +>=20 +> which task is that process in jail can see only file systems mounted +> inside of jail. +>=20 +> It works somehow incorrect and I would like to ask you for an URL of +> FreeBSD's vfs implementation documentation. Somebody has raported that there is off-by-one error somewhere, but it wasn't critical AFAIK. Have you found some other incorrect behaviour? If yes, I could always fix it in my free time. --=20 Pawel Jakub Dawidek pawel@dawidek.net UNIX Systems Programmer/Administrator http://garage.freebsd.pl Am I Evil? Yes, I Am! http://cerber.sourceforge.net --DhQwRAYkrIIrFlia Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iQCVAwUBPttqZj/PhmMH/Mf1AQGfSwP+MhqZqR+b21U4FD7xJZB3oOh/thLiMDrS UeXxEDrhWx5u4SVboyNExVCMMvTGWss1fci23WCCpE2cb69+j/ZJfxIPaG1TqHu3 IjqKZNRxfRTx4uiklXxsIRyDHTFmhW8y3lwJrXdVuSW9ye3VNfipQcOylKyqB0hd nhNFu8Zbu14= =JI6x -----END PGP SIGNATURE----- --DhQwRAYkrIIrFlia-- From owner-freebsd-fs@FreeBSD.ORG Mon Jun 2 08:38:35 2003 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D7F337B404; Mon, 2 Jun 2003 08:38:35 -0700 (PDT) Received: from kurush.osdn.org.ua (external.osdn.org.ua [212.40.34.156]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCF4343FAF; Mon, 2 Jun 2003 08:38:14 -0700 (PDT) (envelope-from never@kurush.osdn.org.ua) Received: from kurush.osdn.org.ua (never@localhost [127.0.0.1]) by kurush.osdn.org.ua (8.12.6p2/8.12.6) with ESMTP id h52FbisB029081; Mon, 2 Jun 2003 18:37:44 +0300 (EEST) (envelope-from never@kurush.osdn.org.ua) Received: (from never@localhost) by kurush.osdn.org.ua (8.12.6p2/8.12.6/Submit) id h52FbiIL029078; Mon, 2 Jun 2003 18:37:44 +0300 (EEST) (envelope-from never) Date: Mon, 2 Jun 2003 18:37:43 +0300 From: Alexandr Kovalenko To: Pawel Jakub Dawidek Message-ID: <20030602153743.GB28919@nevermind.kiev.ua> References: <20030602130248.GA21429@nevermind.kiev.ua> <20030602151654.GY45118@garage.freebsd.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20030602151654.GY45118@garage.freebsd.pl> User-Agent: Mutt/1.5.1i cc: freebsd-fs@freebsd.org cc: freebsd-hackers@freebsd.org Subject: Re: trimming of chroot jail path in df(1) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2003 15:38:35 -0000 Hello, Pawel Jakub Dawidek! On Mon, Jun 02, 2003 at 05:16:54PM +0200, you wrote: > On Mon, Jun 02, 2003 at 04:02:48PM +0300, Alexandr Kovalenko wrote: > +> I've found module jailfsstat: > +> > +> http://garage.freebsd.pl/jailfsstat.tgz > +> > +> which task is that process in jail can see only file systems mounted > +> inside of jail. > +> > +> It works somehow incorrect and I would like to ask you for an URL of > +> FreeBSD's vfs implementation documentation. > > Somebody has raported that there is off-by-one error somewhere, but it > wasn't critical AFAIK. Have you found some other incorrect behaviour? > If yes, I could always fix it in my free time. Incorrect behaviour is: in host system: bash-2.05b# df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/da0s1a 128990 35988 82684 30% / /dev/da0s1f 2064302 8344 1890814 0% /tmp /dev/da0s1g 10322414 1703924 7792698 18% /usr /dev/da0s1h 97825400 3834024 86165344 4% /usr/local /dev/da0s1e 2064302 12758 1886400 1% /var /dev/da1s1e 233513688 1889152 212943448 1% /jails procfs 4 4 0 100% /proc /dev/vn1a 503966 149870 313780 32% /jails/mounts/217.20.163.128 procfs 4 4 0 100% /jails/mounts/217.20.163.128/proc /dev/vn2a 503966 203640 260010 44% /jails/mounts/217.20.163.129 procfs 4 4 0 100% /jails/mounts/217.20.163.129/proc with your, unpatched version: Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/vn1a 503966 149870 313780 32% / procfs 4 4 0 100% /proc /dev/vn2a 503966 203640 260010 44% procfs 4 4 0 100% /proc with patch I've just sent to you: Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/vn1a 503966 149870 313780 32% / procfs 4 4 0 100% /proc -- NEVE-RIPE, will build world for food Ukrainian FreeBSD User Group http://uafug.org.ua/ From owner-freebsd-fs@FreeBSD.ORG Mon Jun 2 10:40:42 2003 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9180937B401; Mon, 2 Jun 2003 10:40:42 -0700 (PDT) Received: from milla.ask33.net (milla.ask33.net [217.197.166.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DE6A43F93; Mon, 2 Jun 2003 10:40:39 -0700 (PDT) (envelope-from nick@milla.ask33.net) Received: by milla.ask33.net (Postfix, from userid 1001) id 2C2E53ABB47; Mon, 2 Jun 2003 19:46:09 +0200 (CEST) Date: Mon, 2 Jun 2003 19:46:07 +0200 From: Pawel Jakub Dawidek To: Alexandr Kovalenko Message-ID: <20030602174607.GB45118@garage.freebsd.pl> References: <20030602130248.GA21429@nevermind.kiev.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="raUW49jrFKq6b8og" Content-Disposition: inline In-Reply-To: <20030602130248.GA21429@nevermind.kiev.ua> X-PGP-Key-URL: http://garage.freebsd.pl/jules.asc X-OS: FreeBSD 4.8-RELEASE i386 X-URL: http://garage.freebsd.pl User-Agent: Mutt/1.5.1i cc: freebsd-fs@freebsd.org cc: freebsd-hackers@freebsd.org Subject: Re: trimming of chroot jail path in df(1) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2003 17:40:42 -0000 --raUW49jrFKq6b8og Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 02, 2003 at 04:02:48PM +0300, Alexandr Kovalenko wrote: +> I've found module jailfsstat: +>=20 +> http://garage.freebsd.pl/jailfsstat.tgz +>=20 +> which task is that process in jail can see only file systems mounted +> inside of jail. Ok, jailfsstat module was fixed and could be found here: http://garage.freebsd.pl/jailfsstat.tbz Thanks Alexandr! --=20 Pawel Jakub Dawidek pawel@dawidek.net UNIX Systems Programmer/Administrator http://garage.freebsd.pl Am I Evil? Yes, I Am! http://cerber.sourceforge.net --raUW49jrFKq6b8og Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iQCVAwUBPtuNXz/PhmMH/Mf1AQEX8gQAoc5UHwsVFOz4InoRSySIso/MLlgH08g0 EWx8zV5Vqcshpj69fy0lpIYTectlwy8P9qE7maSb/O/O1vGRPCWZds7YhgnYaNU2 QvIlHzsNh+vVVJL0hiFC9waLDxjB7BNsQIQh5FhorWypveawfPso2EaQQh3GZbjg eFx9BhV1d24= =JlJp -----END PGP SIGNATURE----- --raUW49jrFKq6b8og-- From owner-freebsd-fs@FreeBSD.ORG Mon Jun 2 16:35:41 2003 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA12237B401; Mon, 2 Jun 2003 16:35:41 -0700 (PDT) Received: from po3.wam.umd.edu (po3.wam.umd.edu [128.8.10.165]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02FAB43F3F; Mon, 2 Jun 2003 16:35:40 -0700 (PDT) (envelope-from atrus@wam.umd.edu) Received: from rac2.wam.umd.edu (IDENT:root@rac2.wam.umd.edu [128.8.10.142]) by po3.wam.umd.edu (8.9.3p2/8.9.3) with ESMTP id TAA01472; Mon, 2 Jun 2003 19:35:38 -0400 (EDT) Received: from rac2.wam.umd.edu (IDENT:sendmail@localhost [127.0.0.1]) by rac2.wam.umd.edu (8.9.3/8.9.3) with SMTP id TAA18605; Mon, 2 Jun 2003 19:35:37 -0400 (EDT) Received: from localhost (atrus@localhost) by rac2.wam.umd.edu (8.9.3/8.9.3) with ESMTP id TAA18601; Mon, 2 Jun 2003 19:35:37 -0400 (EDT) X-Authentication-Warning: rac2.wam.umd.edu: atrus owned process doing -bs Date: Mon, 2 Jun 2003 19:35:37 -0400 (EDT) From: "Nikolas 'Atrus' Coukouma" To: freebsd-questions-unsubscribe@freebsd.org, , , , , , Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2003 23:35:43 -0000 From owner-freebsd-fs@FreeBSD.ORG Fri Jun 6 16:52:52 2003 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9698337B404 for ; Fri, 6 Jun 2003 16:52:52 -0700 (PDT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1874343FCB for ; Fri, 6 Jun 2003 16:52:50 -0700 (PDT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.9/8.12.3) with ESMTP id h56NqlvN001026 for ; Fri, 6 Jun 2003 16:52:47 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.9/8.12.3/Submit) id h56NqljO001025 for fs@freebsd.org; Fri, 6 Jun 2003 16:52:47 -0700 Date: Fri, 6 Jun 2003 16:52:47 -0700 From: Brooks Davis To: fs@freebsd.org Message-ID: <20030606235247.GA29775@Odin.AC.HMC.Edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mP3DRpeJDSE+ciuQ" Content-Disposition: inline User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu Subject: IFS X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jun 2003 23:52:52 -0000 --mP3DRpeJDSE+ciuQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Does anyone know of any efforts to reimplement IFS on UFS2 or have a good idea how much work it would be? I'm wondering because we have an application where where a fully current UFS2 based IFS is close to a perfect fit. The application is the Storage Resource Broker which uses a relational database to store metadata indexing for files in a variety of storage methods. The main online storage method uses the usual trick of hashing into directories. We should be able to get by with that, but IFS seems like a much better fit. This year we're buying about 12TB of storage that I'm going to be running FreeBSD on (4U, 16 drive IDE systems). Next year, we hope to buy 160TB and the final project will us on the order of 2PB of NASA satellite data and processed data products. Fortunatly for us, most files are big (about 1GB). -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --mP3DRpeJDSE+ciuQ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+4SlOXY6L6fI4GtQRAqaIAJ9QyYz1jPj38hnnxtFAzctp0G3P4QCg5OB9 T9ff3pMn5sToBJDF6Cen8D0= =9MpF -----END PGP SIGNATURE----- --mP3DRpeJDSE+ciuQ--