Re: [OpenAFS] Feature request, sort of

2007-07-20 Thread Kim Kimball
Steve Simmons wrote: On Jul 19, 2007, at 7:10 PM, Kim Kimball wrote: Why not restore the volume (restores to RW), replicate it (same server and partition) and then remove the RW? Mount the resulting readonly explicitly -- i.e. be sure to include the .readonly suffix in the fs mkm Works

Re: [OpenAFS] Feature request, sort of

2007-07-20 Thread Kim Kimball
Oh, I see, you're doing "vos exa foo" and not "vos exa foo.readonly" and getting the message "Dump only information ... blah" Missed the earlier part of the discussion -- why is this an issue? Kim Steve Simmons wrote: On Jul 19, 2007, at 7:10 PM, Kim Kimball wrote: Why not restore the volu

Re: [OpenAFS] Feature request, sort of

2007-07-20 Thread Steve Simmons
On Jul 19, 2007, at 7:10 PM, Kim Kimball wrote: Why not restore the volume (restores to RW), replicate it (same server and partition) and then remove the RW? Mount the resulting readonly explicitly -- i.e. be sure to include the .readonly suffix in the fs mkm Works for me. Works perfec

Re: [OpenAFS] Feature request, sort of

2007-07-19 Thread Kim Kimball
Why not restore the volume (restores to RW), replicate it (same server and partition) and then remove the RW? Mount the resulting readonly explicitly -- i.e. be sure to include the .readonly suffix in the fs mkm Works for me. Kim Steve Simmons wrote: On Jul 18, 2007, at 10:27 AM, Carsten

Re: [OpenAFS] Feature request, sort of

2007-07-18 Thread Steve Simmons
On Jul 18, 2007, at 11:16 AM, Jeffrey Altman wrote: Except that the new volume should be "special" in that no changes are permitted. In other words, the "wida" permissions are neutered on this volume. Since the new volume type doesn't exist, modifying the ACLs is something that has the s

Re: [OpenAFS] Feature request, sort of

2007-07-18 Thread Steve Simmons
On Jul 18, 2007, at 10:27 AM, Carsten Schulz-Key wrote: The RW and RO volumes share the same inodes (for the data part) as long as they're on the same partition and the RW volume has not been altered since releasing the volume. The space needed for the second volume header should be negleg

Re: [OpenAFS] Feature request, sort of

2007-07-18 Thread Jeffrey Altman
Harald Barth wrote: >> Steve's request >> is for a mechanism of restoring a volume that the user can read but >> which the user can't alter. This is an ACL issue. Perhaps the solution >> is to not make the user the owner and take away all "write, insert, and >> admin" privileges on the volumes di

Re: [OpenAFS] Feature request, sort of

2007-07-18 Thread Harald Barth
> Steve's request > is for a mechanism of restoring a volume that the user can read but > which the user can't alter. This is an ACL issue. Perhaps the solution > is to not make the user the owner and take away all "write, insert, and > admin" privileges on the volumes directories. I don't want

Re: [OpenAFS] Feature request, sort of

2007-07-18 Thread Jeffrey Altman
Carsten Schulz-Key wrote: > Steve Simmons wrote: >>> How about restoring the volume without the '-readonly' flag and >>> adding a >>> replica on the same partition, followed by a >>> 'fs mkm RESTORE.070702 user.elevina.070702.readonly' ? >> That'd work, but it sucks up twice as much disk space,

Re: [OpenAFS] Feature request, sort of

2007-07-18 Thread Carsten Schulz-Key
Steve Simmons wrote: >> How about restoring the volume without the '-readonly' flag and >> adding a >> replica on the same partition, followed by a >> 'fs mkm RESTORE.070702 user.elevina.070702.readonly' ? > > That'd work, but it sucks up twice as much disk space, The RW and RO volumes share th

Re: [OpenAFS] Feature request, sort of

2007-07-18 Thread Steve Simmons
On Jul 18, 2007, at 7:13 AM, Carsten Schulz-Key wrote: Steve Simmons wrote: This works quite well for our purpose, but if you do a 'vos examine user.name.YYMMDD' you get --- Volume user.elevina.070702 does not exist in VLDB How about restoring the volume without the '-readonly' flag and

Re: [OpenAFS] Feature request, sort of

2007-07-18 Thread Carsten Schulz-Key
Steve Simmons wrote: >This works quite well for our purpose, but if you do a 'vos examine >user.name.YYMMDD' you get > >--- >Volume user.elevina.070702 does not exist in VLDB How about restoring the volume without the '-readonly' flag and adding a replica on the same partition, followed by

[OpenAFS] Feature request, sort of

2007-07-17 Thread Steve Simmons
This actually works, but results in whiny messages from AFS when you do vos examines. After some thought, I think the right direction is to have a different 'type' of read-only volume. The problem - users writing into restored volumes. The solution - make restore volumes read-only. The meth