Return-Path: linux-nfs-owner@vger.kernel.org Received: from mailgw02.dd24.net ([193.46.215.43]:47531 "EHLO mailgw02.dd24.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754546Ab3J1BEm (ORCPT ); Sun, 27 Oct 2013 21:04:42 -0400 Message-ID: <1382922273.6932.50.camel@heisenberg.scientia.net> Subject: Re: XATTRs in NFS? From: Christoph Anton Mitterer To: "Myklebust, Trond" Cc: Mailing List Linux NFS , Dr Fields James Bruce Date: Mon, 28 Oct 2013 02:04:33 +0100 In-Reply-To: <2E672741-FE4F-4287-8D00-B7634A71709E@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> <1382635350.6907.83.camel@heisenberg.scientia.net> <20131025140846.GB20497@fieldses.org> <1382807547.29041.12.camel@heisenberg.scientia.net> <20131027191512.GA31322@fieldses.org> <1382911068.6932.20.camel@heisenberg.scientia.net> <8DB0D7A2-BA2A-4001-A01C-D498C777B243@netapp.com> <1382920068.6932.46.camel@heisenberg.scientia.net> <2E672741-FE4F-4287-8D00-B7634A71709E@netapp.com> Content-Type: multipart/signed; micalg="sha-512"; protocol="application/x-pkcs7-signature"; boundary="=-UddO6sdr72Z0+x8IUqnR" Mime-Version: 1.0 Sender: linux-nfs-owner@vger.kernel.org List-ID: --=-UddO6sdr72Z0+x8IUqnR Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 2013-10-28 at 00:44 +0000, Myklebust, Trond wrote: > If you have lots of small files, and you really do need to associate them= uniquely with the checksum, then try something like: >=20 > ln /path/to/database/. >=20 > Hard links and inode numbers are also generally invariant under 'mv'. Well that seems like a workaround, IMHO not like a real solution,... since when you remove the file will stay due to /path/to/database/. . Of course you can run regular scrubbing jobs, which remove and /path/to/database/. for which the link count is one. Anyway as said, IMHO it's a (nice) workaround which I haven't thought of, admittedly, but not a clean solution... and AFAICS it fixes only my personal use case. Cheers, Chris. --=-UddO6sdr72Z0+x8IUqnR 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+knLhQXN0Ph7MJbdY26o3M4vjsXFNbJL8TOYxo80cGD1LIh2 SUZFqaIG24TVmTW8F4jD5Z9/NEwJa8kQK+VBNHUntXYNah4Reh0jSsGnq9Pg3Hf4KC+F0IR8QgBm SnwitMFUX9UnhLEvRQxjDI1tm+h6RxfjlV7moI68Ulh7bcdPhM/z2Q16XmaY12rc85pSRQIDAQAB o4IBJjCCASIwDAYDVR0TAQH/BAIwADBWBglghkgBhvhCAQ0ESRZHVG8gZ2V0IHlvdXIgb3duIGN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