Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Oct 2009 06:43:01 -0700 (PDT)
From:      Frank Beckmann <infjb@yahoo.de>
To:        freebsd-geom@freebsd.org
Subject:   Virstor provider lost metadata. Rescue possible?
Message-ID:  <469001.5449.qm@web28202.mail.ukl.yahoo.com>

next in thread | raw e-mail | index | archive | help

Hello,

one of my virstor providers lost its metadata. It looks like the sector got filled with random data. it is the second last filled sector in that virstor. Executing the command "gvirstor list", "gvirstor status" or "sysctl -a" resulted in a kernel panic.

I handcrafted the destroyed sector assuming that all chunks of that provider were used and setting the flags to 0. Now the kernel doesn't panic anymore but I get the error message:

GEOM_VIRSTOR[1]: virstor_check_and_run: Invalid entry 100542 in map for vs3
GEOM_VIRSTOR[1]: virstor_check_and_run: provider_no: 25, n_components: 33 provider_chunk: 512, chunk_count 512

Provider 25 is the one which lost its metadata.

The version of FreeBSD is: 7.2-RC1

Is it possible to revive that virstor to rescue some of its data?

Thanks for any help.
Frank






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