[OpenAFS] "Bug" in fs setquota

Hugh Caldwell hcaldwell@usgs.gov
Wed, 30 Oct 2013 18:08:57 -0400


--e89a8ff1c99e7affce04e9fc9473
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: quoted-printable

Hi,



When trying to increase the quota on a volume I accidentally entered a
negative value after the =96max flag. This ended up deleting all the conten=
ts
of the directory. I don=92t know if this is technically a bug but it=92s a
feature I could do without. :D



The command I ran was

Fs setquota =96p  \\afs\rest_of _path -max
-50000<file:///\\afs\rest_of%20_path%20-max%20-50000>



Thanks,



Hugh Caldwell
NetServices, LLC
EWeb Systems Administrator
United States Geological Survey
703-648-6812 (Office)
703-598-3472 (Cellular)
hcaldwell@usgs.gov
Room 2C123B

--e89a8ff1c99e7affce04e9fc9473
Content-Type: text/html; charset="windows-1252"
Content-Transfer-Encoding: quoted-printable

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset=
=3Dus-ascii"><meta name=3D"Generator" content=3D"Microsoft Word 14 (filtere=
d medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:Helv;
	panose-1:2 11 6 4 2 2 2 3 2 4;}
@font-face
	{font-family:Helv;
	panose-1:2 11 6 4 2 2 2 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style></head><body lang=3D"EN-US" link=3D"blue" vlink=3D"purple"><div =
class=3D"WordSection1"><p class=3D"MsoNormal">Hi,</p><p class=3D"MsoNormal"=
>=A0</p><p class=3D"MsoNormal">When trying to increase the quota on a volum=
e I accidentally entered a negative value after the =96max flag. This ended=
 up deleting all the contents of the directory. I don=92t know if this is t=
echnically a bug but it=92s a feature I could do without. :D</p>
<p class=3D"MsoNormal">=A0</p><p class=3D"MsoNormal">The command I ran was<=
/p><p class=3D"MsoNormal">Fs setquota =96p =A0<a href=3D"file:///\\afs\rest=
_of%20_path%20-max%20-50000">\\afs\rest_of _path -max -50000</a></p><p clas=
s=3D"MsoNormal">
=A0</p><p class=3D"MsoNormal">Thanks,</p><p class=3D"MsoNormal">=A0</p><p c=
lass=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Helv&q=
uot;,&quot;sans-serif&quot;;color:black">Hugh Caldwell<br>NetServices, LLC<=
br>EWeb Systems Administrator<br>
United States Geological Survey<br> 703-648-6812 (Office)<br> 703-598-3472 =
(Cellular)<br><a href=3D"mailto:hcaldwell@usgs.gov">hcaldwell@usgs.gov</a><=
br>Room 2C123B</span></p><p class=3D"MsoNormal">=A0</p></div></body></html>

--e89a8ff1c99e7affce04e9fc9473--