Date: Wed, 05 Jul 2023 06:53:21 +0000 From: Alastair Hogge <agh@riseup.net> To: current@freebsd.org Subject: Lost glabel provider for GELI consumer/storage Message-ID: <ffb7864bfe3ad6ee8f6fc5e0324972d6@riseup.net>
index | next in thread | raw e-mail
Hello,
I have a NFS host that exports one GELI UFS from a stripe of some number
of mirrored disks, all GEOM.
While replacing a disk in this RAID—far too tired and late one night—I
was
playing with gcache, adding/removing one gcache device starting at a
time to the
gmirrors, and then the gstripe. When I was adding a gcache device to the
gstripe I accidentally used 'label' (hardcoded metadata on the storage)
instead
of 'create' on the gstrip:
# gcache label -v -b128K -s 1024 cache-test strip/fafnir_graid10
Now unfortunately, the glabel that sits on top of the gstripe, has
disappeared.
This now results in GELI unable to locate the glabel, and attach.
Removing gcache make no difference:
# gcache stop -fv cache-test
The boot log:
/dev/label/fafnir_encfs: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/label/fafnir_encfs: clean, 24114894 free (10902 frags, 3012999
blocks, 0.0% fragmentation)
Can't stat /dev/label/fafnir_exportfs.eli: No such file or directory
THE FOLLOWING FILE SYSTEM HAD AN UNEXPECTED INCONSISTENCY:
ufs: /dev/label/fafnir_exportfs.eli (/exports)
Unknown error 3; help!
ERROR: ABORTING BOOT (sending SIGTERM to parent)!
Is it possible to restore the glabel for consumption by GELI? I have
some backups,
going by the filename they might be relevant, tho, I am unsure how to
proceed,
or if this is possible.
To health and anarchy,
Alastair
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ffb7864bfe3ad6ee8f6fc5e0324972d6>
