Virstor provider lost metadata. Rescue possible?

Frank Beckmann infjb at yahoo.de
Sat Oct 3 14:09:44 UTC 2009


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


      


More information about the freebsd-geom mailing list