[OpenAFS] uss delete error

Lewis, Dave LEWIS@NKI.RFMH.ORG
Tue, 7 Oct 2003 11:44:40 -0400


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C38CE9.EB7C5B10
Content-Type: text/plain;
	charset="iso-8859-1"

Hi,

On OpenAFS 1.2.10, SuSE 8.2:

'uss delete' aborts with an error message when you specify the mount point
for 
the user's home directory:

$ uss delete smith /afs/.cabi.rfmh.org/usr/smith -admin admin -verbose
No cell specified; assuming 'cabi.rfmh.org'.
Password for 'admin': 
Translating user 'smith' via the Protection DB
s: Volume 'uss' (ID 135067552) exists on multiple servers!!

- 'uss bulk' delete gives the same error
- ID 135067552 is reported no matter which user I try to delete
- this error was previously reported in March, but I didn't see any replies
	- that was for OpenAFS 1.2.8 on RH 7.3/8.0


But it works on Transarc AFS 3.6, AIX 4.3.3:

$ uss delete smith /afs/.cabi.rfmh.org/usr/smith -admin admin -verbose

No cell specified; assuming 'cabi.rfmh.org'.
Password for 'admin': 
Translating user 'smith' via the Protection DB
Unmounting volume 'user.smith' (ID 536871340) mounted at
'/afs/.cabi.rfmh.org/usr/smith'
Deleting volume 'user.smith' (ID 536871340)
Deleting user 'smith' from Authentication DB
Deleting user 'smith' from the Protection DB

$ vos release user


On OpenAFS, if you don't specify the mount point it works:

$ uss delete jones -admin admin -verbose
No cell specified; assuming 'cabi.rfmh.org'.
Password for 'admin': 
Translating user 'jones' via the Protection DB
uss: Warning: Mountpoint pathname '': Not found
Deleting user 'jones' from Authentication DB
Deleting user 'jones' from the Protection DB

- then 'fs rmmount' to remove the mountpoint, 'vos remove' to remove the
volume, 
  then 'vos release user'


Dave

==============================================================
David P. Lewis
Center for Advanced Brain Imaging, Division of Medical Physics
The Nathan S. Kline Institute for Psychiatric Research
140 Old Orangeburg Road, Orangeburg, NY 10962


------_=_NextPart_001_01C38CE9.EB7C5B10
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>uss delete error</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>Hi,</FONT>
</P>

<P><FONT SIZE=2>On OpenAFS 1.2.10, SuSE 8.2:</FONT>
</P>

<P><FONT SIZE=2>'uss delete' aborts with an error message when you specify the mount point for </FONT>
<BR><FONT SIZE=2>the user's home directory:</FONT>
</P>

<P><FONT SIZE=2>$ uss delete smith /afs/.cabi.rfmh.org/usr/smith -admin admin -verbose</FONT>
<BR><FONT SIZE=2>No cell specified; assuming 'cabi.rfmh.org'.</FONT>
<BR><FONT SIZE=2>Password for 'admin': </FONT>
<BR><FONT SIZE=2>Translating user 'smith' via the Protection DB</FONT>
<BR><FONT SIZE=2>s: Volume 'uss' (ID 135067552) exists on multiple servers!!</FONT>
</P>

<P><FONT SIZE=2>- 'uss bulk' delete gives the same error</FONT>
<BR><FONT SIZE=2>- ID 135067552 is reported no matter which user I try to delete</FONT>
<BR><FONT SIZE=2>- this error was previously reported in March, but I didn't see any replies</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>- that was for OpenAFS 1.2.8 on RH 7.3/8.0</FONT>
</P>
<BR>

<P><FONT SIZE=2>But it works on Transarc AFS 3.6, AIX 4.3.3:</FONT>
</P>

<P><FONT SIZE=2>$ uss delete smith /afs/.cabi.rfmh.org/usr/smith -admin admin -verbose&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT>
<BR><FONT SIZE=2>No cell specified; assuming 'cabi.rfmh.org'.</FONT>
<BR><FONT SIZE=2>Password for 'admin': </FONT>
<BR><FONT SIZE=2>Translating user 'smith' via the Protection DB</FONT>
<BR><FONT SIZE=2>Unmounting volume 'user.smith' (ID 536871340) mounted at '/afs/.cabi.rfmh.org/usr/smith'</FONT>
<BR><FONT SIZE=2>Deleting volume 'user.smith' (ID 536871340)</FONT>
<BR><FONT SIZE=2>Deleting user 'smith' from Authentication DB</FONT>
<BR><FONT SIZE=2>Deleting user 'smith' from the Protection DB</FONT>
</P>

<P><FONT SIZE=2>$ vos release user</FONT>
</P>
<BR>

<P><FONT SIZE=2>On OpenAFS, if you don't specify the mount point it works:</FONT>
</P>

<P><FONT SIZE=2>$ uss delete jones -admin admin -verbose</FONT>
<BR><FONT SIZE=2>No cell specified; assuming 'cabi.rfmh.org'.</FONT>
<BR><FONT SIZE=2>Password for 'admin': </FONT>
<BR><FONT SIZE=2>Translating user 'jones' via the Protection DB</FONT>
<BR><FONT SIZE=2>uss: Warning: Mountpoint pathname '': Not found</FONT>
<BR><FONT SIZE=2>Deleting user 'jones' from Authentication DB</FONT>
<BR><FONT SIZE=2>Deleting user 'jones' from the Protection DB</FONT>
</P>

<P><FONT SIZE=2>- then 'fs rmmount' to remove the mountpoint, 'vos remove' to remove the volume, </FONT>
<BR><FONT SIZE=2>&nbsp; then 'vos release user'</FONT>
</P>
<BR>

<P><FONT SIZE=2>Dave</FONT>
</P>

<P><FONT SIZE=2>==============================================================</FONT>
<BR><FONT SIZE=2>David P. Lewis</FONT>
<BR><FONT SIZE=2>Center for Advanced Brain Imaging, Division of Medical Physics</FONT>
<BR><FONT SIZE=2>The Nathan S. Kline Institute for Psychiatric Research</FONT>
<BR><FONT SIZE=2>140 Old Orangeburg Road, Orangeburg, NY 10962</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C38CE9.EB7C5B10--