Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Aug 2006 10:36:29 -0300
From:      Felipe Neuwald <felipe@neuwald.biz>
To:        freebsd-current@freebsd.org,  freebsd-stable@freebsd.org,  freebsd-geom@freebsd.org
Subject:   GEOM_BDE: where is my partition?
Message-ID:  <44CF58DD.8000805@neuwald.biz>

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

I have 4 GEOM_BDE encrypted partitions in one FreeBSD 6.1-PRERELEASE 
Server. Since the server anormally shutdown (power cut), one of 
partitions isn't more available.

Here is the partitions:

[root@xingu /dev]# ls -laF /etc/gbde/
total 12
drwxr-xr-x   2 root  wheel   512 Mar 23 15:33 ./
drwxr-xr-x  19 root  wheel  2048 Jul 13 11:34 ../
-rw-------   1 root  wheel    16 Sep 26  2005 ad0s1g
-rw-------   1 root  wheel    16 Sep 26  2005 ad1s1d
-rw-------   1 root  wheel    16 Sep 27  2005 ad2s1d
-rw-------   1 root  wheel    16 Mar 23 15:33 ad5s1c

ad0s1g, ad1s1d, and ad2s1d are correctly mounted:

[root@xingu /dev]# mount | grep bde
/dev/ad0s1g.bde on /data (ufs, NFS exported, local, soft-updates)
/dev/ad1s1d.bde on /data1 (ufs, NFS exported, local, soft-updates)
/dev/ad2s1d.bde on /data2 (ufs, NFS exported, local, soft-updates)

But /dev/ad5s1c doesn't exist anymore!!!

[root@xingu /dev]# /sbin/gbde attach /dev/ad5s1c -l /etc/gbde/ad5s1c
Enter passphrase:
gbde: Attach to ad5s1c failed: Provider not found
[root@xingu /dev]# ls /dev/ad5s1c
ls: /dev/ad5s1c: No such file or directory
[root@xingu /dev]#

Any idea of how to recover the partition? What could happend? =/

Here is some info about my kernel:

[root@xingu /dev]# cat /usr/src/sys/i386/conf/KERNEL4 | grep GEOM
options         GEOM_GPT                # GUID Partition Tables.
options         GEOM_BDE

And about my system:

[root@xingu /dev]# uname -a
FreeBSD xingu.xxx 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Mon Feb 20 
16:47:57 BRT 2006     root@xingu.xxx:/usr/obj/usr/src/sys/KERNEL4  i386

Thank you,

Felipe Neuwald.




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