From owner-freebsd-stable@FreeBSD.ORG Sun May 31 13:52:47 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69E2E1065670 for ; Sun, 31 May 2009 13:52:47 +0000 (UTC) (envelope-from rafaelhfaria@cenadigital.com.br) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.241]) by mx1.freebsd.org (Postfix) with ESMTP id 2F5B08FC1B for ; Sun, 31 May 2009 13:52:46 +0000 (UTC) (envelope-from rafaelhfaria@cenadigital.com.br) Received: by an-out-0708.google.com with SMTP id c3so3742017ana.13 for ; Sun, 31 May 2009 06:52:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.144.14 with SMTP id r14mr5702293and.120.1243776630137; Sun, 31 May 2009 06:30:30 -0700 (PDT) From: Rafael Henrique Faria Date: Sun, 31 May 2009 10:30:10 -0300 Message-ID: <10bf7ef00905310630k3179ba9bi58482f2794a857a7@mail.gmail.com> To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Problem with graid3 and gjournal X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 May 2009 13:52:47 -0000 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@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@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@papillon paramount # graid3 status Name Status Components raid3/gr0inet COMPLETE ad0p7 ad1p1 ad2p7 paramount@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