[OpenAFS] Re: recover data from corrupted volume

Dimitris Z dimitrisz@gmail.com
Sat, 19 Jan 2013 15:55:10 +0000


Hi,

So far I have been able to just voldump and restorevol most of the
data successfully. I have not tried vos restore yet but I will. I
think my biggest problem now is reconstructing the permissions. Any
suggestions?

TIA,

On Sat, Jan 19, 2013 at 1:56 AM, Brandon Allbery
<ballbery@sinenomine.net> wrote:
> On 1/18/13 20:22, "Dimitris Z" <dimitrisz@gmail.com> wrote:
>>It looks like the rsync I did did not preserve ownership information.
>>This may explain why the salvager cannot do a proper restoration of
>>the volumes or why the volumes are not working. Is there a way to get
>>around this? It does not really matter if they are salvaged with the
>>correct owner, as long as they can be salvaged.
>
> You assume that the information stored in what Unix filesystems call an
> owner field is necessarily related to the ownership of an AFS file.  AFS
> permissions work sufficiently differently from Unix permissions that I
> would not want to make that assumption; it could well be used for some
> *other* notion of owner, such as containing directory (since AFS
> directories also are not quite like Unix directories), or even for
> something else important enough to warrant storing in the inode but
> unrelated to concepts of ownership.
>
> --
> brandon s allbery kf8nh                               sine nomine
> associates
> allbery.b@gmail.com
> ballbery@sinenomine.net
> unix, openafs, kerberos, infrastructure, xmonad
> http://sinenomine.net
>