[OpenAFS-win32-devel] Re: OpenAFS-1.3.66 freelance access toRW path

Douglas E. Engert deengert@anl.gov
Tue, 27 Jul 2004 16:39:20 -0500


Are you sure you are using freelance, and not a real root.cell volume?
everything you show below look like a real root.cell volume.  
What does the registry have for freelance?

Jeffrey Altman wrote:
> 
> Douglas E. Engert wrote:
> 
> >The point is the freelance does not work as expected to get at the RW path
> >in a cell. If I did not use freelance, but relied on connectivity to the home cell,
> >access /afs/.anl.gov/ would have worked.
> >
> >
> Only because you created a readwrite mount point in the root.afs volume
> pointing to the root.cell volume
> in the anl.gov cell.

 I was just looking a the Transarc 3.2 AFS manuals, and that is one of the 
first things they had you do was to create the rw path to the cell. So it is
traditional that a reference to a .cell get you to the rw path.  

> 
> >Our users will be surprised if they use freelance the way it is.
> >I would suggest that adding a DriveLetter with the cell starting with a "." would
> >add the  .<cell>%<cell>:root.cell to the fake root.cell in the registry.
> >
> >
> I will see what I can do but ...

Thanks, it looks like when the entry in a fake root.cell is added, if the
cell starts with a . add the .<cell>%<cell>:root.cell  i.e. use % and drop the .
 

> 
> >The other suggestions below don't appear to work either.
> >
> >
> They absolutely do work as I have used them today to create mount points.

It created it on my system too, but Windows explorer showed no files, and 
right clicking on the entry did not show the AFS as one of the options.
So it is there but not in afs. I contend that the entry added to the 
freelance fake root.cell is not correct, as it says the cell is ".cell"


   

> 
> [C:\4\4NT]dir /a:h \\afs\all
> 
>  Directory of  \\afs\all\*
> 
>  7/09/2001  14:24         <DIR>    .andrew.cmu.edu
>  7/09/2001  14:24         <DIR>    .athena.mit.edu
>  7/09/2001  14:24         <DIR>    .dementia.org
>  7/09/2001  14:24         <DIR>    .raeburn.org
>  7/09/2001  14:24         <DIR>    .windows.secure-endpoints.com
>               0 bytes in 0 files and 5 dirs
> 1,099,511,626,752 bytes free
>

I tried the dir \\AFS\all\.dementia.org and the registry for frelance has
now has .dementia.org#.demintia.org

but:
 dir \\afs\all\.dementia.org\*
The system cannot find the file specified.

 
> [C:\4\4NT]fs mkmount \\afs\all\.anl.gov root.cell anl.gov
> 
> [C:\4\4NT]dir /a:h \\afs\all
> 
>  Directory of  \\afs\all\*
> 
>  7/09/2001  14:24         <DIR>    .andrew.cmu.edu
>  7/09/2001  14:24         <DIR>    .anl.gov
>  7/09/2001  14:24         <DIR>    .athena.mit.edu
>  7/09/2001  14:24         <DIR>    .dementia.org
>  7/09/2001  14:24         <DIR>    .raeburn.org
>  7/09/2001  14:24         <DIR>    .windows.secure-endpoints.com
>               0 bytes in 0 files and 6 dirs
> 1,099,511,626,752 bytes free
> 
> [C:\4\4NT]fs lsmount \\afs\all\.anl.gov
> '\\afs\all\.anl.gov' is a mount point for volume '#anl.gov:root.cell'
> 
> [C:\4\4NT]fs rmmount \\afs\all\.anl.gov
> 
> [C:\4\4NT]fs mkmount \\afs\all\.anl.gov root.cell anl.gov -rw
> 
> [C:\4\4NT]fs lsmount \\afs\all\.anl.gov
> '\\afs\all\.anl.gov' is a mount point for volume '%anl.gov:root.cell'

Yes this looks correct.  but that is not what I am seeing. Are you sure
you don't have a real root.cell?  What I am seeing is that the fake root.cell
can not be written to.


> 
> [C:\4\4NT]\\afs\.anl.gov\
> 
> [\\afs\.anl.gov]dir
> 
>  Directory of  \\afs\.anl.gov\*
> 
>  4/14/2004  17:21         <DIR>    .
>  4/14/2004  17:21         <DIR>    ..
>  2/15/1999  10:13         <DIR>    alpha_dux40
> 12/05/1995   8:49         <DIR>    alpha_osf32
>  4/16/1996  13:03         <DIR>    alpha_osf32c
>  9/23/1992  22:56         <DIR>    appl
>  9/01/1992  17:33         <DIR>    common
>  9/17/2003  15:56         <DIR>    common.backup
>  4/08/1997  11:07         <DIR>    DOCS
>  1/24/1996  11:26         <DIR>    hp800_ux10
>  9/01/1993   8:04         <DIR>    hp800_ux90
>  9/17/2003  12:28         <DIR>    hp_ux
>  2/06/2002  10:19         <DIR>    hp_ux11i
> 12/03/1996  14:54         <DIR>    hp_ux102
>  2/12/1999  14:14         <DIR>    hp_ux110
> 10/28/1999  15:35         <DIR>    i386_linux22
>  5/09/2001   9:27         <DIR>    i386_linux24
>  6/03/2003  17:31         <DIR>    ia64_hpux1122
> 12/02/2003  15:03         <DIR>    ia64_hpux1123
>  7/14/1999  12:56         <DIR>    linux-2.2.old
> 12/04/1997  10:27         <DIR>    linux-2.032
>  2/25/1993  15:48         <DIR>    project
>  9/22/1992  17:39         <DIR>    rs_aix32
> 11/27/1995  12:32         <DIR>    rs_aix41
> 12/03/1996  14:56         <DIR>    rs_aix42
> 12/03/1996  14:56         <DIR>    rs_aix43
>  9/25/1992  15:16         <DIR>    services
>  8/02/1994  14:29         <DIR>    sgi_52
>  1/12/1995  14:08         <DIR>    sgi_53
> 12/03/1996  14:57         <DIR>    sgi_62
>  4/17/1997  15:20         <DIR>    sgi_63
>  1/06/1998  15:17         <DIR>    sgi_64
> 12/03/1998  18:24         <DIR>    sgi_65
>  6/04/1993  15:28         <DIR>    sgi_405
>  2/22/1994  17:37         <DIR>    sun4c_53
>  5/22/1995  11:22         <DIR>    sun4c_54
>  9/01/1992  18:01         <DIR>    sun4c_411
>  1/26/1994   9:52         <DIR>    sun4m_53
>  5/22/1995  11:21         <DIR>    sun4m_54
>  9/04/1992   9:07         <DIR>    sun4m_412
>  4/01/1996  15:52         <DIR>    sun4x_55
>  1/07/1998  10:45         <DIR>    sun4x_56
> 10/28/1999  15:12         <DIR>    sun4x_57
> 11/14/2000  11:39         <DIR>    sun4x_58
>  6/05/2002  16:05         <DIR>    sun4x_59
>  9/01/1992  17:44         <DIR>    sun4_411
>  9/01/1992  18:02         <DIR>    usr
> 10/06/1993   9:59         <DIR>    wsadmin
>  9/25/1992  14:58             669  README
>             669 bytes in 1 file and 48 dirs
> 1,099,511,626,752 bytes free
> 
> [\\afs\.anl.gov]

Yes that is our cell. 

-- 

 Douglas E. Engert  <DEEngert@anl.gov>
 Argonne National Laboratory
 9700 South Cass Avenue
 Argonne, Illinois  60439 
 (630) 252-5444