Problem with graid3 and gjournal

Rafael Henrique Faria rafaelhfaria at cenadigital.com.br
Sun May 31 13:52:47 UTC 2009


I'm using a GJournal on top of GRAID3 on top of GPart.

What happens:

If I go to my gjournal mount point e put:

dd if=/dev/zero of=file bs=1k count=10

The system freeze. No more response in the corrent ssh session, the
system don't respond to new ssh connection, and the console got
freezed too.

So, I tried with:

dd if=/dev/random of=file bs=1k count=10

The same thing.

I went to an other machine, created the file with:

dd if=/dev/zero bs=1k count=10 | bzip2 | dd of=file.bz2

The file is created OK.

I send the file to my machine using gjournal, and:

bzcat file.bz2 | dd of=file

The system got freezed again.

In the same server, I have an other partition with gmirror, and
gjournal on top of it.

The file was created OK. Then I tried to copy the file from the
gmirror+gjournal partition to the graid3+gjournal partition, and the
system got freezed again.

Then I belieave that there is a problem with graid3+gjournal.

If I create filed in the graid3+gjournal with the VI, or send any
other file (ie. /etc/rc.conf) to this partition, is OK. No freeze.
Only when I try to create a file with dd.

Where is the problem, with GRAID3, or with GJournal ?

I'll try to remove the GJournal from this partition. But anyone knows
somethig about it?

My configuration:

FreeBSD papillon.cenadigital.com.br 7.2-STABLE FreeBSD 7.2-STABLE #0:
Wed May  6 21:36:59 UTC 2009
paramount at papillon.cenadigital.com.br:/usr/obj/usr/src/sys/PAPILLON
i386

CPU: Intel Pentium III (598.63-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
real memory  = 201326592 (192 MB)
avail memory = 182697984 (174 MB)

paramount at papillon paramount # gpart show
=>      34  78242909  ad0  GPT  (37G)
        34       128    1  freebsd-boot  (64K)
       162   2097152    2  freebsd-ufs  (1.0G)
   2097314    786432    3  freebsd-swap  (384M)
   2883746   2097152    4  freebsd-ufs  (1.0G)
   4980898   6291456    5  freebsd-ufs  (3.0G)
  11272354  27105264    6  freebsd-ufs  (13G)
  38377618  39865325    7  freebsd-ufs  (19G)

=>      34  39865325  ad1  GPT  (19G)
        34  39865325    1  freebsd-ufs  (19G)

=>      34  80293181  ad2  GPT  (38G)
        34       128    1  freebsd-boot  (64K)
       162   2097152    2  freebsd-ufs  (1.0G)
   2097314    786432    3  freebsd-swap  (384M)
   2883746   2097152    4  freebsd-ufs  (1.0G)
   4980898   6291456    5  freebsd-ufs  (3.0G)
  11272354  27105264    6  freebsd-ufs  (13G)
  38377618  39865325    7  freebsd-ufs  (19G)
  78242943   2050272    8  freebsd-swap  (1.0G)


paramount at papillon paramount # graid3 status
         Name    Status  Components
raid3/gr0inet  COMPLETE  ad0p7
                         ad1p1
                         ad2p7

paramount at papillon paramount # gmirror status
          Name    Status  Components
mirror/gm0root  COMPLETE  ad0p2
                          ad2p2
 mirror/gm0tmp  COMPLETE  ad0p4
                          ad2p4
 mirror/gm0var  COMPLETE  ad0p5
                          ad2p5
 mirror/gm0usr  COMPLETE  ad0p6
                          ad2p6

kernel: GEOM_JOURNAL: Journal raid3/gr0inet clean.
kernel: GEOM_JOURNAL: BIO_FLUSH not supported by raid3/gr0inet.
GEOM_JOURNAL: Flush cache of raid3/gr0inet: error=19.
GEOM_JOURNAL: Flush cache of raid3/gr0inet: error=19.
GEOM_JOURNAL: Flush cache of raid3/gr0inet: error=19.
GEOM_JOURNAL: Flush cache of raid3/gr0inet: error=19.
GEOM_JOURNAL: Flush cache of raid3/gr0inet: error=19.

I think that GJournal can't be on top of a GRaid3. But GJournal on top
of GMirror is working very good.

Thank's for any help.

-- 
Rafael Henrique da Silva Faria
# Grupo Cena Digital
# (16) 9229-8928
# www.cenadigital.com.br


More information about the freebsd-stable mailing list