[OpenAFS] How to stop the access to an AFS volume ?

Jeffrey Hutzelman jhutz@cmu.edu
Tue, 02 Nov 2004 20:14:39 -0500


On Thursday, October 28, 2004 08:54:51 +0200 giovanni bracco 
<bracco@frascati.enea.it> wrote:

> On Wednesday 27 October 2004 19:57, Jeffrey Hutzelman wrote:

>> (2) Build the vol-bless and vol-unbless utilities, which allow you to
>> manipulate the persistent "Blessed" bit on a volume.  Unblessing a volume
>> will take it out of service indefinitely.  You should still be able to
>> dump and restore the volume without problems.  The state of the
>> "blessed" bit is recorded in the volume dump, so the newly-restored
>> volume may have to be manually blessed before it will be available.
>>
>> The downside here is that vol-bless/vol-unbless must be run on the
>> fileserver containing the volume whose blessed bit you want to
>> manipulate. Also, while these utilities are fairly simple, the code is
>> somewhat old and may not build cleanly.  If you want copies of these
>> tools, let me know and I'll try to produce a version I can distribute
>> (really, I should submit patches, but there are only so many hours in
>> the day...).
>>
>
> The option (2) seems more attractive to me and I think it can be a very
> usefull utility - it is exactely what I was looking for - so if you can
> find  some time I am very interested in having that!

I have just submitted ticket #15928, which contains a patch that adds the 
vol-bless program.