GELI disk and glabel label

Bernt Hansson bah at bananmonarki.se
Thu Oct 5 11:56:02 UTC 2017


On 10/05/17 03:03, Jonathan Bond-Caron wrote:
> Hi,
>
> I was trying to organize hard disk using labels and labelled two geli disks:
> https://marc.info/?l=freebsd-questions&m=147526341300616&w=2
>
> glabel secure /dev/da1
> galbel backups /dev/da2
>
> The problem is now I can't mount them :/
> geli attach -k /root/geli.key
> geli: Cannot read metadata from /dev/da1
>
> Is there anything I can do to 'revert' the glabel operation? If I have a backup of these disks, can I grab the metadata from them and restore the data?
>
> Jon
>
You have overwritten the geli data. Geli and glabel stores the metadata 
in the same place.


More information about the freebsd-questions mailing list