Return-Path: linux-nfs-owner@vger.kernel.org Received: from mailgw01.dd24.net ([193.46.215.41]:45637 "EHLO mailgw01.dd24.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754055Ab3JXRWk (ORCPT ); Thu, 24 Oct 2013 13:22:40 -0400 Received: from localhost (amavis02.dd24.net [192.168.1.113]) by mailgw01.dd24.net (Postfix) with ESMTP id 6964B7CC393 for ; Thu, 24 Oct 2013 17:22:37 +0000 (GMT) Received: from mailgw01.dd24.net ([192.168.1.191]) by localhost (amavis02.dd24.net [192.168.1.106]) (amavisd-new, port 10191) with ESMTP id FsKOw00a+K7f for ; Thu, 24 Oct 2013 17:22:31 +0000 (GMT) Received: from [192.168.0.102] (ppp-88-217-86-191.dynamic.mnet-online.de [88.217.86.191]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailgw01.dd24.net (Postfix) with ESMTPSA id AE8897CC432 for ; Thu, 24 Oct 2013 17:22:31 +0000 (GMT) Message-ID: <1382635350.6907.83.camel@heisenberg.scientia.net> Subject: Re: XATTRs in NFS? From: Christoph Anton Mitterer To: linux-nfs@vger.kernel.org Date: Thu, 24 Oct 2013 19:22:30 +0200 In-Reply-To: <625CAA34-BD6C-4283-86D0-3F8B460D54D0@netapp.com> References: <1382560643.6924.12.camel@heisenberg.scientia.net> <1382624000.6907.8.camel@heisenberg.scientia.net> <1382630468.6907.58.camel@heisenberg.scientia.net> <625CAA34-BD6C-4283-86D0-3F8B460D54D0@netapp.com> Content-Type: multipart/signed; micalg="sha-512"; protocol="application/x-pkcs7-signature"; boundary="=-6zAfwdlFvg+HxhCq5CqA" Mime-Version: 1.0 Sender: linux-nfs-owner@vger.kernel.org List-ID: --=-6zAfwdlFvg+HxhCq5CqA Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, 2013-10-24 at 16:30 +0000, Myklebust, Trond wrote: > Those programs need to recompute the checksum data anyway in order to > verify and/or update it. Checksums that are computed by some third > party application have exactly zero value for integrity checking. No that's exactly the point,... the applications should _NOT_ set those checksums, especially not automagically (since then you'd never notice when just some application is buggy or writes/modifies when you don't expect it to do so). The idea is that there is on application (in my case it's just a script), which sets the integrity data and verifies it. This works very well for e.g. large data archives, where you most of the time (but not always) only read files, write new files or move around existing ones - but only rarely modify existing file's contents. I do this already like that on local filesystems, which works very nicely with XATTRs... but now I want to move this on a central data cluster (where clients connect to via NFS)... and here the problems start... when I add new data to the archive (from the clients) I cannot have XATTRs attached, nor can I verify them form the clients. Cheers, Chris. --=-6zAfwdlFvg+HxhCq5CqA Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Disposition: attachment; filename="smime.p7s" Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgMFADCABgkqhkiG9w0BBwEAAKCCEP4w ggV1MIIDXaADAgECAgMBAYIwDQYJKoZIhvcNAQEFBQAwVDEUMBIGA1UEChMLQ0FjZXJ0IEluYy4x HjAcBgNVBAsTFWh0dHA6Ly93d3cuQ0FjZXJ0Lm9yZzEcMBoGA1UEAxMTQ0FjZXJ0IENsYXNzIDMg Um9vdDAeFw0xMjA3MjMxNDU2NDVaFw0xNDA3MjMxNDU2NDVaMHwxITAfBgNVBAMTGENocmlzdG9w aCBBbnRvbiBNaXR0ZXJlcjEkMCIGCSqGSIb3DQEJARYVY2FsZXN0eW9Ac2NpZW50aWEubmV0MTEw LwYJKoZIhvcNAQkBFiJtYWlsQGNocmlzdG9waC5hbnRvbi5taXR0ZXJlci5uYW1lMIIBIjANBgkq hkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqv+F91K5vyBwiGFMqj6wTehWdqZnfFeXqT8g5b3qrXWL ywSzcoD9xtyoRqAgOCX+PSmBpm6pPhe31VnBtc3HcBMe4rSico9/Z2H9h1l6IMVEnyhabWzoKbE3 BFrsYJGthJCbhK072G8AhCk+5p+L+knLhQXN0Ph7MJbdY26o3M4vjsXFNbJL8T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