From owner-freebsd-fs@FreeBSD.ORG Wed Jul 30 11:33:10 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 AAFF137B401 for ; Wed, 30 Jul 2003 11:33:10 -0700 (PDT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2004343F75 for ; Wed, 30 Jul 2003 11:33:10 -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 h6UIX7uD013320 for ; Wed, 30 Jul 2003 11:33:07 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.9/8.12.3/Submit) id h6UIX7HE013315 for fs@freebsd.org; Wed, 30 Jul 2003 11:33:07 -0700 Date: Wed, 30 Jul 2003 11:33:07 -0700 From: Brooks Davis To: fs@freebsd.org Message-ID: <20030730183307.GA11345@Odin.AC.HMC.Edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yrj/dFKFPuw6o+aM" Content-Disposition: inline User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu Subject: fsck memory usage 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: Wed, 30 Jul 2003 18:33:10 -0000 --yrj/dFKFPuw6o+aM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Does anyone have a formula to give fsck memory requirements based on disk size and newfs arguments. I'm going to be building some large (3.3TB) file systems and I'd like to figure out if I'm going to need to go 64-bit to have sufficent address space to fsck them. The mean filesize will be pretty big so I will be able to set bytes/i-node fairly high. -- 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 --yrj/dFKFPuw6o+aM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/KA9hXY6L6fI4GtQRAhX2AJ0V5Cn6CnsZczRIta7lYeEMnPKD3gCdGW1x GgBCZF9AgTaLHqkYbE5JMqo= =gBl6 -----END PGP SIGNATURE----- --yrj/dFKFPuw6o+aM-- From owner-freebsd-fs@FreeBSD.ORG Wed Jul 30 12:29:01 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 3DA4537B401 for ; Wed, 30 Jul 2003 12:29:01 -0700 (PDT) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9613043FAF for ; Wed, 30 Jul 2003 12:29:00 -0700 (PDT) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([12.233.125.100]) by attbi.com (rwcrmhc13) with ESMTP id <2003073019290001500o5dd1e>; Wed, 30 Jul 2003 19:29:00 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id MAA24076; Wed, 30 Jul 2003 12:28:54 -0700 (PDT) Date: Wed, 30 Jul 2003 12:28:52 -0700 (PDT) From: Julian Elischer To: Brooks Davis In-Reply-To: <20030730183307.GA11345@Odin.AC.HMC.Edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: fs@freebsd.org Subject: Re: fsck memory usage 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: Wed, 30 Jul 2003 19:29:01 -0000 On Wed, 30 Jul 2003, Brooks Davis wrote: > Does anyone have a formula to give fsck memory requirements based on > disk size and newfs arguments. I'm going to be building some large > (3.3TB) file systems and I'd like to figure out if I'm going to need > to go 64-bit to have sufficent address space to fsck them. The mean > filesize will be pretty big so I will be able to set bytes/i-node > fairly high. I needed 700MB of memory in teh fsck process to be able to fsck a 1 TB filesystem. (actually that's what I needed for pass 1.. I ended up splitting it into 2 smaller ones after fsck's first 2 hours only got to pass 2..) > > -- Brooks > > -- > 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 > From owner-freebsd-fs@FreeBSD.ORG Wed Jul 30 12:38:31 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 1312937B401 for ; Wed, 30 Jul 2003 12:38:31 -0700 (PDT) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96DE943F93 for ; Wed, 30 Jul 2003 12:38:30 -0700 (PDT) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([12.233.125.100]) by attbi.com (rwcrmhc12) with ESMTP id <2003073019382501400aoae8e>; Wed, 30 Jul 2003 19:38:25 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id MAA24176; Wed, 30 Jul 2003 12:38:23 -0700 (PDT) Date: Wed, 30 Jul 2003 12:38:21 -0700 (PDT) From: Julian Elischer To: Brooks Davis In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: fs@freebsd.org Subject: Re: fsck memory usage 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: Wed, 30 Jul 2003 19:38:31 -0000 On Wed, 30 Jul 2003, Julian Elischer wrote: > > > On Wed, 30 Jul 2003, Brooks Davis wrote: > > > Does anyone have a formula to give fsck memory requirements based on > > disk size and newfs arguments. I'm going to be building some large > > (3.3TB) file systems and I'd like to figure out if I'm going to need > > to go 64-bit to have sufficent address space to fsck them. The mean > > filesize will be pretty big so I will be able to set bytes/i-node > > fairly high. > > I needed 700MB of memory in teh fsck process to be able to fsck a 1 TB > filesystem. > (actually that's what I needed for pass 1.. I ended up > splitting it into 2 smaller ones after fsck's > first 2 hours only got to pass 2..) > I came to the conclusion that the maximum you could fsck on a 32 bit machine was somewhere around 3TB (maybe a bit less) if you had 4GB of ram in the machine and a 2GB virtual space for the process I think it should be possible to produce a 'streaming' fsck that uses files of orderred metadata (i.e. sorted records) to check much larger filesystems, but you'd need a filesystem set asside specifically to hold the workfiles as they'd be bretty damned big.. Think of the old tape based mechanisms that used tbe done when tapes were bigger than ram.. e.g. merge sorts and similar.. files would be made containing all referenced inode and blocks and directorie entries etc. and then they would eb sorted into approriate orders (possible several) and a 'merge/select' pass woudl be made on them to generate output files containing lists of 'good' and 'bad' references etc. From owner-freebsd-fs@FreeBSD.ORG Thu Jul 31 01:41:19 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 B196937B401 for ; Thu, 31 Jul 2003 01:41:19 -0700 (PDT) Received: from bluejay.mail.pas.earthlink.net (bluejay.mail.pas.earthlink.net [207.217.120.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 209BF43F75 for ; Thu, 31 Jul 2003 01:41:19 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from user-38lc0sl.dialup.mindspring.com ([209.86.3.149] helo=mindspring.com) by bluejay.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 19i8zt-0005Vi-00; Thu, 31 Jul 2003 01:41:18 -0700 Message-ID: <3F28D5F5.2B07551B@mindspring.com> Date: Thu, 31 Jul 2003 01:40:21 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Brooks Davis References: <20030730183307.GA11345@Odin.AC.HMC.Edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a4201be0800d0aafde4977e2a3f783f9f8a2d4e88014a4647c350badd9bab72f9c350badd9bab72f9c cc: fs@freebsd.org Subject: Re: fsck memory usage 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: Thu, 31 Jul 2003 08:41:20 -0000 Brooks Davis wrote: > Does anyone have a formula to give fsck memory requirements based on > disk size and newfs arguments. I'm going to be building some large > (3.3TB) file systems and I'd like to figure out if I'm going to need > to go 64-bit to have sufficent address space to fsck them. The mean > filesize will be pretty big so I will be able to set bytes/i-node > fairly high. The amount of memory really depends on which passes you end up having to run, since it has to "remember" state information. By far, the thing that takes the most time is the cylinder group bitmaps, which it has to assume are dirty, and then correlate all the blocks in every file on the disk vs. the bitmaps to make sure that a particular bit which is set is OK to unset. This is also the pass that takes the most memory, in my own experience, unless you have a single very very large file that lost its directory entry but has a referenced inode, and you're moving it to lost+found. About 6 months ago I suggested a change to the on disk layout and the addition of a soft dependency, so you you could (1) know which CG bitmaps are dirty and (2) put in a concurrency stall point to force CG bitmaps out to disk, once they hit the high water mark. You would still have to pass through the entire directory stucture once in order to clean the CG bitmaps, but with a smaller list of bitmaps, there would be a heck of a lot less memory (and swap) that was consumed in the process. For this to work, you have to have a "dirty CG bitmap list"; my initial feeling was that you could put a magic number in inode 1 (used to hold whiteout information; formerly used to hold the bad block list) and steal a fixed size block from the front of it, and still maintain your whiteouts. In any case, the answer to "how much memory" really depends on (1) how many CG's you have, (2) the size of a single bitmap, (3) the largest file you have on your disk at one time, and (4) the amount of "fill" that your directories have. Basically, any one of these could, if it were "just right", push the number higher than anoy of the other pushes it. So basically it's a "highest tide" function, if you want to calculate how much it's going to take for a given instance, and it's "really, really a lot", if you don't limit the size of a single file on the volume, and you just want to calculate out the max it will take. Any way you look at it, though, the answer will also vary with wersion of fsck (there's been some internal reorganization at various points in the past), so you're not going to be able to make up a number that applies to all BSD's. -- Terry From owner-freebsd-fs@FreeBSD.ORG Thu Jul 31 09:14:23 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 01C9637B401 for ; Thu, 31 Jul 2003 09:14:23 -0700 (PDT) Received: from skyhawk.ecc.engr.uky.edu (skyhawk.ecc.engr.uky.edu [128.163.144.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 661B543F75 for ; Thu, 31 Jul 2003 09:14:22 -0700 (PDT) (envelope-from satish@engr.uky.edu) Received: from satish (helo=localhost) by skyhawk.ecc.engr.uky.edu with local-esmtp (Exim 3.33 #1) id 19iG4J-0007jS-00 for freebsd-fs@freebsd.org; Thu, 31 Jul 2003 12:14:19 -0400 Date: Thu, 31 Jul 2003 12:14:19 -0400 (EDT) From: Satish Vanimisetti X-X-Sender: satish@skyhawk.ecc.engr.uky.edu To: freebsd-fs@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Mounting an EXT2FS CD on FreeBSD-5.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: Thu, 31 Jul 2003 16:14:23 -0000 I am trying to mount a CD burned with an EXT2 filesystem on a PC installed with FreeBSD-5.1 # mount -t ext2fs /dev/acd0 /cdrom ext2fs: /dev/acd0: No such file or directory # ls -l /dev/acd0 crw-r--r-- 1 root operator 117, 0 Jul 31 02:06 /dev/acd0 I get an "incorrect superblock" error message when I try to mount the CD as cd9660. I took that to mean that /dev/acd0 works since the superblock is being read. # mount /dev/acd0 /cdrom mount: /dev/acd0 on /cdrom: incorrect super block The following is the relevant output from dmesg: --- kernel: ata1-master: piomode=12 dmamode=34 udmamode=-1 dmaflag=1 kernel: ata1-master: success setting PIO4 on Intel ICH0 chip kernel: acd0: CD-RW drive at ata1 as master kernel: acd0: read 4134KB/s (34515KB/s) write 689KB/s, 2048KB buffer, PIO4 kernel: acd0: Reads: CD-R, CD-RW, CD-DA stream, packet kernel: acd0: Writes: CD-R, CD-RW, test write kernel: acd0: Audio: play, 255 volume levels kernel: acd0: Mechanism: ejectable tray, unlocked kernel: acd0: Medium: no/blank disc --- I read another message on the list archives where someone was trying to mount an ext2 filesystem off of a USB device. He had something similar going on. Is this a bug, or am I doing something wrong? Thanks, Satish Vanimisetti From owner-freebsd-fs@FreeBSD.ORG Thu Jul 31 10:08:55 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 725E037B405 for ; Thu, 31 Jul 2003 10:08:55 -0700 (PDT) Received: from geekpunk.net (adsl-154-165-182.bna.bellsouth.net [68.154.165.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0996843FBD for ; Thu, 31 Jul 2003 10:08:54 -0700 (PDT) (envelope-from bandix@geekpunk.net) Received: from localhost.my.domain (taran [127.0.0.1]) by geekpunk.net (8.12.8p1/8.12.6) with ESMTP id h6VH8wBX024336; Thu, 31 Jul 2003 12:08:58 -0500 (CDT) (envelope-from bandix@geekpunk.net) Received: (from bandix@localhost) by localhost.my.domain (8.12.8p1/8.12.8/Submit) id h6VH8viG024335; Thu, 31 Jul 2003 12:08:57 -0500 (CDT) Date: Thu, 31 Jul 2003 12:08:56 -0500 From: "Brandon D. Valentine" To: Satish Vanimisetti Message-ID: <20030731170856.GG19233@geekpunk.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i cc: freebsd-fs@freebsd.org Subject: Re: Mounting an EXT2FS CD on FreeBSD-5.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: Thu, 31 Jul 2003 17:08:55 -0000 [ This probably should have been asked on -questions. ] On Thu, Jul 31, 2003 at 12:14:19PM -0400, Satish Vanimisetti wrote: > > I am trying to mount a CD burned with an EXT2 filesystem on > a PC installed with FreeBSD-5.1 > > # mount -t ext2fs /dev/acd0 /cdrom > ext2fs: /dev/acd0: No such file or directory You're trying to mount the cdrom device itself, not a filesystem on the cdrom. You need to mount /dev/acd0c. Brandon D. Valentine -- brandon@dvalentine.com http://www.geekpunk.net Pseudo-Random Googlism: texas is preserved From owner-freebsd-fs@FreeBSD.ORG Thu Jul 31 10:42: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 2EE2D37B401; Thu, 31 Jul 2003 10:42:42 -0700 (PDT) Received: from skyhawk.ecc.engr.uky.edu (skyhawk.ecc.engr.uky.edu [128.163.144.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 92F5943FB1; Thu, 31 Jul 2003 10:42:41 -0700 (PDT) (envelope-from satish@engr.uky.edu) Received: from satish (helo=localhost) by skyhawk.ecc.engr.uky.edu with local-esmtp (Exim 3.33 #1) id 19iHRo-0007r7-00; Thu, 31 Jul 2003 13:42:40 -0400 Date: Thu, 31 Jul 2003 13:42:40 -0400 (EDT) From: Satish Vanimisetti X-X-Sender: satish@skyhawk.ecc.engr.uky.edu To: "Brandon D. Valentine" In-Reply-To: <20030731170856.GG19233@geekpunk.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-fs@freebsd.org cc: freebsd-questions@freebsd.org Subject: Re: Mounting an EXT2FS CD on FreeBSD-5.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: Thu, 31 Jul 2003 17:42:42 -0000 [I'm copying -fs because this was originally posted there. I'm also CC'ing -questions.] # mount -t ext2fs /dev/acd1c /mnt/cdrom ext2fs: /dev/acd1c: No such file or directory The CD was burned (on a linux machine), as follows: 1. dd if=/dev/zero of=/tmp/cdimage bs=1024 count=640k 2. mkfs /tmp/cdimage, mount -t ext2 -o loop /tmp/cdimage /mnt/cdimge 3. rsync --archive /my/data /mnt/cdimage 4. umount /mnt/cdimage 5. cdrecord -data /tmp/cdimage Since I did not create any partitions, would there be an ad0c? Also, the FreeBSD install CD mounts fine with /dev/ad0. Thanks for the quick response, Satish Vanimisetti On Thu, 31 Jul 2003, Brandon D. Valentine wrote: > [ This probably should have been asked on -questions. ] > > On Thu, Jul 31, 2003 at 12:14:19PM -0400, Satish Vanimisetti wrote: > > > > I am trying to mount a CD burned with an EXT2 filesystem on > > a PC installed with FreeBSD-5.1 > > > > # mount -t ext2fs /dev/acd0 /cdrom > > ext2fs: /dev/acd0: No such file or directory > > You're trying to mount the cdrom device itself, not a filesystem on the > cdrom. You need to mount /dev/acd0c. > > Brandon D. Valentine > -- > brandon@dvalentine.com http://www.geekpunk.net > Pseudo-Random Googlism: texas is preserved > From owner-freebsd-fs@FreeBSD.ORG Thu Jul 31 18:28:33 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 40D9737B401 for ; Thu, 31 Jul 2003 18:28:33 -0700 (PDT) Received: from trinity.orb-sistemas.com (int-200-49-210-3.movi.com.ar [200.49.210.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99CA943FBF for ; Thu, 31 Jul 2003 18:28:31 -0700 (PDT) (envelope-from dariogo@orb-sistemas.com) Received: from Darioorb ([192.168.1.139])h711YgqR029383 for ; Thu, 31 Jul 2003 22:34:43 -0300 (ART) Message-ID: <003001c357cc$184202b0$8b01a8c0@Darioorb> From: "Dario Goldfarb" To: Date: Thu, 31 Jul 2003 22:27:38 -0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Mirroring 2 hard disks by soft for high availability 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, 01 Aug 2003 01:28:33 -0000 Hi, Im trying to mirror two disks to accomplish high availability on FreeBSD 4.8-RELEASE. I've configured Vinum with the following configuration : drive d1 device /dev/ad0s1e drive d1 device /dev/ad2s1f volume mirror setupstate plex org concat sd length 32g drive d1 plex org concat sd length 32g drive d2 This is working fine I have a 32 gb partition mounted on /data I think this should be writing the data on both partitions, right ? The problem is that when i take off the secondary disk to ensure that on a disk failing it will keep on working, it dies with a kernel panic after booting (right after the login screen). can anyone tell me what im doing wrong ? Thanks a lot in advance Dario Goldfarb. From owner-freebsd-fs@FreeBSD.ORG Sat Aug 2 18:59:18 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 0532D37B401 for ; Sat, 2 Aug 2003 18:59:18 -0700 (PDT) Received: from filer.fsl.cs.sunysb.edu (filer.fsl.cs.sunysb.edu [130.245.126.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1617C43F75 for ; Sat, 2 Aug 2003 18:59:17 -0700 (PDT) (envelope-from ezk@fsl.cs.sunysb.edu) Received: from agora.fsl.cs.sunysb.edu (IDENT:Wmt6CKvbCKt4vt3oz+9gOn/S3JlE9z09@agora.fsl.cs.sunysb.edu [130.245.126.12])h731wAN8002023; Sat, 2 Aug 2003 21:58:10 -0400 Received: from agora.fsl.cs.sunysb.edu (IDENT:OH1epEjgYKDnWqOFXBZXXtJo4S/YaSpD@localhost.localdomain [127.0.0.1]) h731xAa0028615; Sat, 2 Aug 2003 21:59:10 -0400 Received: (from ezk@localhost) by agora.fsl.cs.sunysb.edu (8.12.8/8.12.8/Submit) id h731x9mt028611; Sat, 2 Aug 2003 21:59:09 -0400 Date: Sat, 2 Aug 2003 21:59:09 -0400 Message-Id: <200308030159.h731x9mt028611@agora.fsl.cs.sunysb.edu> From: Erez Zadok To: fist@cs.columbia.edu X-MailKey: Erez_Zadok cc: linux-fsdevel@vger.kernel.org cc: freebsd-fs@freebsd.org Subject: fistgen-0.0.7 released (stackable file systems) 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: Sun, 03 Aug 2003 01:59:18 -0000 We've released fistgen-0.0.7. This includes new features, lots of bug fixes for stability (esp. to Linux templates), and new FreeBSD 4.x/5.0 ports. Get the new tarball from ftp://ftp.filesystems.org/pub/fist/fistgen-0.0.7.tar.gz Here's the relevant portion of the NEWS file: *** Notes specific to fistgen 0.0.7: Major new features and changes: - FreeBSD-5: A totally new port of stackable templates for FreeBSD 5.0. Verified with base0fs, wrapfs, and cryptfs using a large compile build, fsx, and our own home-brewed tools. - FreeBSD-4.x: rewritten the ports of stackable templates for FreeBSD 4.x. Verified on 4.[5678]. Tested with base0fs, wrapfs, and cryptfs using a large compile build, fsx, and our own home-brewed tools. - Linux-2.4 templates: * stacking on extended attribute methods * MAJOR OVERHAUL AND FIXES of SCA CODE (gzipfs, uuencodefs, copyfs) Minor new features and changes: - Remove duplicate template directories from source tree. Change fistgen so it first looks for an OS-specific template directory and then a more general directory. For example, if uname is "FreeBSD-4.8-RELEASE", then fistgen will search for templates in "templates/FreeBSD-4.8-RELEASE" first. If not found there, it'll search in "templates/FreeBSD-4" next. This way we can have a default template dir for multiple releases, for which the template sources really haven't changed, and we can avoid including duplicate sources in the distribution. - Linux-2.4 templates: minor changes to support Linux on IA-64 Bug fixes: - cryptfs: validate file name length in cryptfs (in case it's mounted on an existing, unencrypted set of files - fistgen: * turn off maintainer-mode in configure * support old and newer flex-2.5.31 * ensure fistgen compiles with latest gcc (multi-line strings etc.) - Linux-2.2 templates: * symbol conflict cleanup * ioctls correctly return error codes * stat(2) reports correct no. of disk blocks * update atime/mtime properly * check return value from kmalloc - Linux-2.4 templates: * check if file's private data is NULL before deref'ing it * validate file name length returned by {en,de}code_filename * attach-mode locking bugs fixed * hidden inode reference count leaks fixed * truncate down/up now purging truncated pages * and more Happy Stacking, Erez and the fistgen team (Charles, Hari, Ion, Kiran, and Puja)