Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Oct 2017 13:55:49 +0200
From:      Bernt Hansson <bah@bananmonarki.se>
To:        Jonathan Bond-Caron <jbondc@gdesolutions.com>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: GELI disk and glabel label
Message-ID:  <cab0fb88-99f9-c4e3-1147-5d5820ae8017@bananmonarki.se>
In-Reply-To: <CY4PR17MB1111E0EB793D6970B7CEF7C4B7700@CY4PR17MB1111.namprd17.prod.outlook.com>
References:  <CY4PR17MB1111E0EB793D6970B7CEF7C4B7700@CY4PR17MB1111.namprd17.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cab0fb88-99f9-c4e3-1147-5d5820ae8017>