From owner-freebsd-geom@FreeBSD.ORG Wed Mar 7 17:07:44 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6DD5C16A400; Wed, 7 Mar 2007 17:07:44 +0000 (UTC) (envelope-from antik@bsd.ee) Received: from smtp-gw1.starman.ee (smtp-out5.starman.ee [85.253.0.7]) by mx1.freebsd.org (Postfix) with ESMTP id 2B74113C4A6; Wed, 7 Mar 2007 17:07:43 +0000 (UTC) (envelope-from antik@bsd.ee) Received: from mx1.starman.ee (mx1.starman.ee [62.65.192.16]) by smtp-gw1.starman.ee (Postfix) with ESMTP id 1EEAEA21764; Wed, 7 Mar 2007 19:07:42 +0200 (EET) Received: from [192.168.2.99] (pc195.host2.ida.starman.ee [62.65.241.195]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.starman.ee (Postfix) with ESMTP id 009DE23C54D; Wed, 7 Mar 2007 19:07:40 +0200 (EET) From: Andrei Kolu To: freebsd-geom@freebsd.org Date: Wed, 7 Mar 2007 19:07:40 +0200 User-Agent: KMail/1.9.5 References: <20070120073117.GB60202@x12.dk> <200703071654.02714.antik@bsd.ee> <20070307152521.GA5801@garage.freebsd.pl> In-Reply-To: <20070307152521.GA5801@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703071907.40582.antik@bsd.ee> X-Virus-Scanned: by Amavisd-New at mx1.starman.ee Cc: freebsd-fs@freebsd.org Subject: Re: zfs_20070303.patch on current X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 17:07:44 -0000 On Wednesday 07 March 2007 17:25, you wrote: > On Wed, Mar 07, 2007 at 04:54:02PM +0200, Andrei Kolu wrote: > > On Wednesday 07 March 2007 15:50, you wrote: > > > On Tue, Mar 06, 2007 at 02:20:36PM +0200, Andrei Kolu wrote: > > > > Thanks! So I have to enable ZFS from /boot/loader.conf with > > > > zfs_load="yes" or how? > > > > > > Forgot to mention. Do not add 'zfs_load="YES"' to your > > > /boot/loader.conf, because it tries to read some files before root file > > > system is mounted, which will panic the system. I'll fix this at some > > > point, but avoid loading zfs.ko too early for now. > > > > I already realised that this is a Bad Idea TM. Loaded it with kldload > > manually. Was able to write files onto zfs volume but system crashed > > after I tried to delete files.... > > Unfortunately this doesn't tell much... Do you have a way I can > reproduce it? # mdconfig -f /home/zfstest -u 0 mdconfig: ioctl(/dev/mdctl): Device busy I already got couple of memory disks, so I choose available md. # mdconfig -f /home/zfstest -u 2 # bsdlabel -w md2 auto # zpool create home /dev/md2c default mountpoint '/home' exists and is not empty use '-m' option to provide a different default # zpool create zfs /dev/md2c # mount /dev/ad0s2a on / (ufs, local, soft-updates) devfs on /dev (devfs, local) /dev/ad0s2e on /var (ufs, local, soft-updates) /dev/ad0s2f on /usr (ufs, local, noatime, soft-updates) procfs on /proc (procfs, local) linprocfs on /usr/compat/linux/proc (linprocfs, local) /dev/md1 on /tmp (ufs, local) zfs on /zfs (zfs, local) Wrote couple of files into /zfs, then tried to delete them- computer rebooted. This was remote box and I am unable to see any information what happened- log files shows nothing. Andrei