zfs_20070303.patch on current

Andrei Kolu antik at bsd.ee
Wed Mar 7 22:38:20 UTC 2007


On Wednesday 07 March 2007 23:52, Pawel Jakub Dawidek wrote:
> On Wed, Mar 07, 2007 at 11:29:12PM +0200, Andrei Kolu wrote:
> > On Wednesday 07 March 2007 23:15, Pawel Jakub Dawidek wrote:
> > > On Wed, Mar 07, 2007 at 07:07:40PM +0200, Andrei Kolu wrote:
> > > > # mdconfig -f /home/zfstest -u 2
> > > > # bsdlabel -w md2 auto
> > >
> > > Could you give me 'ls -l /home/zfstest'?
> >
> >  ls -l /home/zfstest
> > -rw-r--r--  1 root  wheel  104857600 Mar  6 14:48 /home/zfstest
>
> A bit small, but it works here. I need more info... exact procedure to
> reproduce it or some debugging info.

I rebuilt my kernel with debugging information and now it won't crash 
anymore...

But here I found another problem: copied 24MB of files and directories into 
ZFS volume:
-------------------------------------------------------------------
# df -h
zfs                    63M     24M     40M    37%    /zfs
-------------------------------------------------------------------
But du shows incorrect information:
-------------------------------------------------------------------
# du -sh /zfs
 43K    /zfs
-------------------------------------------------------------------
# ll -R /zfs
total 0
drwxr-xr-x  3 antik  antik   3 Mar  7 21:56 CRMERP
drwxr-xr-x  5 antik  antik  11 Feb 28 22:52 lowlatency

/zfs/CRMERP:
total 0
drwxr-xr-x  2 antik  antik  4 Mar  7 22:13 openbravo

/zfs/CRMERP/openbravo:
total 42
-rw-r--r--  1 antik  antik  21504733 Mar  7 22:13 
OpenbravoERP_2.22-PostgreSQL.zip
-rw-r--r--  1 antik  antik    412978 Mar  7 22:00 
Openbravo_PostgreSQL_r2.11_quick-start_installation_guide_v1.0.1.pdf
..........
too many files- I cut them out from listing.
-------------------------------------------------------------------

I can create, copy, move files without problem with following kernel debug 
config:

makeoptions     DEBUG=-g
options         KDB                    
options         DDB                    
options         GDB                    
options         INVARIANTS             
options         INVARIANT_SUPPORT 

Unfortunately I have no backtrace information:
This GDB was configured as "i386-marcel-freebsd".
Cannot access memory at address 0x6a1b5
(kgdb) backtrace
#0  0x00000000 in ?? ()
(kgdb)


More information about the freebsd-fs mailing list