Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Mar 2007 19:07:40 +0200
From:      Andrei Kolu <antik@bsd.ee>
To:        freebsd-geom@freebsd.org
Cc:        freebsd-fs@freebsd.org
Subject:   Re: zfs_20070303.patch on current
Message-ID:  <200703071907.40582.antik@bsd.ee>
In-Reply-To: <20070307152521.GA5801@garage.freebsd.pl>
References:  <20070120073117.GB60202@x12.dk> <200703071654.02714.antik@bsd.ee> <20070307152521.GA5801@garage.freebsd.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703071907.40582.antik>