[OpenAFS] Strange problem in 2 volumes that do not "vos move" or "vos restore"

Jeffrey Altman jaltman@auristor.com
Sat, 2 Sep 2017 10:40:40 -0400


This is a cryptographically signed message in MIME format.

--------------ms000208050503090704090508
Content-Type: multipart/mixed;
 boundary="------------45358801E18DDFB1A9F2AE62"
Content-Language: en-US

This is a multi-part message in MIME format.
--------------45358801E18DDFB1A9F2AE62
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 9/2/2017 5:38 AM, Jose M Calhariz wrote:
>=20
> Hi,
>=20
> I am one of the maintainers of a OpenAFS cell.  The cell runs on
> Debian 8.x with OpenAFS 1.6.15-1 from backports.  The clients I use
> for maintenance are Debian 8.x and Debian 9.x, aka 1.6.15-1 and 1.6.20-=
2.
>=20
> I have 2 volumes that refused to do a maintenance "vos move".  I
> started to investigate one of the volumes.  To my surprise, the "vos
> restore" fails from a Debian 9.x client.  Then I tried to do a
> "bos salvage", but it did not found a problem.  Then I upgraded
> the fileserver to Debian 9.x and repeated the "bos salvage" and the
> "vos restore" but there is still a problem.
>=20
> Follow what I think is the relevant logs.  The SalsrvLog on the
> destination of a vos move is too big, so I can send it compressed by
> private email.  I am open to do more tests and to provide more logs.
> The problematic volumes are preventing the a shutdown of the
> fileservers for a must needed maintenance.

In the process of assisting several AuriStorFS licensees convert their
cells, volumes have been encountered that cannot be moved, released, nor
dumped. The on-disk data structures for the volume were corrupted which
resulted in failures to create a complete dump stream or data corruption
within the dump stream.

I suggest that you focus your attention on the source server.  Any
volume on the destination server that was partially created can be
zapped since the volume was never deleted on the source.

First bump the log level of the volserver to 125 to increase the logging
to the VolserLog.  Then execute "vos dump" to force the generation of a
dump stream.  If it fails, then hopefully the problem that triggered the
failure will be recorded in the VolserLog.  Sadly the OpenAFS logging
for dump errors is very incomplete so the failures are often silent.

If the "vos dump" command succeeds, then the contents of the stream must
be faulty.  The VolserLog of the volserver to which a "vos restore" is
executed might at a log level of 125 contain a clue.

At sites that have experienced these problems in the past AuriStor staff
has either been forced to manually edit the on-disk data structures to
correct the flaw or the customer has restored the volume from a backup.
In many cases, the affected volumes had not been modified by end users
for many years.  If your organization wishes professional assistance,
feel free to contact me off list.

Good luck.

Jeffrey Altman


--------------45358801E18DDFB1A9F2AE62
Content-Type: text/x-vcard; charset=utf-8;
 name="jaltman.vcf"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
 filename="jaltman.vcf"

begin:vcard
fn:Jeffrey Altman
n:Altman;Jeffrey
org:AuriStor, Inc.
adr:Suite 6B;;255 West 94Th Street;New York;New York;10025-6985;United St=
ates
email;internet:jaltman@auristor.com
title:Founder and CEO
tel;work:+1-212-769-9018
note;quoted-printable:LinkedIn: https://www.linkedin.com/in/jeffreyaltman=
=3D0D=3D0A=3D
	Skype: jeffrey.e.altman=3D0D=3D0A=3D
=09
url:https://www.auristor.com/
version:2.1
end:vcard


--------------45358801E18DDFB1A9F2AE62--

--------------ms000208050503090704090508
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCC
DIMwggXqMIIE0qADAgECAhBAAVgjDHzXCy5hFo6GsQuLMA0GCSqGSIb3DQEBCwUAMDoxCzAJ
BgNVBAYTAlVTMRIwEAYDVQQKEwlJZGVuVHJ1c3QxFzAVBgNVBAMTDlRydXN0SUQgQ0EgQTEy
MB4XDTE2MTEwMjAzMTkzMFoXDTE3MTEwMjAzMTkzMFowgYYxLTArBgNVBAsMJFZlcmlmaWVk
IEVtYWlsOiBqYWx0bWFuQGF1cmlzdG9yLmNvbTEjMCEGCSqGSIb3DQEJARYUamFsdG1hbkBh
dXJpc3Rvci5jb20xMDAuBgoJkiaJk/IsZAEBEyA3RjAwMDAwMTAwMDAwMTU4MjMwQzdDQTcw
MDAwMDdCMjCCASIwDQYJKoZIhv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