Re: [OpenAFS] inode to namei process

2008-07-01 Thread Christopher D. Clausen
anne salemme <[EMAIL PROTECTED]> wrote:
> if the goal is to make a copy of a quiescent RW volume, you could do a
> 'vos dump' of the .backup volume, piped to a 'vos restore'.
>
> as in 'vos dump volume.whatever.backup'  |  'vos restore
> volume.newname'
> using appropriate arguments.
>
> if the goal is to make a volume unavailable for a short time, you
> would need to do something else.

How is that different from vos copy ?



Re: [OpenAFS] inode to namei process

2008-07-01 Thread Derrick Brashear
On Tue, Jul 1, 2008 at 1:28 PM, Jeff Blaine <[EMAIL PROTECTED]> wrote:

> Simon Wilkinson wrote:
>
>>
>> On 1 Jul 2008, at 18:20, Jeff Blaine wrote:
>>
>>  Is there a good way to dump and restore active RW volumes?
>>> We'd like to make each RW volume briefly unavailable during
>>> the process: block, dump, restore, unblock
>>>
>>
>> Assuming from your subject that you're trying to migrate from a inode
>> fileserver to a namei one, can you not use vos move?
>>
>
> I don't know, can I? :)  Sounds good to me!  This was a feeler
> to make sure there's nothing more involved required.  If
> that will work for the conversion requirements, we're all for it.
>

as long as you're not trying to do it "in-place" vos move works fine.
if you're trying to do it in-place, obviously your binary will support
either-or... and so it won't work at all.


Re: [OpenAFS] inode to namei process

2008-07-01 Thread anne salemme
if the goal is to make a copy of a quiescent RW volume, you could do a 
'vos dump' of the .backup volume, piped to a 'vos restore'.


as in 'vos dump volume.whatever.backup'  |  'vos restore volume.newname'

using appropriate arguments.

if the goal is to make a volume unavailable for a short time, you would 
need to do something else.


anne

Jeff Blaine wrote:

Is there a good way to dump and restore active RW volumes?
We'd like to make each RW volume briefly unavailable during
the process: block, dump, restore, unblock
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] inode to namei process

2008-07-01 Thread Jeff Blaine

Simon Wilkinson wrote:


On 1 Jul 2008, at 18:20, Jeff Blaine wrote:


Is there a good way to dump and restore active RW volumes?
We'd like to make each RW volume briefly unavailable during
the process: block, dump, restore, unblock


Assuming from your subject that you're trying to migrate from a inode 
fileserver to a namei one, can you not use vos move?


I don't know, can I? :)  Sounds good to me!  This was a feeler
to make sure there's nothing more involved required.  If
that will work for the conversion requirements, we're all for it.
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] inode to namei process

2008-07-01 Thread Esther Filderman
On Tue, Jul 1, 2008 at 1:20 PM, Jeff Blaine <[EMAIL PROTECTED]> wrote:
> Is there a good way to dump and restore active RW volumes?
> We'd like to make each RW volume briefly unavailable during
> the process: block, dump, restore, unblock

If you're moving from an inode-based server to a name-i based server,
simple "vos move" should do the right thing for you.  It's already
doing the lock, dump, restore, unlock dance.
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] inode to namei process

2008-07-01 Thread Simon Wilkinson


On 1 Jul 2008, at 18:20, Jeff Blaine wrote:


Is there a good way to dump and restore active RW volumes?
We'd like to make each RW volume briefly unavailable during
the process: block, dump, restore, unblock


Assuming from your subject that you're trying to migrate from a inode  
fileserver to a namei one, can you not use vos move?


S.

___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


[OpenAFS] inode to namei process

2008-07-01 Thread Jeff Blaine

Is there a good way to dump and restore active RW volumes?
We'd like to make each RW volume briefly unavailable during
the process: block, dump, restore, unblock
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info