From nobody@FreeBSD.org  Tue Mar 15 00:51:19 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 22A5616A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 15 Mar 2005 00:51:19 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 048A343D2F
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 15 Mar 2005 00:51:19 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j2F0pIIK038833
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 15 Mar 2005 00:51:18 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j2F0pIJU038831;
	Tue, 15 Mar 2005 00:51:18 GMT
	(envelope-from nobody)
Message-Id: <200503150051.j2F0pIJU038831@www.freebsd.org>
Date: Tue, 15 Mar 2005 00:51:18 GMT
From: Nikolay Mirin <nikamir@mail.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Problems with GBDE encrypted partitions
X-Send-Pr-Version: www-2.3

>Number:         78849
>Category:       kern
>Synopsis:       Problems with GBDE encrypted partitions
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 15 01:00:12 GMT 2005
>Closed-Date:    
>Last-Modified:  Sat Sep 24 17:44:25 UTC 2011
>Originator:     Nikolay Mirin
>Release:        5.3-STABLE, 5.4-PRERELEASE
>Organization:
Optim Ltd Int GRP
>Environment:
FreeBSD hotart.optim-mol.cemu.ru 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #0: Tue Mar 8 00:43:18 MSK 2005     nik@dc.optim-mol.cemu.ru:/usr/obj/usr/src/sys/WORK  i386

>Description:
I am running jails with encrypted root /var and /usr filesystems each.
Each jail is within a separate slice of ATA-RAID.
Each slice has 3 filessystems (/ /var /usr for jail respectively)

After some time of work, the gbde filesystems that are used intensively crush and the entire system seems frozen.
The main system is located on regular filesystems in the very first slice, so it is well isolated.

The only way to restore is to reboot and then attach gbde drives,
check filesystems, which indicates a lot of errors
in superblock and soft-updates then mount and start the jails
it works for a while, and then freezes again.
I turned softupdates off but it didn't help.
>How-To-Repeat:
I have no idea, sorry. I guess, just create the partition and use it.

I can provide any information you need about the system.
I may consider even giving the access to the system itself,
just let me know.
>Fix:
      
>Release-Note:
>Audit-Trail:

From: "Nikolay A Mirin" <nikamir@rice.edu>
To: <freebsd-gnats-submit@FreeBSD.org>,
	=?koi8-r?B?7snLz8zByiDtydLJzg==?= <nikamir@mail.ru>
Cc:  
Subject: Re: kern/78849: Problems with GBDE encrypted partitions
Date: Tue, 15 Mar 2005 08:14:35 -0600

 Hi, basically, I searched PR and I have to tell, that my situation is 
 slightly different from that fro the other people.
 In my case, /var filesystems of jails crush. I don't know if it is useful, 
 but here's the output of fsck
 ** /dev/ar0s3d.bde
 ** Last Mounted on /usr/local/jails/hotart/var
 ** Phase 1 - Check Blocks and Sizes
 ** Phase 2 - Check Pathnames
 ** Phase 3 - Check Connectivity
 ** Phase 4 - Check Reference Counts
 UNREF FILE I=6296  OWNER=root MODE=140666
 SIZE=0 MTIME=Mar 12 19:17 2005
 CLEAR? yes
 
 UNREF FILE I=6365  OWNER=root MODE=100644
 SIZE=0 MTIME=Mar 12 19:17 2005
 CLEAR? yes
 
 UNREF FILE I=9580  OWNER=88 MODE=100600
 SIZE=0 MTIME=Mar 12 19:17 2005
 CLEAR? yes
 
 UNREF FILE I=9749  OWNER=88 MODE=100600
 SIZE=0 MTIME=Mar 12 19:17 2005
 CLEAR? yes
 
 UNREF FILE I=9766  OWNER=88 MODE=100600
 SIZE=0 MTIME=Mar 12 19:17 2005
 CLEAR? yes
 
 ** Phase 5 - Check Cyl groups
 FREE BLK COUNT(S) WRONG IN SUPERBLK
 SALVAGE? yes
 
 SUMMARY INFORMATION BAD
 SALVAGE? yes
 
 BLK(S) MISSING IN BIT MAPS
 SALVAGE? yes
 
 1602 files, 16294 used, 31673 free (265 frags, 3926 blocks, 0.6% 
 fragmentation)
 
 
 
 
Responsible-Changed-From-To: freebsd-bugs->phk 
Responsible-Changed-By: glebius 
Responsible-Changed-When: Tue Mar 15 15:03:43 GMT 2005 
Responsible-Changed-Why:  
Assign to author. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=78849 
Responsible-Changed-From-To: phk->freebsd-bugs 
Responsible-Changed-By: eadler 
Responsible-Changed-When: Sat Sep 24 17:44:24 UTC 2011 
Responsible-Changed-Why:  
return to the pool (approved by phk) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=78849 
>Unformatted:
