From owner-freebsd-fs@FreeBSD.ORG Sun May 6 09:05:39 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0745416A403; Sun, 6 May 2007 09:05:39 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.freebsd.org (Postfix) with ESMTP id ADB1713C483; Sun, 6 May 2007 09:05:38 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by cs1.cs.huji.ac.il with esmtp id 1HkcCT-0004uW-76; Sun, 06 May 2007 11:34:37 +0300 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: Daichi GOTO Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 06 May 2007 11:34:35 +0300 From: Danny Braniss Message-ID: Cc: Stanislav Sedov , FreeBSD Hackers , Ed Schouten , freebsd-fs@freebsd.org, FreeBSD Current , Kris Kennaway Subject: Re: [ANN] unionfs patchset-19-20070504 release, it is now MPSAFE and transparent mode as default 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: Sun, 06 May 2007 09:05:39 -0000 > Hi Guys > > It is my pleasure and honor to announce the availability of > the unionfs patchset-19-20070504. p19 is second patchset after > its merged of FreeBSD. Our improvements works of unionfs are > going step by step. p19 is milestone release. > > Patchset-19-20070504: > For 7-current > http://people.freebsd.org/~daichi/unionfs/unionfs-p19-20070504.diff > > For 6-stable > http://people.freebsd.org/~daichi/unionfs/unionfs6-p19-20070504.diff > > Changes in unionfs-p19-20070504.diff > - It has been became MPSAFE. > - Default copy mode has been changed from traditional-mode to > transparent-mode. Some folks who have reported some issues > have solved with transparent mode. We guess it is time to > change the default copy mode. The transparent-mode is the > best in most situations. > - Fixed kern/111262 issue. > - Added support of vfs_cache on unionfs. As a result, you > can use applications that use procfs on unionfs. > - Removed unionfs internal cache mechanism because it has > vfs_cache support instead. As a result, it just simplified > code of unionfs. > - Added whiteout behavior option. ``-o whiteout=always'' is > default mode(it is established practice) and > ``-o whiteout=whenneeded'' is less disk-space using mode > especially for resource restricted environments like embedded > environments. (Contributed by Ed Schouten. Thanks) > - Fixed a mtx lock issue happened with nullfs. > - Fixed lock issues around unionfs. > - Added NULL check code pointed out by Coverity. (Pointed out > by Stanislav Sedov. Thanks) > > The documents of those unionfs patches: > > http://people.freebsd.org/~daichi/unionfs/ (English) > http://people.freebsd.org/~daichi/unionfs/index-ja.html (Japanese) > > Request for Test: > > Unionfs lovers including FreeSBIE developers, ports cluster managers, > heavy memory-fs users and folks use unionfs, could you try p19 please? > > Merge plan: > > I have plan to commit unionfs-p19-20070504.diff to -current after > received unionfs users responses. > > Thanks > > P.S. > > I am going to join BSDCan 2007. Lets meet at Ottawa, Canada :) > > -- > Daichi GOTO, http://people.freebsd.org/~daichi Hi, So far I've tested it under -current, in my diskless env. where /etc & /compat/linux are unionfs'ed with a mfs, and so all seems OK. thanks, danny From owner-freebsd-fs@FreeBSD.ORG Sun May 6 09:48:19 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5BD3516A403; Sun, 6 May 2007 09:48:19 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id 126AB13C489; Sun, 6 May 2007 09:48:19 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 6C16F8BD3D9; Sun, 6 May 2007 11:30:39 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kRzYUAzVx3NI; Sun, 6 May 2007 11:30:37 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id BB2408BD3AD; Sun, 6 May 2007 11:30:37 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id l469UYbV043005; Sun, 6 May 2007 11:30:34 +0200 (CEST) (envelope-from rdivacky) Date: Sun, 6 May 2007 11:30:34 +0200 From: Roman Divacky To: Danny Braniss Message-ID: <20070506093034.GA42976@freebsd.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i X-Mailman-Approved-At: Sun, 06 May 2007 11:27:26 +0000 Cc: FreeBSD Hackers , Daichi GOTO , Ed Schouten , FreeBSD Current , freebsd-fs@freebsd.org, Kris Kennaway Subject: Re: [ANN] unionfs patchset-19-20070504 release, it is now MPSAFE and transparent mode as default 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: Sun, 06 May 2007 09:48:19 -0000 > Hi, > So far I've tested it under -current, in my diskless env. where > /etc & /compat/linux are unionfs'ed with a mfs, and so all seems OK. there's an XXX in the linuxulator code saying: XXX Untested vs. mount -o union; probably does the wrong thing. can you confirm that it works ok with unionfs from daichi? thnx roman From owner-freebsd-fs@FreeBSD.ORG Sun May 6 09:48:25 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D819716A403; Sun, 6 May 2007 09:48:25 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.freebsd.org (Postfix) with ESMTP id 872FE13C487; Sun, 6 May 2007 09:48:25 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by cs1.cs.huji.ac.il with esmtp id 1HkdLr-000C5C-Aq; Sun, 06 May 2007 12:48:23 +0300 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: Roman Divacky In-reply-to: <20070506093034.GA42976@freebsd.org> References: <20070506093034.GA42976@freebsd.org> Comments: In-reply-to Roman Divacky message dated "Sun, 06 May 2007 11:30:34 +0200." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 06 May 2007 12:48:21 +0300 From: Danny Braniss Message-ID: X-Mailman-Approved-At: Sun, 06 May 2007 11:27:32 +0000 Cc: FreeBSD Hackers , Daichi GOTO , Ed Schouten , FreeBSD Current , freebsd-fs@freebsd.org, Kris Kennaway Subject: Re: [ANN] unionfs patchset-19-20070504 release, it is now MPSAFE and transparent mode as default 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: Sun, 06 May 2007 09:48:26 -0000 > > Hi, > > So far I've tested it under -current, in my diskless env. where > > /etc & /compat/linux are unionfs'ed with a mfs, and so all seems OK. > > there's an XXX in the linuxulator code saying: > > XXX Untested vs. mount -o union; probably does the wrong thing. > > can you confirm that it works ok with unionfs from daichi? > sure, but what/how do you want me to test? danny From owner-freebsd-fs@FreeBSD.ORG Tue May 8 11:11:55 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 771AC16A401 for ; Tue, 8 May 2007 11:11:55 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [82.208.36.70]) by mx1.freebsd.org (Postfix) with ESMTP id 38F5B13C43E for ; Tue, 8 May 2007 11:11:55 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id AD91E19E02A for ; Tue, 8 May 2007 12:54:10 +0200 (CEST) Received: from [192.168.1.2] (grimm.quip.cz [213.220.192.218]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTP id C692F19E027 for ; Tue, 8 May 2007 12:54:05 +0200 (CEST) Message-ID: <464056D0.2090003@quip.cz> Date: Tue, 08 May 2007 12:54:08 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: dump doesn't work on mdconfig mounts 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: Tue, 08 May 2007 11:11:55 -0000 Hi, when dump is used on an mdconfig mount it doesn't work: # dump -0aLf - /vol0/jail/alpha | ( cd /vol0/jail/beta ; restore -ruf - ) DUMP: WARNING: Cannot use -L on an unmounted filesystem. dump: /vol0/jail/alpha: unknown file system Tape is not a dump tape # mount | grep alpha /dev/md0c on /vol0/jail/alpha (ufs, local, soft-updates) devfs on /vol0/jail/alpha/dev (devfs, local) # df -h | grep alpha /dev/md0c 9.7G 381M 8.5G 4% /vol0/jail/alpha devfs 1.0K 1.0K 0B 100% /vol0/jail/alpha/dev If I test it with /dev/md0c instead of /vol0/jail/alpha, it works fine. # dump -0aLf - /dev/md0c | ( cd /vol0/jail/beta; restore -ruf - ) DUMP: Date of this level 0 dump: Tue May 8 11:13:13 2007 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping snapshot of /dev/md0c to standard output DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 445288 tape blocks. DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] expected next file 47281, got 7 DUMP: 34.19% done, finished in 0:09 at Tue May 8 11:27:54 2007 DUMP: DUMP: 468312 tape blocks DUMP: finished in 410 seconds, throughput 1142 KBytes/sec DUMP: DUMP IS DONE (very slow but it works) Is it expected, that dump says "unknown file system" or is it a bug? Is there any PR for it? FreeBSD 6.2-RELEASE-p4 Miroslav Lachman From owner-freebsd-fs@FreeBSD.ORG Tue May 8 11:14:52 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EFF6916A401 for ; Tue, 8 May 2007 11:14:52 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from mh1.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.freebsd.org (Postfix) with ESMTP id C4CB413C46A for ; Tue, 8 May 2007 11:14:52 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from neutrino.centtech.com (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.8/8.13.8) with ESMTP id l48BEp1w057500; Tue, 8 May 2007 06:14:51 -0500 (CDT) (envelope-from anderson@freebsd.org) Message-ID: <46405BAB.5020106@freebsd.org> Date: Tue, 08 May 2007 06:14:51 -0500 From: Eric Anderson User-Agent: Thunderbird 2.0.0.0 (X11/20070420) MIME-Version: 1.0 To: Miroslav Lachman <000.fbsd@quip.cz> References: <464056D0.2090003@quip.cz> In-Reply-To: <464056D0.2090003@quip.cz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/3219/Tue May 8 01:50:16 2007 on mh1.centtech.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=8.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.6 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on mh1.centtech.com Cc: freebsd-fs@freebsd.org Subject: Re: dump doesn't work on mdconfig mounts 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: Tue, 08 May 2007 11:14:53 -0000 On 05/08/07 05:54, Miroslav Lachman wrote: > Hi, > > when dump is used on an mdconfig mount it doesn't work: > > # dump -0aLf - /vol0/jail/alpha | ( cd /vol0/jail/beta ; restore -ruf - ) > DUMP: WARNING: Cannot use -L on an unmounted filesystem. > dump: /vol0/jail/alpha: unknown file system > Tape is not a dump tape Is /vol0/jail/alpha in your /etc/fstab? > # mount | grep alpha > /dev/md0c on /vol0/jail/alpha (ufs, local, soft-updates) > devfs on /vol0/jail/alpha/dev (devfs, local) > > # df -h | grep alpha > /dev/md0c 9.7G 381M 8.5G 4% /vol0/jail/alpha > devfs 1.0K 1.0K 0B 100% /vol0/jail/alpha/dev > > > If I test it with /dev/md0c instead of /vol0/jail/alpha, it works fine. > > > # dump -0aLf - /dev/md0c | ( cd /vol0/jail/beta; restore -ruf - ) > DUMP: Date of this level 0 dump: Tue May 8 11:13:13 2007 > DUMP: Date of last level 0 dump: the epoch > DUMP: Dumping snapshot of /dev/md0c to standard output > DUMP: mapping (Pass I) [regular files] > DUMP: mapping (Pass II) [directories] > DUMP: estimated 445288 tape blocks. > DUMP: dumping (Pass III) [directories] > DUMP: dumping (Pass IV) [regular files] > expected next file 47281, got 7 > DUMP: 34.19% done, finished in 0:09 at Tue May 8 11:27:54 2007 > DUMP: DUMP: 468312 tape blocks > DUMP: finished in 410 seconds, throughput 1142 KBytes/sec > DUMP: DUMP IS DONE > > (very slow but it works) > > Is it expected, that dump says "unknown file system" or is it a bug? Is > there any PR for it? > > FreeBSD 6.2-RELEASE-p4 > > Miroslav Lachman > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" From owner-freebsd-fs@FreeBSD.ORG Tue May 8 11:34:55 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 62A2516A401 for ; Tue, 8 May 2007 11:34:55 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [82.208.36.70]) by mx1.freebsd.org (Postfix) with ESMTP id 2435513C45A for ; Tue, 8 May 2007 11:34:55 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 6720619E02A for ; Tue, 8 May 2007 13:34:54 +0200 (CEST) Received: from [192.168.1.2] (grimm.quip.cz [213.220.192.218]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTP id 9CF7419E027 for ; Tue, 8 May 2007 13:34:49 +0200 (CEST) Message-ID: <4640605C.6060004@quip.cz> Date: Tue, 08 May 2007 13:34:52 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: freebsd-fs@freebsd.org References: <5143.1178622825@critter.freebsd.dk> In-Reply-To: <5143.1178622825@critter.freebsd.dk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: dump doesn't work on mdconfig mounts 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: Tue, 08 May 2007 11:34:55 -0000 Poul-Henning Kamp wrote: > In message <464056D0.2090003@quip.cz>, Miroslav Lachman writes: >>when dump is used on an mdconfig mount it doesn't work: >> >># dump -0aLf - /vol0/jail/alpha | ( cd /vol0/jail/beta ; restore -ruf - ) >> DUMP: WARNING: Cannot use -L on an unmounted filesystem. >>dump: /vol0/jail/alpha: unknown file system > > > That's because /vol0/jail/alpha isn't in your /etc/fstab. Yes, that's it. I'll read manual better next time :) Thanks. Miroslav Lachman From owner-freebsd-fs@FreeBSD.ORG Tue May 8 11:40:18 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 470BB16A403 for ; Tue, 8 May 2007 11:40:18 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 0713413C458 for ; Tue, 8 May 2007 11:40:15 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 9F5DE17382; Tue, 8 May 2007 11:13:45 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.1/8.14.1) with ESMTP id l48BDjkH005144; Tue, 8 May 2007 11:13:45 GMT (envelope-from phk@critter.freebsd.dk) To: Miroslav Lachman <000.fbsd@quip.cz> From: "Poul-Henning Kamp" In-Reply-To: Your message of "Tue, 08 May 2007 12:54:08 +0200." <464056D0.2090003@quip.cz> Date: Tue, 08 May 2007 11:13:45 +0000 Message-ID: <5143.1178622825@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: freebsd-fs@freebsd.org Subject: Re: dump doesn't work on mdconfig mounts 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: Tue, 08 May 2007 11:40:18 -0000 In message <464056D0.2090003@quip.cz>, Miroslav Lachman writes: >Hi, > >when dump is used on an mdconfig mount it doesn't work: > ># dump -0aLf - /vol0/jail/alpha | ( cd /vol0/jail/beta ; restore -ruf - ) > DUMP: WARNING: Cannot use -L on an unmounted filesystem. >dump: /vol0/jail/alpha: unknown file system That's because /vol0/jail/alpha isn't in your /etc/fstab. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-fs@FreeBSD.ORG Wed May 9 18:54:25 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5A44916A405 for ; Wed, 9 May 2007 18:54:25 +0000 (UTC) (envelope-from freebsd-fs@lists.goldenpath.org) Received: from hapkido.dreamhost.com (hapkido.dreamhost.com [66.33.216.122]) by mx1.freebsd.org (Postfix) with ESMTP id 4695513C45B for ; Wed, 9 May 2007 18:54:25 +0000 (UTC) (envelope-from freebsd-fs@lists.goldenpath.org) Received: from randymail-a10.g.dreamhost.com (mailbigip.dreamhost.com [208.97.132.5]) by hapkido.dreamhost.com (Postfix) with ESMTP id 11BCA1950B1 for ; Wed, 9 May 2007 11:23:22 -0700 (PDT) Received: from [127.0.0.1] (shekel.dreamhost.com [205.196.218.13]) by randymail-a10.g.dreamhost.com (Postfix) with ESMTP id 2B3E110F9DA for ; Wed, 9 May 2007 11:23:21 -0700 (PDT) Message-ID: <46421190.6040801@lists.goldenpath.org> Date: Wed, 09 May 2007 14:23:12 -0400 From: "Tim A." User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: HTFS ? 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: Wed, 09 May 2007 18:54:25 -0000 People must have had to deal with this before. Why can't I find any tools for (at least reading) HTFS? From owner-freebsd-fs@FreeBSD.ORG Thu May 10 03:52:58 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 10B0F16A402 for ; Thu, 10 May 2007 03:52:58 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from relay02.kiev.sovam.com (relay02.kiev.sovam.com [62.64.120.197]) by mx1.freebsd.org (Postfix) with ESMTP id 9850213C448 for ; Thu, 10 May 2007 03:52:57 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from [212.82.216.227] (helo=fw.zoral.com.ua) by relay02.kiev.sovam.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.60) (envelope-from ) id 1Hlzi3-0001AK-AE for freebsd-fs@freebsd.org; Thu, 10 May 2007 06:52:56 +0300 Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by fw.zoral.com.ua (8.13.4/8.13.4) with ESMTP id l4A3qmmW001692 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 10 May 2007 06:52:48 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.1/8.14.1) with ESMTP id l4A3qm5j098783; Thu, 10 May 2007 06:52:48 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.1/8.14.1/Submit) id l4A3qlmo098782; Thu, 10 May 2007 06:52:47 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Thu, 10 May 2007 06:52:47 +0300 From: Kostik Belousov To: Cristian KLEIN Message-ID: <20070510035247.GR83173@deviant.kiev.zoral.com.ua> References: <59558.86.125.188.48.1177802342.squirrel@intranet.utcluj.ro> <4637A640.6050700@freebsd.org> <46390F78.5080206@net.utcluj.ro> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xSu31lw3TgkWXnjh" Content-Disposition: inline In-Reply-To: <46390F78.5080206@net.utcluj.ro> User-Agent: Mutt/1.4.2.2i X-Virus-Scanned: ClamAV version 0.88.7, clamav-milter version 0.88.7 on fw.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-0.1 required=5.0 tests=ALL_TRUSTED,SPF_NEUTRAL autolearn=failed version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on fw.zoral.com.ua X-Scanner-Signature: 84ad75c442e4d00ba4f39fd4f5f00a84 X-DrWeb-checked: yes X-SpamTest-Envelope-From: kostikbel@gmail.com X-SpamTest-Group-ID: 00000000 X-SpamTest-Info: Profiles 1031 [May 09 2007] X-SpamTest-Info: helo_type=3 X-SpamTest-Info: {received from trusted relay: not dialup} X-SpamTest-Method: none X-SpamTest-Method: Local Lists X-SpamTest-Rate: 0 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0255], KAS30/Release Cc: freebsd-fs@freebsd.org Subject: Re: panic: softdep_setup_inomapdep: found inode already exists in 6.2 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, 10 May 2007 03:52:58 -0000 --xSu31lw3TgkWXnjh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 03, 2007 at 01:23:52AM +0300, Cristian KLEIN wrote: > On Mar, Mai 1, 2007 11:42 pm, Eric Anderson wrote: > > On 04/28/07 18:19, Cristian KLEIN wrote: > > > >> Hi everybody, > >> > >> > >> I am running a FreeBSD 6.2-p3, on which I am experiencing exactly the > >> same simtoms as one item of the TODO list of 6.0: > >> http://www.freebsd.org/releases/6.0R/todo.html > >> > >> > >> panic: softdep_setup_inomapdep: found inode Needs testing Tor Egge > >> Found by stress tests at > >> http://www.holm.cc/stress/log/cons138.html > >> > >> > >> Does anybody know whether this bug should have been solved in 6.2? > >> Should > >> I file a PR? > >> > > > > > > Sorry if I missed it, but were you able to provide a backtrace? If you > > can, you should compile your kernel with debugging, so at least you cou= ld > > make a little more out of the crash. See the handbook if you need help= on > > that. >=20 > Hi, >=20 > I haven't mentioned any technical details yet, as I wasn't sure whether > this issue is known or not. >=20 > First, let me tell you what I did. I wanted to better protect data on > /jail/mail/home by doing daily snapshots, saved like > /jail/mail/home/.snap/2007-04-03-03-22-02. I mounted one of these > snapshots (not the latest) in /mnt/home and rsync'd it to a server. I > might have rsync'd while taking a new snapshot. >=20 > Server started crashing randomly, either while rsync-ing, or in the > morning, during heavy load. Now I removed the snapshots and the system is > stable. >=20 > Other random information that might be useful: I am using gmirror and > jail. Disabling SMP has not effect, WITNESS didn't say anything. The > filesystem has userquotas. The filesystem stores maildir and has about > 1.6Minodes. >=20 > Config is GENERIC + SMP + QUOTA - unused hardware devices. >=20 > root# uname -a > FreeBSD bavaria.xxxxxx 6.2-RELEASE-p3 FreeBSD 6.2-RELEASE-p3 #5: Fri Apr > 27 20:01:20 EEST 2007 > cristi@bavaria.xxxxxx:/usr/obj/usr/src/sys/BAVARIA-SMP i386 >=20 > root# kgdb kernel.debug /var/crash/vmcore.3 > [GDB will not be able to debug user-mode threads: > /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] > GNU gdb 6.1.1 [FreeBSD] > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you = are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for detail= s. > This GDB was configured as "i386-marcel-freebsd". >=20 > Unread portion of the kernel message buffer: > panic: softdep_setup_inomapdep: found inode already exists > cpuid =3D 0 > KDB: enter: panic > Uptime: 5h42m12s > Dumping 1023 MB (2 chunks) > chunk 0: 1MB (159 pages) ... ok > chunk 1: 1023MB (261837 pages) 1007 991 975 959 943 927 911 895 879 863 > 847 831 815 799 783 767 751 735 719 703 687 671 655 639 623 607 591 575 > 559 543 527 511 495 479 463 447 431 415 399 383 367 351 335 319 303 287 > 271 255 239 223 207 191 175 159 143 127 111 95 79 63 47 31 15 >=20 > #0 doadump () at pcpu.h:165 > 165 __asm __volatile("movl %%fs:0,%0" : "=3Dr" (td)); > (kgdb) bt > #0 doadump () at pcpu.h:165 > #1 0xc0545e18 in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c= :409 > #2 0xc0546149 in panic (fmt=3D0xc075660c "softdep_setup_inomapdep: found > inode already exists") > at /usr/src/sys/kern/kern_shutdown.c:565 > #3 0xc068c64a in softdep_setup_inomapdep (bp=3D0xd8c2ba68, ip=3D0x0, new= inum=3D0) > at /usr/src/sys/ufs/ffs/ffs_softdep.c:1527 > #4 0xc067d4dd in ffs_nodealloccg (ip=3D0xc68e818c, cg=3D0, ipref=3DUnhan= dled > dwarf expression opcode 0x93 > ) at /usr/src/sys/ufs/ffs/ffs_alloc.c:1762 > #5 0xc067bb83 in ffs_hashalloc (ip=3D0xc68e818c, cg=3D0, pref=3DUnhandle= d dwarf > expression opcode 0x93 > ) at /usr/src/sys/ufs/ffs/ffs_alloc.c:1248 > #6 0xc067b232 in ffs_valloc (pvp=3D0xc6883440, mode=3D33024, cred=3D0xc5= 0d3a80, > vpp=3D0xe733d4e8) > at /usr/src/sys/ufs/ffs/ffs_alloc.c:932 > #7 0xc06a6bd7 in ufs_makeinode (mode=3D33024, dvp=3D0xc6883440, > vpp=3D0xe733d8f0, cnp=3D0xe733d904) > at /usr/src/sys/ufs/ufs/ufs_vnops.c:2220 > #8 0xc06a348f in ufs_create (ap=3D0x0) at > /usr/src/sys/ufs/ufs/ufs_vnops.c:189 > #9 0xc071e879 in VOP_CREATE_APV (vop=3D0x0, a=3D0xe733d7fc) at vnode_if.= c:204 > #10 0xc0684018 in ffs_snapshot (mp=3D0xc4e28000, > snapfile=3D0xc699c200 "/jail/mail/home/.snap/2007-04-28-03-34-31") at > vnode_if.h:111 > #11 0xc06964d7 in ffs_mount (mp=3D0xc4e28000, td=3D0xc50e1300) at > /usr/src/sys/ufs/ffs/ffs_vfsops.c:312 > #12 0xc059eb6e in vfs_domount (td=3D0xc50e1300, fstype=3D0xc4efac90 "ufs", > fspath=3D0xc4efa670 "/jail/mail/home", > fsflags=3D16842752, fsdata=3D0xc4efaca0) at > /usr/src/sys/kern/vfs_mount.c:928 > #13 0xc059e1da in vfs_donmount (td=3D0x0, fsflags=3D16842752, fsoptions= =3D0x0) > at /usr/src/sys/kern/vfs_mount.c:676 > #14 0xc05a0f84 in kernel_mount (ma=3D0xc4efac50, flags=3D0) at pcpu.h:162 > #15 0xc06966fb in ffs_cmount (ma=3D0xc4efac50, data=3D0x0, flags=3D0, > td=3D0xc50e1300) > at /usr/src/sys/ufs/ffs/ffs_vfsops.c:392 > #16 0xc059e3f0 in mount (td=3D0xc50e1300, uap=3D0xe733dd04) at > /usr/src/sys/kern/vfs_mount.c:742 > #17 0xc070b5bb in syscall (frame=3D > {tf_fs =3D 59, tf_es =3D 59, tf_ds =3D 59, tf_edi =3D -1077944004, = tf_esi =3D > -1077941276, tf_ebp =3D -1077943864, tf_isp =3D -416031388, tf_ebx =3D > -1077943824, tf_edx =3D -1, tf_ecx =3D -1077940507, tf_eax =3D 21, > tf_trapno =3D 12, tf_err =3D 2, tf_eip =3D 671885143, tf_cs =3D 51, > tf_eflags =3D 582, tf_esp =3D -1077944036, tf_ss =3D 59}) > at /usr/src/sys/i386/i386/trap.c:983 > #18 0xc06f60df in Xint0x80_syscall () at > /usr/src/sys/i386/i386/exception.s:200 > #19 0x00000033 in ?? () > Previous frame inner to this frame (corrupt stack?) >=20 > Now that I have KDB on serial console I might be able to crash (or even > better, test patches) at night on that system. >=20 > Please don't hesitate to request further information. I will try to > elaborate a recipe for crashing the system. Do you have ddb backtrace for this instance of panic ? Or, for any other such panic, please, show both ddb backtrace and kgdb output of "bt full". --xSu31lw3TgkWXnjh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGQpcPC3+MBN1Mb4gRAsp4AKCGkq3gdHLpfknTFcZ8YRBsNe79JgCgnREm qNjtwJvxADqpCTGF/5emHNE= =gWzN -----END PGP SIGNATURE----- --xSu31lw3TgkWXnjh-- From owner-freebsd-fs@FreeBSD.ORG Thu May 10 10:14:31 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A71CC16A400 for ; Thu, 10 May 2007 10:14:31 +0000 (UTC) (envelope-from jhs@tower.berklix.net) Received: from thin.berklix.org (thin.berklix.org [194.246.123.68]) by mx1.freebsd.org (Postfix) with ESMTP id 3729913C45D for ; Thu, 10 May 2007 10:14:30 +0000 (UTC) (envelope-from jhs@tower.berklix.net) Received: from js.berklix.net (p549A66E3.dip.t-dialin.net [84.154.102.227]) (authenticated bits=128) by thin.berklix.org (8.12.11/8.12.11) with ESMTP id l4A9oRLx000412; Thu, 10 May 2007 11:50:28 +0200 (CEST) (envelope-from jhs@tower.berklix.net) Received: from fire.jhs.private (fire.jhs.private [192.168.91.41]) by js.berklix.net (8.13.6/8.13.6) with ESMTP id l4A9oJKR008261; Thu, 10 May 2007 11:50:21 +0200 (CEST) (envelope-from jhs@tower.berklix.net) Received: from fire.jhs.private (localhost.jhs.private [127.0.0.1]) by fire.jhs.private (8.13.6/8.13.6) with ESMTP id l4A9oLL2009440; Thu, 10 May 2007 11:50:21 +0200 (CEST) (envelope-from jhs@fire.jhs.private) Message-Id: <200705100950.l4A9oLL2009440@fire.jhs.private> To: "Tim A." In-reply-to: <46421190.6040801@lists.goldenpath.org> References: <46421190.6040801@lists.goldenpath.org> Comments: In-reply-to "Tim A." message dated "Wed, 09 May 2007 14:23:12 -0400." Date: Thu, 10 May 2007 11:50:21 +0200 From: "Julian H. Stacey" Cc: freebsd-fs@freebsd.org Subject: Re: HTFS ? 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, 10 May 2007 10:14:31 -0000 "Tim A." wrote: > People must have had to deal with this before. > Why can't I find any tools for (at least reading) HTFS? Mac FS ? I believe there's been support in ports/ for a decade. Never used it myself. -- Julian Stacey. Munich Computer Consultant, BSD Unix C Linux. http://berklix.com Ihr Rauch = mein allergischer Kopfschmerz. Dump cigs: Try snuff. From owner-freebsd-fs@FreeBSD.ORG Thu May 10 12:57:43 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8C0CA16A400 for ; Thu, 10 May 2007 12:57:43 +0000 (UTC) (envelope-from albinootje@gmail.com) Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.178]) by mx1.freebsd.org (Postfix) with ESMTP id 25C7413C46C for ; Thu, 10 May 2007 12:57:42 +0000 (UTC) (envelope-from albinootje@gmail.com) Received: by ik-out-1112.google.com with SMTP id c29so344501ika for ; Thu, 10 May 2007 05:57:41 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=usvcMwzDPpzLtq12jyb43NjYhn3ysk6smbov533rRWcBJjFGfWkpqU4Ifvtzf/ee6/HkOaa47+e56JwclBOeZPCOJbd82juoUFll0NP3jNJ3SB9e0g7dt09eTGsKDtnpnEg0hJ8LD5ETxqu5+ZM6yRj7FpE+QPmkQwHY4ljoYCI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=H64epdy1IjZnJNzcUTHsit50rVCqFfQPz8UJ1G5ywVJ6G/agklZcYzgOtrDtoqJNetLhFbxNDW61IXRTDOIkg0U63jt0nH7ViDGMN2MR1UK7PpBO4TSVseD4vdQU6QhHkJemnHySNCfkATxPI1Ks884cEi0XyclgRpzdy7+1EvM= Received: by 10.78.201.15 with SMTP id y15mr359333huf.1178800378351; Thu, 10 May 2007 05:32:58 -0700 (PDT) Received: from amandla2.amsterdam-wireless.nl ( [217.19.30.147]) by mx.google.com with ESMTP id e23sm5187604ugd.2007.05.10.05.32.56; Thu, 10 May 2007 05:32:57 -0700 (PDT) Message-ID: <464310F1.90603@gmail.com> Date: Thu, 10 May 2007 14:32:49 +0200 From: albinootje User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: "Julian H. Stacey" References: <46421190.6040801@lists.goldenpath.org> <200705100950.l4A9oLL2009440@fire.jhs.private> In-Reply-To: <200705100950.l4A9oLL2009440@fire.jhs.private> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org Subject: Re: HTFS ? 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, 10 May 2007 12:57:43 -0000 Julian H. Stacey wrote: > "Tim A." wrote: >> People must have had to deal with this before. >> Why can't I find any tools for (at least reading) HTFS? > > Mac FS ? > I believe there's been support in ports/ for a decade. Never used it myself. i thought that apple uses/used HFS and HFS+ looking at this page : http://osr600doc.sco.com/en/OSR_FEATS/feats600.featsFS.html#feats600.featsFS.htfs and this page : http://lists.freebsd.org/pipermail/freebsd-hackers/2004-October/008797.html i assume the original poster talks about HTFS for SCO Unix From owner-freebsd-fs@FreeBSD.ORG Thu May 10 14:18:48 2007 Return-Path: X-Original-To: freebsd-fs@FreeBSD.org Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D6B8516A407 for ; Thu, 10 May 2007 14:18:48 +0000 (UTC) (envelope-from db@nipsi.de) Received: from mx.meta-spinner.de (mx.meta-spinner.de [213.39.242.178]) by mx1.freebsd.org (Postfix) with ESMTP id 6233D13C487 for ; Thu, 10 May 2007 14:18:48 +0000 (UTC) (envelope-from db@nipsi.de) Received: from mx.meta-spinner.de (localhost [127.0.0.1]) by mx.meta-spinner.de (Postfix) with ESMTP id DD46A7F758 for ; Thu, 10 May 2007 15:51:04 +0200 (CEST) Received: from [192.168.1.101] (unknown [192.168.1.101]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx.meta-spinner.de (Postfix) with ESMTP id 9C9497F084 for ; Thu, 10 May 2007 15:51:04 +0200 (CEST) Message-ID: <46432346.1060202@nipsi.de> Date: Thu, 10 May 2007 15:51:02 +0200 From: Dennis Berger User-Agent: Thunderbird 1.5.0.10 (X11/20070403) MIME-Version: 1.0 To: freebsd-fs@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: Subject: encrypt ZFS with geli 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, 10 May 2007 14:18:48 -0000 Hi, I would like to know whats the best way to encrypt zfs filesystem. Currently I created a zfs volume with zfs create -V4g data/test. Encrypt it with geli init /dev/zvol/data/test. And create a new zpool with zpool create encrypted /dev/zvol/data/test.eli. What do you suggest to do? Regards, -Dennis From owner-freebsd-fs@FreeBSD.ORG Thu May 10 15:01:57 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ED5BB16A400 for ; Thu, 10 May 2007 15:01:57 +0000 (UTC) (envelope-from jhs@tower.berklix.net) Received: from thin.berklix.org (thin.berklix.org [194.246.123.68]) by mx1.freebsd.org (Postfix) with ESMTP id 7D40913C459 for ; Thu, 10 May 2007 15:01:55 +0000 (UTC) (envelope-from jhs@tower.berklix.net) Received: from js.berklix.net (p549A7F52.dip.t-dialin.net [84.154.127.82]) (authenticated bits=128) by thin.berklix.org (8.12.11/8.12.11) with ESMTP id l4AF1ZZV001894; Thu, 10 May 2007 17:01:35 +0200 (CEST) (envelope-from jhs@tower.berklix.net) Received: from fire.jhs.private (fire.jhs.private [192.168.91.41]) by js.berklix.net (8.13.6/8.13.6) with ESMTP id l4AF1TEr009311; Thu, 10 May 2007 17:01:29 +0200 (CEST) (envelope-from jhs@tower.berklix.net) Received: from fire.jhs.private (localhost.jhs.private [127.0.0.1]) by fire.jhs.private (8.13.6/8.13.6) with ESMTP id l4AF1VTa012893; Thu, 10 May 2007 17:01:31 +0200 (CEST) (envelope-from jhs@fire.jhs.private) Message-Id: <200705101501.l4AF1VTa012893@fire.jhs.private> To: albinootje In-reply-to: <464310F1.90603@gmail.com> References: <46421190.6040801@lists.goldenpath.org> <200705100950.l4A9oLL2009440@fire.jhs.private> <464310F1.90603@gmail.com> Comments: In-reply-to albinootje message dated "Thu, 10 May 2007 14:32:49 +0200." Date: Thu, 10 May 2007 17:01:31 +0200 From: "Julian H. Stacey" Cc: freebsd-fs@freebsd.org Subject: Re: HTFS ? 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, 10 May 2007 15:01:58 -0000 albinootje wrote: > Julian H. Stacey wrote: > > > "Tim A." wrote: > >> People must have had to deal with this before. > >> Why can't I find any tools for (at least reading) HTFS? > > > > Mac FS ? > > I believe there's been support in ports/ for a decade. Never used it myself. > > i thought that apple uses/used HFS and HFS+ Ah, OK like http://osr600doc.sco.com/en/FS_admin/fsD.htfsopt.html > looking at this page : > http://osr600doc.sco.com/en/OSR_FEATS/feats600.featsFS.html#feats600.featsFS.htfs > and this page : > http://lists.freebsd.org/pipermail/freebsd-hackers/2004-October/008797.html > > i assume the original poster talks about HTFS for SCO Unix Nothing with all of: pib grep -i htfs /usr/ports/INDEX psearch -f /pri/FreeBSD/branches/-current/ports/INDEX HTFS google: Commercial service here http://www.recoverdatatools.com/blog/htfs-data-recovery.html SCO were giving away their OS once, cant recall if that included source. Maybe their skunkware cdrom might have sources or lead to them. -- Julian Stacey. Munich Computer Consultant, BSD Unix C Linux. http://berklix.com Ihr Rauch = mein allergischer Kopfschmerz. Dump cigs: Try snuff. From owner-freebsd-fs@FreeBSD.ORG Thu May 10 16:03:41 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 58DAA16A407 for ; Thu, 10 May 2007 16:03:41 +0000 (UTC) (envelope-from freebsd-fs@lists.goldenpath.org) Received: from randymail-a2.g.dreamhost.com (sd-green-bigip-208-97-132-83.dreamhost.com [208.97.132.83]) by mx1.freebsd.org (Postfix) with ESMTP id 4460113C457 for ; Thu, 10 May 2007 16:03:41 +0000 (UTC) (envelope-from freebsd-fs@lists.goldenpath.org) Received: from [127.0.0.1] (shekel.dreamhost.com [205.196.218.13]) by randymail-a2.g.dreamhost.com (Postfix) with ESMTP id 2C8F4EEC27 for ; Thu, 10 May 2007 09:03:39 -0700 (PDT) Message-ID: <4643425B.60101@lists.goldenpath.org> Date: Thu, 10 May 2007 12:03:39 -0400 From: "Tim A." User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: freebsd-fs@freebsd.org References: <46421190.6040801@lists.goldenpath.org> <200705100950.l4A9oLL2009440@fire.jhs.private> In-Reply-To: <200705100950.l4A9oLL2009440@fire.jhs.private> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: HTFS ? 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, 10 May 2007 16:03:41 -0000 Julian H. Stacey wrote: > "Tim A." wrote: > >> People must have had to deal with this before. >> Why can't I find any tools for (at least reading) HTFS? >> > > Mac FS ? > I believe there's been support in ports/ for a decade. Never used it myself. > > > I wish. # uname -a SCO_SV scosysv 3.2 2 i386 Boots from an EAFS volume, OS on one HTFS mount and data on another HTFS. The box ran a custom FilePro app. I've installed FilePro on a FreeBSD box, but I need to move the data over. SCO box is host only (no networking). Data is ~ 100 MB. From owner-freebsd-fs@FreeBSD.ORG Thu May 10 16:36:38 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6B3B116A404 for ; Thu, 10 May 2007 16:36:38 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outF.internet-mail-service.net (outF.internet-mail-service.net [216.240.47.229]) by mx1.freebsd.org (Postfix) with ESMTP id 5713813C45B for ; Thu, 10 May 2007 16:36:38 +0000 (UTC) (envelope-from julian@elischer.org) Received: from mx0.idiom.com (HELO idiom.com) (216.240.32.160) by out.internet-mail-service.net (qpsmtpd/0.32) with ESMTP; Thu, 10 May 2007 09:26:23 -0700 Received: from julian-mac.elischer.org (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id DA9D1125A25; Thu, 10 May 2007 09:26:22 -0700 (PDT) Message-ID: <464347AE.4010706@elischer.org> Date: Thu, 10 May 2007 09:26:22 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.0 (Macintosh/20070326) MIME-Version: 1.0 To: "Tim A." References: <46421190.6040801@lists.goldenpath.org> <200705100950.l4A9oLL2009440@fire.jhs.private> <4643425B.60101@lists.goldenpath.org> In-Reply-To: <4643425B.60101@lists.goldenpath.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org Subject: Re: HTFS ? 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, 10 May 2007 16:36:38 -0000 Tim A. wrote: > Julian H. Stacey wrote: >> "Tim A." wrote: >> >>> People must have had to deal with this before. >>> Why can't I find any tools for (at least reading) HTFS? >>> >> >> Mac FS ? >> I believe there's been support in ports/ for a decade. Never used it >> myself. >> >> >> > > I wish. > # uname -a > SCO_SV scosysv 3.2 2 i386 > > Boots from an EAFS volume, OS on one HTFS mount and data on another HTFS. > The box ran a custom FilePro app. I've installed FilePro on a FreeBSD > box, but I need to move the data over. > SCO box is host only (no networking). > Data is ~ 100 MB. > > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" add 2nd drive write a tar file to it as a raw device. From owner-freebsd-fs@FreeBSD.ORG Thu May 10 16:44:57 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F0E2016A400 for ; Thu, 10 May 2007 16:44:57 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from mail.bitblocks.com (ns1.bitblocks.com [64.142.15.60]) by mx1.freebsd.org (Postfix) with ESMTP id DDDEF13C457 for ; Thu, 10 May 2007 16:44:57 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from bitblocks.com (localhost.bitblocks.com [127.0.0.1]) by mail.bitblocks.com (Postfix) with ESMTP id 7FCA35B5A for ; Thu, 10 May 2007 09:44:57 -0700 (PDT) To: freebsd-fs@freebsd.org Date: Thu, 10 May 2007 09:44:57 -0700 From: Bakul Shah Message-Id: <20070510164457.7FCA35B5A@mail.bitblocks.com> Subject: zfs and kmem_map too small panic 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, 10 May 2007 16:44:58 -0000 I still see this panic even after reducing kern.maxvfs to 75000 (and even compling in a limit of 75000). Trying to rsync the freebsd cvs repo from a UFS disk to ZFS triggers it every time. Is anyone else seeing this problem? If so, what is your configuration? I am running -current on an X2 Dual core opteron system but in 32 bit mode. If you are running a similar system but do not run into this bug, did you have to change any default parameters for zfs or the amount of KVM? Thanks! From owner-freebsd-fs@FreeBSD.ORG Thu May 10 16:49:09 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BA40216A404 for ; Thu, 10 May 2007 16:49:09 +0000 (UTC) (envelope-from bv@bilver.wjv.com) Received: from wjv.com (fl-65-40-24-38.sta.embarqhsd.net [65.40.24.38]) by mx1.freebsd.org (Postfix) with ESMTP id 27CD713C469 for ; Thu, 10 May 2007 16:49:09 +0000 (UTC) (envelope-from bv@bilver.wjv.com) Received: from bilver.wjv.com (localhost.wjv.com [127.0.0.1]) by wjv.com (8.13.8/8.13.1) with ESMTP id l4AGASqu071120; Thu, 10 May 2007 12:10:28 -0400 (EDT) (envelope-from bv@bilver.wjv.com) Received: (from bv@localhost) by bilver.wjv.com (8.13.8/8.13.1/Submit) id l4AGAMNQ071119; Thu, 10 May 2007 12:10:22 -0400 (EDT) (envelope-from bv) Date: Thu, 10 May 2007 12:10:22 -0400 From: Bill Vermillion To: "Tim A." Message-ID: <20070510161022.GA71081@wjv.com> References: <46421190.6040801@lists.goldenpath.org> <200705100950.l4A9oLL2009440@fire.jhs.private> <4643425B.60101@lists.goldenpath.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4643425B.60101@lists.goldenpath.org> User-Agent: Mutt/1.4.2.2i Organization: W.J.Vermillion / Orlando - Winter Park ReplyTo: bv@wjv.com X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00, SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.1.7 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on bilver.wjv.com Cc: freebsd-fs@freebsd.org Subject: Re: HTFS ? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bv@wjv.com List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 May 2007 16:49:09 -0000 On Thu, May 10, 2007 at 12:03 Tim A. saw "Error reading FAT table? Try SKINNY table?" And promptly said: > Julian H. Stacey wrote: > >"Tim A." wrote: > > > >>People must have had to deal with this before. > >>Why can't I find any tools for (at least reading) HTFS? > >> > > > >Mac FS ? > >I believe there's been support in ports/ for a decade. Never used it > >myself. > > > > > > > > I wish. > # uname -a > SCO_SV scosysv 3.2 2 i386 > > Boots from an EAFS volume, OS on one HTFS mount and data on another HTFS. > The box ran a custom FilePro app. I've installed FilePro on a FreeBSD > box, but I need to move the data over. > SCO box is host only (no networking). > Data is ~ 100 MB. filePro used to have a transfer program that worked via serial ports. You passed the names and then everything was moved correctly to the right places in the new system. I've run up to 4 parallel stream when moving a large FP application from and old system into a AT&T 3B2 many many years ago. You could also use something such as 'tar'. Be aware that the SCO version knows how to handle extensions that cross media boundaries, while many other tars do not. The work-around for split files is when you transfer the first rename the destination file with something like a -part01 name, otherwise the next section will over-write the first one. When all the pieces parts are together for the large file - just cat them all into one file. eg cat *01 *02 *03 > final-file-name Bill -- Bill Vermillion - bv @ wjv . com From owner-freebsd-fs@FreeBSD.ORG Thu May 10 17:26:45 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CB7EB16A402 for ; Thu, 10 May 2007 17:26:45 +0000 (UTC) (envelope-from garyj@jennejohn.org) Received: from mail08b.verio.de (mail08b.verio.de [213.198.55.74]) by mx1.freebsd.org (Postfix) with SMTP id 308F513C44B for ; Thu, 10 May 2007 17:26:45 +0000 (UTC) (envelope-from garyj@jennejohn.org) Received: from mx79.stngva01.us.mxservers.net (204.202.242.150) by mail08b.verio.de (RS ver 1.0.95vs) with SMTP id 0-015788000 for ; Thu, 10 May 2007 19:26:41 +0200 (CEST) Received: from mmm808.verio.de [213.198.55.120] (EHLO mmm808.verio.de) by mx79.stngva01.us.mxservers.net (mxl_mta-1.3.8-10p4) with ESMTP id a4253464.24060.372.mx79.stngva01.us.mxservers.net; Thu, 10 May 2007 13:11:38 -0400 (EDT) Received: (qmail 74131 invoked from network); 10 May 2007 17:26:39 -0000 Received: from unknown (HELO peedub.jennejohn.org) (89.59.26.168) by with SMTP; 10 May 2007 17:26:39 -0000 Received: from jennejohn.org (localhost [127.0.0.1]) by peedub.jennejohn.org (8.14.1/8.14.1) with ESMTP id l4AHQXi0013739; Thu, 10 May 2007 19:26:36 +0200 (CEST) (envelope-from garyj@jennejohn.org) Message-Id: <200705101726.l4AHQXi0013739@peedub.jennejohn.org> X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.0.4 To: Bakul Shah In-reply-to: Your message of "Thu, 10 May 2007 09:44:57 PDT." <20070510164457.7FCA35B5A@mail.bitblocks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 10 May 2007 19:26:33 +0200 From: Gary Jennejohn X-Spam: [F=0.4608847928; heur=0.500(-19800); stat=0.450; spamtraq-heur=0.510(2007022501)] X-MAIL-FROM: X-SOURCE-IP: [213.198.55.120] X-SF-Loop: 1 Cc: freebsd-fs@freebsd.org Subject: Re: zfs and kmem_map too small panic X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Gary Jennejohn List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 May 2007 17:26:45 -0000 Bakul Shah writes: > I still see this panic even after reducing kern.maxvfs to > 75000 (and even compling in a limit of 75000). Trying to > rsync the freebsd cvs repo from a UFS disk to ZFS triggers it > every time. Is anyone else seeing this problem? If so, what > is your configuration? I am running -current on an X2 Dual > core opteron system but in 32 bit mode. If you are running a > similar system but do not run into this bug, did you have to > change any default parameters for zfs or the amount of KVM? > Thanks! > I'm running i386 on an AMD64 X2 with 2GB of RAM. I used to see panics until I made the following additions: /boot/loader.conf vfs.zfs.zil_disable="1" vm.kmem_size="536870912" vfs.zfs.arc_max="67108865" /etc/sysctl.conf kern.maxvnodes=74500 [was 100000] The worst I've hammered the system recently was to ``rm -rf /usr/src'' (UFS) and then cvsup it from the local CVS repository (ZFS). --- Gary Jennejohn / garyjATjennejohnDOTorg gjATfreebsdDOTorg garyjATdenxDOTde From owner-freebsd-fs@FreeBSD.ORG Thu May 10 18:50:02 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DB99016A405 for ; Thu, 10 May 2007 18:50:02 +0000 (UTC) (envelope-from freebsd-fs@lists.goldenpath.org) Received: from randymail-a3.g.dreamhost.com (sd-green-bigip-208-97-132-81.dreamhost.com [208.97.132.81]) by mx1.freebsd.org (Postfix) with ESMTP id C201913C457 for ; Thu, 10 May 2007 18:50:02 +0000 (UTC) (envelope-from freebsd-fs@lists.goldenpath.org) Received: from [127.0.0.1] (shekel.dreamhost.com [205.196.218.13]) by randymail-a3.g.dreamhost.com (Postfix) with ESMTP id CF542185A3F for ; Thu, 10 May 2007 11:50:01 -0700 (PDT) Message-ID: <46436955.2020004@lists.goldenpath.org> Date: Thu, 10 May 2007 14:49:57 -0400 From: "Tim A." User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: freebsd-fs@freebsd.org References: <46421190.6040801@lists.goldenpath.org> <200705100950.l4A9oLL2009440@fire.jhs.private> In-Reply-To: <200705100950.l4A9oLL2009440@fire.jhs.private> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: HTFS ? 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, 10 May 2007 18:50:02 -0000 Thanks guys, We were able to restore from tape on a Networked SCO box, ftp(ing) the data over. Still, it would have been nice if there were some HTFS utilities that could have made this a little more straight forward. From owner-freebsd-fs@FreeBSD.ORG Thu May 10 18:55:52 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B086516A400 for ; Thu, 10 May 2007 18:55:52 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from mail.bitblocks.com (ns1.bitblocks.com [64.142.15.60]) by mx1.freebsd.org (Postfix) with ESMTP id 998B813C469 for ; Thu, 10 May 2007 18:55:52 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from bitblocks.com (localhost.bitblocks.com [127.0.0.1]) by mail.bitblocks.com (Postfix) with ESMTP id 66FA95B5A; Thu, 10 May 2007 11:55:52 -0700 (PDT) To: Gary Jennejohn In-reply-to: Your message of "Thu, 10 May 2007 19:26:33 +0200." <200705101726.l4AHQXi0013739@peedub.jennejohn.org> Date: Thu, 10 May 2007 11:55:52 -0700 From: Bakul Shah Message-Id: <20070510185552.66FA95B5A@mail.bitblocks.com> Cc: freebsd-fs@freebsd.org Subject: Re: zfs and kmem_map too small panic 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, 10 May 2007 18:55:52 -0000 > I'm running i386 on an AMD64 X2 with 2GB of RAM. > > I used to see panics until I made the following additions: > > /boot/loader.conf > vfs.zfs.zil_disable="1" > vm.kmem_size="536870912" > vfs.zfs.arc_max="67108865" > > /etc/sysctl.conf > kern.maxvnodes=74500 [was 100000] Many thanks! This did the trick. So far no crashes! Would be nice if correct defaults are set on loading zfs.ko. From owner-freebsd-fs@FreeBSD.ORG Thu May 10 20:13:22 2007 Return-Path: X-Original-To: freebsd-fs@FreeBSD.org Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6DB8716A404 for ; Thu, 10 May 2007 20:13:22 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 2C5BF13C458 for ; Thu, 10 May 2007 20:13:22 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 8B9C620AA; Thu, 10 May 2007 22:13:18 +0200 (CEST) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on tim.des.no Received: from dwp.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 7FBF920A6; Thu, 10 May 2007 22:13:18 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 1001) id 5862D5263; Thu, 10 May 2007 22:13:18 +0200 (CEST) From: des@des.no (Dag-Erling =?utf-8?Q?Sm=C3=B8rgrav?=) To: Dennis Berger References: <46432346.1060202@nipsi.de> Date: Thu, 10 May 2007 22:13:18 +0200 In-Reply-To: <46432346.1060202@nipsi.de> (Dennis Berger's message of "Thu, 10 May 2007 15:51:02 +0200") Message-ID: <866470309t.fsf@dwp.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-fs@FreeBSD.org Subject: Re: encrypt ZFS with geli 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, 10 May 2007 20:13:22 -0000 Dennis Berger writes: > I would like to know whats the best way to encrypt zfs filesystem. > Currently I created a zfs volume with zfs create -V4g data/test. Encrypt > it with geli init /dev/zvol/data/test. > And create a new zpool with zpool create encrypted /dev/zvol/data/test.el= i. > What do you suggest to do? so you're running zfs on geli on zfs... why not just run geli directly on the raw device and zfs on top of that? DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-fs@FreeBSD.ORG Thu May 10 20:15:33 2007 Return-Path: X-Original-To: freebsd-fs@FreeBSD.org Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B889816A406 for ; Thu, 10 May 2007 20:15:33 +0000 (UTC) (envelope-from gergely.czuczy@harmless.hu) Received: from marvin.harmless.hu (marvin.harmless.hu [195.56.55.204]) by mx1.freebsd.org (Postfix) with ESMTP id 3FE0313C46E for ; Thu, 10 May 2007 20:15:33 +0000 (UTC) (envelope-from gergely.czuczy@harmless.hu) Received: from localhost (marvin-mail [192.168.0.2]) by marvin.harmless.hu (Postfix) with ESMTP id C1ADD7C0C1B; Thu, 10 May 2007 22:15:30 +0200 (CEST) X-Virus-Scanned: by amavisd-new-2.4.2 (20060627) (Debian) at harmless.hu Received: from marvin.harmless.hu ([192.168.0.2]) by localhost (marvin.harmless.hu [192.168.0.2]) (amavisd-new, port 10024) with ESMTP id ueWfjPtIZOYW; Thu, 10 May 2007 22:15:30 +0200 (CEST) Received: from marvin.harmless.hu (localhost [127.0.0.1]) by marvin.harmless.hu (Postfix) with ESMTP id 543C47C0BF1; Thu, 10 May 2007 22:15:29 +0200 (CEST) Date: Thu, 10 May 2007 22:15:29 +0200 From: Gergely CZUCZY To: Dag-Erling =?utf-8?B?U23DuHJncmF2?= Message-ID: <20070510201529.GA79208@harmless.hu> References: <46432346.1060202@nipsi.de> <866470309t.fsf@dwp.des.no> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=x-unknown; protocol="application/pgp-signature"; boundary="fUYQa+Pmc3FrFX/N" Content-Disposition: inline In-Reply-To: <866470309t.fsf@dwp.des.no> User-Agent: mutt-ng/devel-r804 (FreeBSD) Cc: freebsd-fs@FreeBSD.org Subject: Re: encrypt ZFS with geli 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, 10 May 2007 20:15:33 -0000 --fUYQa+Pmc3FrFX/N Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 10, 2007 at 10:13:18PM +0200, Dag-Erling Sm=C3=B8rgrav wrote: > Dennis Berger writes: > > I would like to know whats the best way to encrypt zfs filesystem. > > Currently I created a zfs volume with zfs create -V4g data/test. Encrypt > > it with geli init /dev/zvol/data/test. > > And create a new zpool with zpool create encrypted /dev/zvol/data/test.= eli. > > What do you suggest to do? >=20 > so you're running zfs on geli on zfs... >=20 > why not just run geli directly on the raw device and zfs on top of that? Can geli handle the resize of the partition that it encrypts? If not, then i really don't see the point in encrypting a wossname provided by zfs with geli. Bye, Gergely Czuczy mailto: gergely.czuczy@harmless.hu --=20 Weenies test. Geniuses solve problems that arise. --fUYQa+Pmc3FrFX/N Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) owFtU0FrE0EUri0iLHjooaAg+i5StNnNJm1tEpukNo2lh6JgMQdPk92XzdjNzDoz m3UDHnpSRER6LaggHgUPxVPBPyD9C/4Cr559u5voxdPOm/e9773v2zfvLi/MzS+e fz19svLm+OTCl4Xz/u1RbIwI7BFTYy7siutW7I161a3Za3atVmdu3Vu9U99Yr7pr 9zsvWEcKg8LYB2mEDTD43JSjkHFxF7whUxpNMzYDu2bNcDtcR1Jzw6VoABchF/g3 d6CY0ANUdld40uciaMCzWBr07UhxYVg/RMt6IOBgGJdgn6VQcUtQdd0NYIbOjcpq o1J7uA8rLl2WYIcFdldRhwAejZqd1eZ2TQWKjSFRRNqwWrCDQnAN26gCVLDp97cE jzR3fGwRiBvUGaoFe5DIOPQh5IcIRsKhkAkkQ2Y0mCFCH7WBhOahFApPpZGByUDD gIeoU21w5OQ0nVgp0hmmROgpZKQMWI4cyzAeISTcDPO4yIL9eC0AnxlWplGMA92C PCfjpoAHGHIyksKyj+PyhKjK/0py6D3hzxgZCExgEkkZTrvlx2l2OjyN9T+upkWt CsYeaQdfQipj0HEQZAaQeF+2rVaz6hJG58llhaBiMpn+QaZLimJe+lLoOM4MngxT ENLA05iYqKKA+Vyhl/lF+MxoxRKgwbhHQkjTlNHICOSAAMy0rQ6b1g4JEWJRhppP sMAgREyZfP/yiszHqWzdhr1BNkUpwwmLUyELqbsvxbIBjQVbJGkXyfFZWaaN0YJo LRj9w0jJMffJwn6aD5i5bAW5c9Z2iiXL2s3WjWg7k9ibpNaI8dDIBk2dXztefr1F r2dE66OdYWxZtp3Z1EMUHGnn8mXYpSDWFGoZjvO+9D5GulDFFNfoWK/aCxfnsmc6 e+KL896luY8frp2+Pjs5Ovv5rdfobt58u/5pN5x7f6u+xHo3rr+88vnq7x+/2sdL 34+O/gA= =Fa2v -----END PGP SIGNATURE----- --fUYQa+Pmc3FrFX/N-- From owner-freebsd-fs@FreeBSD.ORG Fri May 11 11:09:54 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C0AEA16A406 for ; Fri, 11 May 2007 11:09:54 +0000 (UTC) (envelope-from cristi@net.utcluj.ro) Received: from bavaria.utcluj.ro (bavaria.utcluj.ro [193.226.5.35]) by mx1.freebsd.org (Postfix) with ESMTP id 2E67213C458 for ; Fri, 11 May 2007 11:09:54 +0000 (UTC) (envelope-from cristi@net.utcluj.ro) Received: from localhost (localhost [127.0.0.1]) by bavaria.utcluj.ro (Postfix) with ESMTP id BE8455083F; Fri, 11 May 2007 14:09:48 +0300 (EEST) X-Virus-Scanned: by the daemon playing with your mail on bavaria.utcluj.ro Received: from bavaria.utcluj.ro ([127.0.0.1]) by localhost (bavaria.utcluj.ro [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id V8XM+7xbo8WX; Fri, 11 May 2007 14:09:42 +0300 (EEST) Received: from [193.226.5.46] (hades.utcluj.ro [193.226.5.46]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by bavaria.utcluj.ro (Postfix) with ESMTP id 8BD395082A; Fri, 11 May 2007 14:09:42 +0300 (EEST) Message-ID: <46444EF5.8060109@net.utcluj.ro> Date: Fri, 11 May 2007 14:09:41 +0300 From: Cristian KLEIN Organization: Data Communication Center - Technical University of Cluj-Napoca User-Agent: Thunderbird 1.5.0.10 (X11/20070306) MIME-Version: 1.0 To: Kostik Belousov References: <59558.86.125.188.48.1177802342.squirrel@intranet.utcluj.ro> <4637A640.6050700@freebsd.org> <46390F78.5080206@net.utcluj.ro> <20070510035247.GR83173@deviant.kiev.zoral.com.ua> In-Reply-To: <20070510035247.GR83173@deviant.kiev.zoral.com.ua> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org Subject: Re: panic: softdep_setup_inomapdep: found inode already exists in 6.2 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, 11 May 2007 11:09:54 -0000 Kostik Belousov wrote: > On Thu, May 03, 2007 at 01:23:52AM +0300, Cristian KLEIN wrote: >> On Mar, Mai 1, 2007 11:42 pm, Eric Anderson wrote: >>> On 04/28/07 18:19, Cristian KLEIN wrote: >>> >>>> Hi everybody, >>>> >>>> >>>> I am running a FreeBSD 6.2-p3, on which I am experiencing exactly the >>>> same simtoms as one item of the TODO list of 6.0: >>>> http://www.freebsd.org/releases/6.0R/todo.html >>>> >>>> >>>> panic: softdep_setup_inomapdep: found inode Needs testing Tor Egge >>>> Found by stress tests at >>>> http://www.holm.cc/stress/log/cons138.html >>>> >>>> >>>> Does anybody know whether this bug should have been solved in 6.2? >>>> Should >>>> I file a PR? >>>> >>> >>> Sorry if I missed it, but were you able to provide a backtrace? If you >>> can, you should compile your kernel with debugging, so at least you could >>> make a little more out of the crash. See the handbook if you need help on >>> that. >> Hi, >> >> I haven't mentioned any technical details yet, as I wasn't sure whether >> this issue is known or not. >> >> First, let me tell you what I did. I wanted to better protect data on >> /jail/mail/home by doing daily snapshots, saved like >> /jail/mail/home/.snap/2007-04-03-03-22-02. I mounted one of these >> snapshots (not the latest) in /mnt/home and rsync'd it to a server. I >> might have rsync'd while taking a new snapshot. >> >> Server started crashing randomly, either while rsync-ing, or in the >> morning, during heavy load. Now I removed the snapshots and the system is >> stable. >> >> Other random information that might be useful: I am using gmirror and >> jail. Disabling SMP has not effect, WITNESS didn't say anything. The >> filesystem has userquotas. The filesystem stores maildir and has about >> 1.6Minodes. >> >> Config is GENERIC + SMP + QUOTA - unused hardware devices. >> >> root# uname -a >> FreeBSD bavaria.xxxxxx 6.2-RELEASE-p3 FreeBSD 6.2-RELEASE-p3 #5: Fri Apr >> 27 20:01:20 EEST 2007 >> cristi@bavaria.xxxxxx:/usr/obj/usr/src/sys/BAVARIA-SMP i386 >> >> root# kgdb kernel.debug /var/crash/vmcore.3 >> [GDB will not be able to debug user-mode threads: >> /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] >> GNU gdb 6.1.1 [FreeBSD] >> Copyright 2004 Free Software Foundation, Inc. >> GDB is free software, covered by the GNU General Public License, and you are >> welcome to change it and/or distribute copies of it under certain >> conditions. >> Type "show copying" to see the conditions. >> There is absolutely no warranty for GDB. Type "show warranty" for details. >> This GDB was configured as "i386-marcel-freebsd". >> >> Unread portion of the kernel message buffer: >> panic: softdep_setup_inomapdep: found inode already exists >> cpuid = 0 >> KDB: enter: panic >> Uptime: 5h42m12s >> Dumping 1023 MB (2 chunks) >> chunk 0: 1MB (159 pages) ... ok >> chunk 1: 1023MB (261837 pages) 1007 991 975 959 943 927 911 895 879 863 >> 847 831 815 799 783 767 751 735 719 703 687 671 655 639 623 607 591 575 >> 559 543 527 511 495 479 463 447 431 415 399 383 367 351 335 319 303 287 >> 271 255 239 223 207 191 175 159 143 127 111 95 79 63 47 31 15 >> >> #0 doadump () at pcpu.h:165 >> 165 __asm __volatile("movl %%fs:0,%0" : "=r" (td)); >> (kgdb) bt >> #0 doadump () at pcpu.h:165 >> #1 0xc0545e18 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409 >> #2 0xc0546149 in panic (fmt=0xc075660c "softdep_setup_inomapdep: found >> inode already exists") >> at /usr/src/sys/kern/kern_shutdown.c:565 >> #3 0xc068c64a in softdep_setup_inomapdep (bp=0xd8c2ba68, ip=0x0, newinum=0) >> at /usr/src/sys/ufs/ffs/ffs_softdep.c:1527 >> #4 0xc067d4dd in ffs_nodealloccg (ip=0xc68e818c, cg=0, ipref=Unhandled >> dwarf expression opcode 0x93 >> ) at /usr/src/sys/ufs/ffs/ffs_alloc.c:1762 >> #5 0xc067bb83 in ffs_hashalloc (ip=0xc68e818c, cg=0, pref=Unhandled dwarf >> expression opcode 0x93 >> ) at /usr/src/sys/ufs/ffs/ffs_alloc.c:1248 >> #6 0xc067b232 in ffs_valloc (pvp=0xc6883440, mode=33024, cred=0xc50d3a80, >> vpp=0xe733d4e8) >> at /usr/src/sys/ufs/ffs/ffs_alloc.c:932 >> #7 0xc06a6bd7 in ufs_makeinode (mode=33024, dvp=0xc6883440, >> vpp=0xe733d8f0, cnp=0xe733d904) >> at /usr/src/sys/ufs/ufs/ufs_vnops.c:2220 >> #8 0xc06a348f in ufs_create (ap=0x0) at >> /usr/src/sys/ufs/ufs/ufs_vnops.c:189 >> #9 0xc071e879 in VOP_CREATE_APV (vop=0x0, a=0xe733d7fc) at vnode_if.c:204 >> #10 0xc0684018 in ffs_snapshot (mp=0xc4e28000, >> snapfile=0xc699c200 "/jail/mail/home/.snap/2007-04-28-03-34-31") at >> vnode_if.h:111 >> #11 0xc06964d7 in ffs_mount (mp=0xc4e28000, td=0xc50e1300) at >> /usr/src/sys/ufs/ffs/ffs_vfsops.c:312 >> #12 0xc059eb6e in vfs_domount (td=0xc50e1300, fstype=0xc4efac90 "ufs", >> fspath=0xc4efa670 "/jail/mail/home", >> fsflags=16842752, fsdata=0xc4efaca0) at >> /usr/src/sys/kern/vfs_mount.c:928 >> #13 0xc059e1da in vfs_donmount (td=0x0, fsflags=16842752, fsoptions=0x0) >> at /usr/src/sys/kern/vfs_mount.c:676 >> #14 0xc05a0f84 in kernel_mount (ma=0xc4efac50, flags=0) at pcpu.h:162 >> #15 0xc06966fb in ffs_cmount (ma=0xc4efac50, data=0x0, flags=0, >> td=0xc50e1300) >> at /usr/src/sys/ufs/ffs/ffs_vfsops.c:392 >> #16 0xc059e3f0 in mount (td=0xc50e1300, uap=0xe733dd04) at >> /usr/src/sys/kern/vfs_mount.c:742 >> #17 0xc070b5bb in syscall (frame= >> {tf_fs = 59, tf_es = 59, tf_ds = 59, tf_edi = -1077944004, tf_esi = >> -1077941276, tf_ebp = -1077943864, tf_isp = -416031388, tf_ebx = >> -1077943824, tf_edx = -1, tf_ecx = -1077940507, tf_eax = 21, >> tf_trapno = 12, tf_err = 2, tf_eip = 671885143, tf_cs = 51, >> tf_eflags = 582, tf_esp = -1077944036, tf_ss = 59}) >> at /usr/src/sys/i386/i386/trap.c:983 >> #18 0xc06f60df in Xint0x80_syscall () at >> /usr/src/sys/i386/i386/exception.s:200 >> #19 0x00000033 in ?? () >> Previous frame inner to this frame (corrupt stack?) >> >> Now that I have KDB on serial console I might be able to crash (or even >> better, test patches) at night on that system. >> >> Please don't hesitate to request further information. I will try to >> elaborate a recipe for crashing the system. > Do you have ddb backtrace for this instance of panic ? Or, for any other > such panic, please, show both ddb backtrace and kgdb output of "bt full". Sorry for my late answer. No, I don't have the ddb backtrace. I will work on crashing my laptop, so I'll be able to provide the ddb backtrace too. From owner-freebsd-fs@FreeBSD.ORG Fri May 11 14:52:21 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B351816A40B for ; Fri, 11 May 2007 14:52:21 +0000 (UTC) (envelope-from hilobok@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.241]) by mx1.freebsd.org (Postfix) with ESMTP id 7140413C480 for ; Fri, 11 May 2007 14:52:21 +0000 (UTC) (envelope-from hilobok@gmail.com) Received: by an-out-0708.google.com with SMTP id d23so231808and for ; Fri, 11 May 2007 07:52:20 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=O9QFvDKaTef2dwbXgpULQ6x7nNcegFDqCzvBGBHiUMwIn3XXxRe2JX9IhD3TwcA2z5y+CvjN+O8Kg8d206QBFfa9g+ICNhs7pUsgMNHrTk3LSDt5lv2gPQOIPGNu2iJPM89WgTWZMfLqFM8Sv1gADSqOxzoDWzfz8EeNfXJf58w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Neqi+C6HVVhE2I89xHoq3v0cohB1pg+fmcpYSHXMU7M+2zln0pwG/aM2hBARXuvKSG8JhOJ0OPVEefVvYBLcjZ8fpWR/VV7J6Kc1IDUq8XFNOPXO0upFtDGgEoEZQhUAGMazA7rahdq2RAdjTRGlAE+K3TZhp0LD+9Cf9iz0cFk= Received: by 10.100.226.15 with SMTP id y15mr2226612ang.1178893456374; Fri, 11 May 2007 07:24:16 -0700 (PDT) Received: by 10.100.195.15 with HTTP; Fri, 11 May 2007 07:24:15 -0700 (PDT) Message-ID: Date: Fri, 11 May 2007 17:24:15 +0300 From: "John Doe" To: freebsd-fs@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: ZFS and kernel panic (not kmem_map too small) 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, 11 May 2007 14:52:21 -0000 Hi, All. I'm running 7-CURRENT (cvsuped and builded at Fri May 11 12:27:49 EEST 2007) on Intel S3000AH motherboard, Xeon 3050 2.13GHz with 1GB RAM. Using Areca ARC-1260 (16 port sata raid controller) with 16 400GB sata drives in JBOD mode. Create zpool with # zpool create bfs radiz2 da0 da1 da2 da3 da4 da5 da6 da7 da8 da9 da10 da11 da12 da13 da14 da15 # zfs create bfs/test # zfs list NAME USED AVAIL REFER MOUNTPOINT bfs 286M 4.97T 49.5K /bfs bfs/test 286M 4.97T 286M /bfs/test # zpool status -v pool: bfs state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM bfs ONLINE 0 0 0 raidz2 ONLINE 0 0 0 da0 ONLINE 0 0 0 da1 ONLINE 0 0 0 da2 ONLINE 0 0 0 da3 ONLINE 0 0 0 da4 ONLINE 0 0 0 da5 ONLINE 0 0 0 da6 ONLINE 0 0 0 da7 ONLINE 0 0 0 da8 ONLINE 0 0 0 da9 ONLINE 0 0 0 da10 ONLINE 0 0 0 da11 ONLINE 0 0 0 da12 ONLINE 0 0 0 da13 ONLINE 0 0 0 da14 ONLINE 0 0 0 da15 ONLINE 0 0 0 errors: No known data errors all seems fine, but i got kernel panic, while putting one file to zfs filesystem using ftp: lock order reversal: 1st 0xffffff0031205938 zfs:&dr->dt.di.dr_mtx (zfs:&dr->dt.di.dr_mtx) @ /usr/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/fs/zfs/dbuf.c:1866 2nd 0xffffff002f9ce418 zfs:&db->db_mtx (zfs:&db->db_mtx) @ /usr/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/fs/zfs/dbuf.c:1837 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x3a witness_checkorder() at witness_checkorder+0x4f9 _sx_xlock() at _sx_xlock+0x48 dbuf_sync_list() at dbuf_sync_list+0x7e dbuf_sync_list() at dbuf_sync_list+0x114 dnode_sync() at dnode_sync+0x1ec dmu_objset_sync() at dmu_objset_sync+0xec dsl_pool_sync() at dsl_pool_sync+0x65 spa_sync() at spa_sync+0x309 txg_sync_thread() at txg_sync_thread+0x166 fork_exit() at fork_exit+0xaa fork_trampoline() at fork_trampoline+0xe --- trap 0, rip = 0, rsp = 0xffffffffaeeadd30, rbp = 0 --- panic: Bad link elm 0xffffff003b362400 prev->next != elm cpuid = 1 KDB: enter: panic how can I provide more information to fix this problem? From owner-freebsd-fs@FreeBSD.ORG Fri May 11 19:36:44 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 27B3516A402 for ; Fri, 11 May 2007 19:36:44 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 0D41F13C45E for ; Fri, 11 May 2007 19:36:44 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 912751A3C19; Fri, 11 May 2007 12:37:29 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 018B551344; Fri, 11 May 2007 15:36:42 -0400 (EDT) Date: Fri, 11 May 2007 15:36:42 -0400 From: Kris Kennaway To: John Doe Message-ID: <20070511193642.GA27025@xor.obsecurity.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: freebsd-fs@freebsd.org Subject: Re: ZFS and kernel panic (not kmem_map too small) 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, 11 May 2007 19:36:44 -0000 On Fri, May 11, 2007 at 05:24:15PM +0300, John Doe wrote: > Hi, All. > > I'm running 7-CURRENT (cvsuped and builded at Fri May 11 12:27:49 EEST > 2007) on Intel S3000AH motherboard, Xeon 3050 2.13GHz with 1GB RAM. > Using Areca ARC-1260 (16 port sata raid controller) with 16 400GB sata > drives in JBOD mode. > > Create zpool with > # zpool create bfs radiz2 da0 da1 da2 da3 da4 da5 da6 da7 da8 da9 da10 > da11 da12 da13 da14 da15 > > # zfs create bfs/test > > # zfs list > NAME USED AVAIL REFER MOUNTPOINT > bfs 286M 4.97T 49.5K /bfs > bfs/test 286M 4.97T 286M /bfs/test > > # zpool status -v > pool: bfs > state: ONLINE > scrub: none requested > config: > > NAME STATE READ WRITE CKSUM > bfs ONLINE 0 0 0 > raidz2 ONLINE 0 0 0 > da0 ONLINE 0 0 0 > da1 ONLINE 0 0 0 > da2 ONLINE 0 0 0 > da3 ONLINE 0 0 0 > da4 ONLINE 0 0 0 > da5 ONLINE 0 0 0 > da6 ONLINE 0 0 0 > da7 ONLINE 0 0 0 > da8 ONLINE 0 0 0 > da9 ONLINE 0 0 0 > da10 ONLINE 0 0 0 > da11 ONLINE 0 0 0 > da12 ONLINE 0 0 0 > da13 ONLINE 0 0 0 > da14 ONLINE 0 0 0 > da15 ONLINE 0 0 0 > > errors: No known data errors > > all seems fine, but i got kernel panic, while putting one file to zfs > filesystem using ftp: > > lock order reversal: > 1st 0xffffff0031205938 zfs:&dr->dt.di.dr_mtx (zfs:&dr->dt.di.dr_mtx) > @ > /usr/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/fs/zfs/dbuf.c:1866 > 2nd 0xffffff002f9ce418 zfs:&db->db_mtx (zfs:&db->db_mtx) @ > /usr/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/fs/zfs/dbuf.c:1837 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x3a > witness_checkorder() at witness_checkorder+0x4f9 > _sx_xlock() at _sx_xlock+0x48 > dbuf_sync_list() at dbuf_sync_list+0x7e > dbuf_sync_list() at dbuf_sync_list+0x114 > dnode_sync() at dnode_sync+0x1ec > dmu_objset_sync() at dmu_objset_sync+0xec > dsl_pool_sync() at dsl_pool_sync+0x65 > spa_sync() at spa_sync+0x309 > txg_sync_thread() at txg_sync_thread+0x166 > fork_exit() at fork_exit+0xaa > fork_trampoline() at fork_trampoline+0xe > --- trap 0, rip = 0, rsp = 0xffffffffaeeadd30, rbp = 0 --- > panic: Bad link elm 0xffffff003b362400 prev->next != elm > cpuid = 1 > KDB: enter: panic > > how can I provide more information to fix this problem? By providing a backtrace and all the other usual details? See the developers handbook if you are unfamiliar with how to report panics. Kris