Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Sep 2004 11:14:24 +0200
From:      =?iso-8859-1?Q? "Stefan=20Krau=DF" ?= <ilsa.gold@web.de>
To:        freebsd-geom@freebsd.org
Subject:   problem reattaching GBDE-encrypted slice
Message-ID:  <1255564800@web.de>

next in thread | raw e-mail | index | archive | help
Hi all,

like some other guys on this list (have seen this in the archive) I have a problem with an already running GBDE-encrypted slice. I used this slice for about 3 months without any problems. The slice (=ad0s3a) is about 38 GB in size and about 16 GB of this were free to use (see fdisk and bsdlabel output at the end of this mail). Yesterday I just put about 9-10GB of data on this slice and everything seems to work just fine. After rebooting this morning I'm not able anymore to attache the slice to gbde. I ente r the password, no error message or something similar appears but I get now *.bde-device file under /dev. The lock-file is dated to somewhere in Feb 23, and I'm absolutely sure that I entered the right password (just tried this about 50-times ;-)).

Here are the outputs of a few relevant commands:

-----
# uname -a
FreeBSD maui.island.net 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004     root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC  i386

-----
# fdisk /dev/ad0
******* Working on device /dev/ad0 *******
parameters extracted from in-core disklabel are:
cylinders=116280 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=116280 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 12 (0x0c),(DOS or Windows 95 with 32 bit FAT (LBA))
    start 63, size 19551042 (9546 Meg), flag 0
	beg: cyl 0/ head 1/ sector 1;
	end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
    start 19551105, size 19567170 (9554 Meg), flag 80 (active)
	beg: cyl 963/ head 15/ sector 1;
	end: cyl 919/ head 12/ sector 63
The data for partition 3 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
    start 39118275, size 78091965 (38130 Meg), flag 0
	beg: cyl 919/ head 13/ sector 1;
	end: cyl 567/ head 15/ sector 63
The data for partition 4 is:
<UNUSED>

-----
# bsdlabel /dev/ad0s3
# /dev/ad0s3:
8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a: 78091949       16    unused        0     0       
  c: 78091965        0    unused        0     0         # "raw" part, don't edit

-----
# bsdlabel /dev/ad0s2
# /dev/ad0s2:
8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a:  8735009  1048576    4.2BSD     2048 16384 28552 
  b:  1048576        0      swap                    
  c: 19567170        0    unused        0     0         # "raw" part, don't edit
  d:  9783585  9783585    4.2BSD     2048 16384 28552 


Is there any advice you can give me?


Best regards
Stefan
_______________________________________________________
WEB.DE Video-Mail - Sagen Sie mehr mit bewegten Bildern
Informationen unter: http://freemail.web.de/?mc=021199



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